Create a policy to register IP addresses for AWS and Azure virtual machines in Infoblox, once these virtual machines are provisioned.
Before you begin
Role required: sn_cmp.cloud_admin.
About this task
When AWS and Azure virtual machines are provisioned, IP addresses are automatically allocated to them. You can create a policy and the policy is invoked, once these virtual machines are provisioned, to get
their IP addresses and register these IP addresses in Infoblox.
Procedure
-
In the Cloud Admin Portal, navigate to .
-
Click New and then fill in the form.
| Field |
Description |
| Policy Name |
Enter a descriptive name. |
| Policy Trigger |
Select on Resource operation. |
| Resource Block |
Select ResourceBlock Virtual Server. |
| Operation |
Select Virtual Server interface provision. |
| Moment |
Select Pre Operation. |
-
Click Submit to publish the policy.
-
Create a policy rule for the policy.
Specify two conditions in the condition builder for locating the AWS and the Azure virtual machines. Select and enter AWS. Specify another condition for Azure.
-
Click Update.
-
In the Policy Rules Action related list, click New to create a policy action.
-
Select IP Address Management in the Create Policy Rule Action dialog box.
Enter a name in the Action Name field, select Infoblox in the Provider Type list, and select Register IP address in the
IPAM Method Name list.
-
Click Submit.
-
In the Policy Rule Action Attributes section, enter the domain name of your company's network in the DNSSuffix field.
As an example, corp.servicenow.com. Values for all the other properties are already populated.
-
Click Update and republish the policy.