Constellix offers API integration with major providers such as Google DNS, AWS, and Azure. In this tutorial, we will walk you through the process of importing a domain from Google DNS into Constellix’s Traffic Management system.
Importing a domain using API credentials allows you to transfer your domain information quickly and efficiently. This is useful when you are switching providers or want to set up a secondary DNS configuration with Constellix.
1. Log in to your Google Cloud account.
To begin, log in to your Google Cloud account and navigate to the IAM Permissions page. This will allow you to create roles and permissions.
Select the IAM Permissions option from the left-hand menu under “all products” from the main Google dashboard.
2. Add member
To add a member, click on the ADD person button from the IAM & Admin menu at the top of the screen.
3. Assign Member/Role to Your Google Project
Before importing your domain into Constellix, you will need to add a member/role to your Google Project. To do so, click on Manage Resources near the bottom of the left-hand menu of the IAM & Admin area.
4. Select Project
Check the box next to the appropriate project name and then click the white Add Member button on the far right of the screen.
5. Assign role and Permissions
In the Edit permissions window, click on the Role dropdown option to expand choices and choose the appropriate role for the member. You can type the role in the Filter bar to narrow down options, select from the Quick Access options, or scroll through all roles. For example purposes, we selected the Editor role.
To save your new member and role, click the blue Save button on the left side of the Add Members window.
6. Add Conditions (optional)
After choosing your role, you can add a Condition. Click Add condition to see available options. Please see Google Cloud’s documentation if you need help with creating conditions.
Once added, you will see the members and their roles listed when managing your resources for a project.
7. APIs Overview in Google
From the main Google dashboard, click on Go to APIs overview to access the API page (the API page can also be accessed from the menu on the left).
8. Navigate to the Credentials Dashboard in Google
From the API page, select the option for Credentials in the left-hand menu.
9. Create Credentials
Once in the Credentials area, select + Create Credentials in the top menu.
10. Create a Service account
From the dropdown menu, select the option for a Service account.
Once you have created a Service account in Google, check the box next to the account name and choose Manage Keys under the menu in the Action column.
11. Create Key
In the Key area, click on the white Add Key button and select Create New Key.
12. JSON Key
Make sure the option for JSON is selected, and then click Make Key. This will prompt you to save the JSON file on your computer. Choose where you want to save the file on your computer, then click SAVE.
You will see a message confirming that the file has been saved to your computer. Click Close to dismiss the message.
Your key should now be showing as Active under Status in the Key dashboard.
13. Copy JSON Value
Next, open the JSON file you saved to your computer with any text editor (notepad on PC or Text Editor on Mac, etc.) and copy the JSON value.
1. Log into Constellix DNS
2. Select 3rd Party Import
Once inside the Constellix DNS dashboard, click on Configuration in the left-hand menu and then choose 3rd Party Import.
3. 3rd Party Import in Constellix
Next, click on the gray + icon to expand Google DNS API options.
4. Enter Values into Constellix
Enter the Google project Id and the JSON values and then click the green Continue button.
5. Import Domain
You will now be taken to the Import Domain page in Constellix. You will see all domains available for importing, as well as a list of those that cannot be imported.
Once you have selected the domain you want to import into Constellix, click the green Continue button to complete the import.
Visit our website for more information on our services and features.