This is mostly meant to serve as troubleshooting notes to my future self.
This might happen if a previous deployment failed. Whenever
CodeDeploy tries to deploy your application, it creates a new
Auto-Scaling Group. It will then add the name of the new auto scaling group to the environment config of your deployment group. The new auto scaling group is used as your
BLUE group in future deployments.
But if the current deployment fails, the new auto scaling group might be discarded or be left empty. …
This tutorial will show you how to setup a static IP address (using a NAT (Network address translation) gateway on Amazon’s AWS) for 3rd-party services that require a white-listed source IP address.
What we want is to route all outgoing requests through a static IP address using our NAT gateway.
If you are new to AWS or DevOps in general, this might take some getting used to. …