Book Image

Learn Docker - Fundamentals of Docker 18.x

By : Dr. Gabriel N. Schenker
Book Image

Learn Docker - Fundamentals of Docker 18.x

By: Dr. Gabriel N. Schenker

Overview of this book

Docker containers have revolutionized the software supply chain in small and big enterprises. Never before has a new technology so rapidly penetrated the top 500 enterprises worldwide. Companies that embrace containers and containerize their traditional mission-critical applications have reported savings of at least 50% in total maintenance cost and a reduction of 90% (or more) of the time required to deploy new versions of those applications. Furthermore they are benefitting from increased security just by using containers as opposed to running applications outside containers. This book starts from scratch, introducing you to Docker fundamentals and setting up an environment to work with it. Then we delve into concepts such as Docker containers, Docker images, Docker Compose, and so on. We will also cover the concepts of deployment, orchestration, networking, and security. Furthermore, we explain Docker functionalities on public clouds such as AWS. By the end of this book, you will have hands-on experience working with Docker containers and orchestrators such as SwarmKit and Kubernetes.
Table of Contents (21 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

Deploying our application into AWS ECS


In this section, we are going to learn how to deploy our pets application to AWS Elastic Container Service (ECS). Next to Kubernetes and Docker Swarm, ECS is one of the most popular container platforms.

Note

We are assuming that you are somewhat familiar with AWS and its core concepts, such as security group (SG), virtual private cloud (VPC), and elastic compute cloud (EC2).

As a prerequisite, we need an account on AWS. If you do not yet have such an account then please create a free trial account here at https://aws.amazon.com/free. Log in to your account using the link at https://console.aws.amazon.com. Navigate to the ECS home page at https://console.aws.amazon.com/ecs/home.

Introduction to ECS

AWS ECS has a somewhat unique way of defining resources. From a high-level perspective, the resource types AWS use resemble a bit of a mixture of Docker Swarm and Kubernetes resources. At the center to everything is the ECS cluster. There are multiple ways of creating...