In the first part of the chapter, we used the Docker Hub public registry. AWS provides a similar service called ECR, which will let you keep your images in a private registry called a repository. ECR is fully compatible with the Docker CLI, but also integrates deeply with the rest of the ECS services. We are going to use it to store our helloworld images.
As mentioned, we will heavily rely on CloudFormation to make our changes. Unlike what we saw previously, because of its nature, the ECS infrastructure we are going to build needs to be very modular as, in practice, we will want to share some of those components with other services. Therefore, we will create a number of templates and link ...