Simple container that uses https://www.ipify.org/ and updates a DNS record in AWS Route53.
- Docker execution runtime
- AWS account
- Create user in AWS IAM
- Attach this minimal IAM policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Action": [
"route53:ChangeResourceRecordSets"
],
"Resource": [
"arn:aws:route53:::hostedzone/[YOUR_HOSTED_ZONE_ID]"
]
}
]
}
- Generate IAM credentials
- Copy
.env.sample
to.env
and update w/ actual values - Run
docker-compose up -d