Route53 Support

Ufo can create a “pretty” route53 record and set it’s value to the created ELB DNS name. This is done by configuring the .ufo/settings/cfn/default.yml file. Example:

dns:
  name: "{stack_name}.mydomain.com."
  hosted_zone_name: mydomain.com. # dont forget the trailing period

The {stack_name} variable gets substituted with the CloudFormation stack name launched by ufo. So for example:

ufo ship demo-web

Results in:

"{stack_name}.mydomain.com." => "development-demo-web.mydomain.com."

IMPORTANT: The route53 host zone must already exist. You can create route53 hosted zone with the cli like so:

aws route53 create-hosted-zone --name mydomain.com --caller-reference $(date +%s)
aws route53 list-hosted-zones

Pro tip: Use the <- and -> arrow keys to move back and forward.

Edit this page

See a typo or an error? You can improve this page. This website is available on GitHub and contributions are encouraged and welcomed. We love pull requests from you!