Deploying Docker containers
Now that we have learned how to deploy a runnable JAR to the Elastic Beanstalk service, let's also see a variation of the same where we will deploy a Docker container running the same application. The advantage offered by using a Docker container is that we can use languages and platforms not already supported by the AWS Elastic Beanstalk service and still deploy them in the cloud, reaping the benefits offered by the service.
For this deployment, we will be using the Docker registry available within the Elastic Container Service (ECS) offering to store the Docker container that we build from our application. We will cover how we can push our local Docker containers to the ECS repository, when we are deploying to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access