Know How Guide and Hands on Guide for AWS
Values for alias Route53 records
aws route53 change-resource-record-sets --hosted-zone-id Z2LUYG0HCUTETD --change-batch file://cn-cloudfront-alias.json --endpoint-url https://route53.amazonaws.com.cn --region cn-northwest-1 --profile cn-north-1
aws route53 list-resource-record-sets –hosted-zone-id Z0807456FWSN21W2TRAZ –endpoint-url https://route53.amazonaws.com.cn –region cn-northwest-1 –profile cn-north-1
- ALB
```bash
aws route53 change-resource-record-sets --hosted-zone-id Z0807456FWSN21W2TRAZ --change-batch file://alb-alias.json --endpoint-url https://route53.amazonaws.com.cn --region cn-northwest-1 --profile cn-north-1
aws route53 list-resource-record-sets --hosted-zone-id Z0807456FWSN21W2TRAZ --endpoint-url https://route53.amazonaws.com.cn --region cn-northwest-1 --profile cn-north-1
aws route53 change-resource-record-sets –hosted-zone-id Z0807456FWSN21W2TRAZ –change-batch file://apigw-privateapi-cname-bjs.json –endpoint-url https://route53.amazonaws.com.cn –region cn-northwest-1 –profile cn-north-1
aws route53 change-resource-record-sets –hosted-zone-id Z0807456FWSN21W2TRAZ –change-batch file://apigw-privateapi-vpce-alias-bjs.json –endpoint-url https://route53.amazonaws.com.cn –region cn-northwest-1 –profile cn-north-1
aws route53 change-resource-record-sets –hosted-zone-id Z0807456FWSN21W2TRAZ –change-batch file://apigw-regionalpi-cname-bjs.json –endpoint-url https://route53.amazonaws.com.cn –region cn-northwest-1 –profile cn-north-1
aws route53 change-resource-record-sets –hosted-zone-id Z08202231ZEUWA2PZ7ZBZ –change-batch file://apigw-alias-bjs.json –endpoint-url https://route53.amazonaws.com.cn –region cn-northwest-1 –profile cn-north-1
{ “ChangeInfo”: { “Id”: “/change/C02705502PO8W4CH3L7UG”, “Status”: “PENDING”, “SubmittedAt”: “2020-11-13T08:44:40.330Z”, “Comment”: “Creating Alias resource record sets in Route 53” } }
aws route53 list-resource-record-sets –hosted-zone-id Z08202231ZEUWA2PZ7ZBZ –region cn-northwest-1 –profile cn-north-1 { “Name”: “apigw-regional-alias.api.ray-alb-webapp.top.”, “Type”: “A”, “AliasTarget”: { “HostedZoneId”: “Z3N456W6CBMXJZ”, “DNSName”: “d-tsvr8qjugg.execute-api.cn-north-1.amazonaws.com.cn.”, “EvaluateTargetHealth”: false } }
aws route53 list-resource-record-sets –hosted-zone-id Z0807456FWSN21W2TRAZ –endpoint-url https://route53.amazonaws.com.cn –region cn-northwest-1 –profile cn-north-1 ```
Beijing:Z3N456W6CBMXJZ Ningxia:Z1HSIYANU8ZW46