Bootstrap IT Home | Bootstrap IT Blog

Intersted in a full-scale introduction to Amazon Web Services administration?
Check out my Manning book: Learn Amazon Web Services in a Month of Lunches.

Lab setup data from the Pluralsight course on

Using Docker on AWS

David Clinton

NOTE 1.0

It's good to bear in mind that things have changed a bit in ECS-land since I created this course. The underlying architecture and processes involved in launching Docker infrastructure still works the way it always did, but the look of the console interface has been updated.
More importantly, there's a whole new option for handling the underlying host instance where your containers will live. You can still launch your own EC2 instance based on the ECS-optimized AMI the way I do it in this course, but you no longer need to.
Instead, ECS now provides a managed compute option - inexplicably called Fargate - that requires no care and feeding. In fact, as long as you select Fargate in the setup, you don't even need to know it's there.
So at least until I update the course, everything you'll see is still correct. But you may consider investing less effort in those sequences in the "Amazon ECS: Building a Cluster Environment" module where I provision the EC2 instance.

Note 1.1

Although I often recommend running LXC containers as a fantastic virtual environment for experimenting, don't even think about it for Docker: since both technologies use abstractions of the host kernel, they'd be stepping all over each other's feet trying to get things done. Instead, unless you choose to follow along with the command line-based demos directly on an actual physical PC, I would recommend installing VirtualBox, downloading an Ubuntu 16.04 ISO file, and firing up as many VMs as you like. I included a video on working with VirtualBox in my Linux Server Virtualization course.

The fact is, however, that most of the action in this course will take place in the AWS browser console...which provides its own lab environment.

Contents:


Installing Docker on an EC2 Instance


Running Docker from the Command Line


Working with Dockerfiles


Pulling a Docker Hub Image


Importing SSL Certificates to Browsers

Environment:

Use this command to prepare the package for your client browser:

Working with ECS through the AWS CLI


Working with Docker Hub


Authenticate Docker Hub from ECS