Docker fundamentals

The best way to understand how Docker works is to compare how using Docker differs from what we've done so far:

The preceding diagram can be explained as follows:

  • The first stack on the left represents what we did so far. Using the EC2 service, we picked an AMI providing AWS Linux, and, with the help of the user data field, we installed Ansible to configure our system. When Ansible kicks in, it installs and configures the system, so that later, CodeDeploy can deploy and run our application.
  • The middle stack represents what it means to use Docker on top of EC2. The process starts the same way with an AMI running AWS Linux. ...

Get Effective DevOps with AWS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.