From the course: Docker on AWS
Unlock the full course today
Join today to access over 25,000 courses taught by industry experts.
Defining a shared volume: Fargate
From the course: Docker on AWS
Defining a shared volume: Fargate
- [Instructor] So in order to actually share resources within an ECS environment, we have to update our task definition to have multiple containers. This is in addition to having changed our underlying application to not overwrite a file but instead to pend to a file. As we did in the previous video. So in our task definition, so from clusters where we normally start, we're going to go to the task definitions page. We're going to go to the host name fargate task. Find the latest revision that you have. Most likely one on six. Cause I obviously had a couple of other revisions in the middle. And we're going to create a new revision. The first thing we're going to do is we're just going to add another container which is identical almost to our previous container. So we can scroll down here to the container definitions and we can pick the host name container. Just so I can easily grab the image path here. So we'll go…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.