Coolx World - Computer ???
Amazon Route53 Record Set 생성 API (Linux)
2016-10-26 17:46 - swindler
aws route53 change-resource-record-sets --hosted-zone-id 111111111 --change-batch file://rRecord.json

이런식으로 처리됨.
IAM에서 Route53 권한 필요할듯

{
"Comment": "optional comment about the changes in this change batch request",
"Changes": [
{
"Action": "CREATE",
"ResourceRecordSet": {
"Name": "s3.coolx.net",
"Type": "A",
"TTL": 300,
"ResourceRecords": [
{
"Value": "52.78.148.26"
}
]
}
}
]
}


참고URL
http://docs.aws.amazon.com/cli/latest/reference/route53/change-resource-record-sets.html
http://docs.aws.amazon.com/ko_kr/Route53/latest/APIReference/API_ChangeResourceRecordSets.html

Copyright © 1999-2020, swindler.

  2HLAB   2HLAB_Blog   RedToolBox   Omil   Omil_Blog