Category Archives: AWS

AWS Lambda function to set Route53 DNS entries for Autoscaling lifecycle events

Some of our ECS Cluster machines need to have both public and private DNS entries So rather than update Route53 manually (super annoying), we modified the Lambda function we found here: so that it works for both internal and external hosted zones. All you need to do to get this working is add an […]

AWS Cloudformation ECS Stack json config with Launch Config, Autoscaling Group and Load Balancer

A while back, at my company we switched to using Docker and ECS for our application. I wanted a structured way to generate AWS resources and I found that AWS Cloudformation is a great way to do this. It took a lot of trial and error to figure out everything, so I thought posting a […]