Book Image

Docker on Amazon Web Services

By : Justin Menga
Book Image

Docker on Amazon Web Services

By: Justin Menga

Overview of this book

Over the last few years, Docker has been the gold standard for building and distributing container applications. Amazon Web Services (AWS) is a leader in public cloud computing, and was the first to offer a managed container platform in the form of the Elastic Container Service (ECS). Docker on Amazon Web Services starts with the basics of containers, Docker, and AWS, before teaching you how to install Docker on your local machine and establish access to your AWS account. You'll then dig deeper into the ECS, a native container management platform provided by AWS that simplifies management and operation of your Docker clusters and applications for no additional cost. Once you have got to grips with the basics, you'll solve key operational challenges, including secrets management and auto-scaling your infrastructure and applications. You'll explore alternative strategies for deploying and running your Docker applications on AWS, including Fargate and ECS Service Discovery, Elastic Beanstalk, Docker Swarm and Elastic Kubernetes Service (EKS). In addition to this, there will be a strong focus on adopting an Infrastructure as Code (IaC) approach using AWS CloudFormation. By the end of this book, you'll not only understand how to run Docker on AWS, but also be able to build real-world, secure, and scalable container platforms in the cloud.
Table of Contents (26 chapters)
Title Page
Copyright and Credits
Dedication
Packt Upsell
Contributors
Preface
Index

Chapter 3. Getting Started with AWS

In the previous chapter, we discussed the various options you have for deploying your container applications to AWS, and it's now time to start implementing practical solutions using the Elastic Container Service (ECS), Fargate, Elastic Kubernetes Service (EKS), Elastic Beanstalk, and Docker Swarm. Before we can cover all of this exciting material, you need to establish an AWS account, understand how to set up access for your account, and ensure you have a solid grasp of the various tools we will use throughout this book to interact with AWS.

Getting started with AWS is very easy—AWS offers a free tier suite of services that enable you to test and try out a number of AWS services at no cost for 12 months, or, in some cases, indefinitely. Of course, there are limitations imposed that ensure you can't set up your own Bitcoin mining services for free, but for the most part, you can leverage these free tier services to test a wide number of scenarios, including...