Create long-lived reliable tasks using ECS services.
- [Instructor] So far in this course…we've only built fairly simple examples,…so I'd like to spice things up a little bit…and build a more interesting task.…Instead of just having a single container,…I'm going to split this task into two containers.…One's going to be a data source…that writes data into a shared volume…and the other's going to be a web server…that reads the data out of that shared volume…and serves it up to web browsers.…So we're going to have two containers,…one's going to be a web server…that reads out of a shared volume…and the one's just going to run a simple shell script…that every five seconds writes the current date…to a fixed location in that shared volume.…
The web server will listen on Port 80 internally,…which will be forwarded to whatever port…happens to be available on the host…at the time that I run this.…
Author
Released
8/9/2017- Adding Docker to EC2 instances
- Creating ECS instances and clusters
- Building tasks
- Creating tasks through the CLI
- Creating a service from a task
- Autoscaling services
- Deploying an ECS CloudFormation stack
Skill Level Intermediate
Duration
Views
Related Courses
-
Docker for Java Developers
with Arun Gupta4h 37m Advanced
-
Introduction
-
Welcome34s
-
-
1. Docker on EC2 Instances
-
What ECS does3m 38s
-
Getting started with ECS5m 15s
-
Instances and clusters2m 15s
-
Tasks and services2m 25s
-
Docker registries4m 30s
-
-
2. Just Enough AWS Primer
-
IAM, roles, and security3m 5s
-
3. Create Instances and Clusters
-
Create an ECS cluster5m 12s
-
Scaling an ECS cluster5m 20s
-
Explore the ECS cluster3m 18s
-
-
4. Define a Task
-
Lifecycle of an ECS task2m 41s
-
Build a task, part 23m 37s
-
Edit a task1m 45s
-
-
5. Create a Service from a Task
-
Create a service1m 36s
-
Application Load Balancers5m 52s
-
Manually scale services1m 57s
-
6. Autoscaling Services
-
Cluster autoscaling process1m 37s
-
-
7. Introduction to CloudFormation
-
Conclusion
-
Next steps1m 22s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Build a task, part 1