Summary
In this chapter, we managed to deploy our Compose application to an AWS environment. We created a container registry on AWS and pushed the Docker images to the registry. We then deployed our application to ECS and a new set of infrastructure was provisioned for our application. Then we created a private network and an ECS cluster. Our Compose application has the security benefits of a private network and our infrastructure is reusable for other Compose applications. This was achieved by adapting our Compose file and specifying the infrastructure to be used. We moved on to more advanced deployment concepts, such as autoscaling and storing secrets. By adapting the Compose application, we took advantage of ECS’ autoscaling capabilities and the rolling update functionality, and we shared our secrets among multiple applications.
In the next chapter, we shall deploy our Compose application to another popular cloud provider, Microsoft Azure.