Docker on AWS
1h 43mIntermediate2019-09-23
Authors

Robert Starmer
Cloud Advisor, Founder of Kumulus Technologies
Course details
Docker is the next step beyond virtualization. When deployed with Amazon Elastic Container Service (AWS ECS), you have a solid foundation for monitoring and managing Docker containers, including starting containers and scheduling tasks. This frees up developers to concentrate on your container-based applications—instead of your hosting platform. In this course, Robert Starmer demonstrates how to use Docker and the powerful features in AWS to build and manage container-based applications. Learn how to create containerized applications, set up AWS ECS, mange container scale and network models, troubleshoot issues, and more.
Learning objectives
Creating an Elastic Container Registry (ECR)
Automatically building new containers
Fargate vs. EC2 for containers
Configuring ECS for EC2 and Fargate
Deploying an app into ECS
Managing container scale
Adding an ECS service and task
Networking and storage
ECS metrics
Learning objectives
Creating an Elastic Container Registry (ECR)
Automatically building new containers
Fargate vs. EC2 for containers
Configuring ECS for EC2 and Fargate
Deploying an app into ECS
Managing container scale
Adding an ECS service and task
Networking and storage
ECS metrics
Skills covered
AWS CloudFormationDockerVirtualizationDevOps FoundationsAmazonDevOpsCloud ServicesCloud PlatformsEssential TrainingNetwork and System AdministrationCloud Computing
Concepts
0. Introduction
- 01 - From virtual machines to containers
- 02 - What you should know
1. Containerizing Applications
- 03 - From app to containerized app
- 04 - Create an ECR Registry
- 05 - Create a CodeCommit Git repository
- 06 - Push the container code to CodeCommit
- 07 - Build the container from CodeCommit
- 08 - Automate build on new commit
- 09 - Challenge - Update a container
- 10 - Solution - Commit a code change
2. Set Up Amazon Container Service
- 11 - Fargate or EC2 for containers
- 12 - Configure ECS for EC2
- 13 - Enable SSH to EC2 for ECS
- 14 - Configure ECS for Fargate
- 15 - Deploy an app into ECS
- 16 - Challenge - Scale the application
- 17 - Solution - Scale with Fargate
3. Managing Container Scale
- 18 - Create an Application Load Balancer
- 19 - Configure the default target route
- 20 - Add an ECS service and task
- 21 - Enable auto scale parameters
- 22 - Challenge - Adjust base capacity
- 23 - Solution - Define auto scale minimums
4. Networking
- 24 - Managing network models
- 25 - Modifying ECS EC2 security groups
- 26 - Connect to EC2 ECS resources
- 27 - Challenge - Access an EC2 container
- 28 - Solution - SSH and become root
5. Storage
- 29 - Container persistence models
- 30 - Container mods for shared storage
- 31 - Defining a shared volume - Fargate
6. Troubleshooting
- 32 - Discover container state
- 33 - Explore ECS metrics
- 34 - Determine SLB target state
- 35 - Reviewing task logs
- 36 - Challenge - Review an app log
- 37 - Solution - Use the console to get logs
Conclusion
- 38 - Next steps