How to deploy to AWS ECS
We will deploy the same code to AWS – but this time, we will do so from a Docker container to ECS. ECS is a highly scalable container management service that allows you to run, stop, and manage containers on a cluster. You can find the step-by-step guide at https://github.com/wulfland/AccelerateDevOps/blob/main/ch9_release/Deploy_to_AWS_ECS.md.
Here are some additional notes and background information.
Deployment of AWS resources
I could not find an easy script in which I could deploy everything to AWS that did not also include some complex JSON. That's why I'm using the manual steps in the hands-on lab. First, you create an Elastic Container Registry (ECR) repository to which you can deploy the container. The secrets we use to deploy are called Access keys, and they consist of two values: Access Key ID
and Secret Access Key
.
After the first deployment, the container is in the registry, and you can use it together with the wizard...