Learn how to use Docker with key AWS services to deploy and manage container-based applications.
Overview
Syllabus
Introduction
- From virtual machines to containers
- What you should know
- From app to containerized app
- Create an ECR Registry
- Create a CodeCommit Git repository
- Push the container code to CodeCommit
- Build the container from CodeCommit
- Automate build on new commit
- Challenge: Update a container
- Solution: Commit a code change
- Fargate or EC2 for containers
- Configure ECS for EC2
- Enable SSH to EC2 for ECS
- Configure ECS for Fargate
- Deploy an app into ECS
- Challenge: Scale the application
- Solution: Scale with Fargate
- Create an Application Load Balancer
- Configure the default target route
- Add an ECS service and task
- Enable auto scale parameters
- Challenge: Adjust base capacity
- Solution: Define auto scale minimums
- Managing network models
- Modifying ECS EC2 security groups
- Connect to EC2 ECS resources
- Challenge: Access an EC2 container
- Solution: SSH and become root
- Container persistence models
- Container mods for shared storage
- Defining a shared volume: Fargate
- Discover container state
- Explore ECS metrics
- Determine SLB target state
- Reviewing task logs
- Challenge: Review an app log
- Solution: Use the console to get logs
- Next steps
Taught by
Robert Starmer