If you host apps on AWS there are managed services helping you release changes gradually avoiding risky “big bang” deployments. For server-less applications you can use lambda version aliases, for ECS/EC2/Beanstalk there is blue-green deployment with CodeDeploy.
But those tools address back-end deployments only.
What if you wanted to apply same pattern to release static front-end hosted on S3? Below is a recipe to achieve just that!
The end result will look delicious:
It may look complex at first but it’s just a few resources created with Cloudformation. In fact, you can set this infra up in your AWS account by just clicking the button below:
The CF template has 2 parameters:
#lambda #cloud-computing #devops #aws #web apps