Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Associate a Route 53 Profile to VPCs
To associate a Route 53 Profile to a VPC, follow the guidance in this topic.
Choose a tab to associate a Route 53 Profile to a VPC by using the Route 53 console, or Amazon CLI.
- Console
-
To associate VPCs
Sign in to the Amazon Web Services Management Console and open the Route 53 console at
https://console.amazonaws.cn/route53/.
On the navigation bar, choose the Region where you created the Profile.
-
On the <Profile name> page, choose the VPCs
tab, and then Associate.
On the Associate VPCs page you can select up to 10 VPCs you have previously created. If you want to associate more than
10 VPCs, use the APIs. For more information, see
AssociateProfile.
-
Choose Associate
-
The association progress is displayed in the Status
column on the VPCs page.
- CLI
-
You can list the Profiles by running a Amazon CLI command like the following and using your own values for name
,
profile-id
, and resource-id
:
aws route53profiles associate-profile --name test-association
--profile-id rp-4987774726example
--resource-id vpc-0af3b96b3example
The following is an example output after you run the command:
{
"ProfileResourceAssociation": {
"CreationTime": 1710851216.613,
"Id": "rpr-001913120a7example",
"ModificationTime": 1710851216.613,
"Name": "test-resource-association",
"OwnerId": "123456789012",
"ProfileId": "rp-4987774726example",
"ResourceArn": "arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example",
"ResourceProperties": "{\"priority\":102}",
"ResourceType": "FIREWALL_RULE_GROUP",
"Status": "UPDATING",
"StatusMessage": "Updating the Profile to DNS Firewall rule group association"
}
}