From the course: Docker on AWS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Defining a shared volume: Fargate

Defining a shared volume: Fargate

From the course: Docker on AWS

Start my 1-month free trial

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…

Contents