Skip to content

Kocoji/dynaR53

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

Because Route53 does not support dynamic updates of the Public IP from a single EC2 instance, this script retrieves the EC2’s public IP and updates the A record to the hosted zone on Route53.

Requirement

These environment variables is required for this script work:

  • INSTANCE_ID: Instance ID
  • HOSTEDZONE_ID: HostedZone ID
  • SUBDOMAINS: the list of subdomain you want to update, split by commas , .e.g: "abc,def,gxh"
  • REGION_ID: the region where your EC2 instance is running.

About

Dynamic update EC2 public IP to Route53

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages