From the course: Getting Started with ECS
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Set up ECR and use container images on ECS
From the course: Getting Started with ECS
Set up ECR and use container images on ECS
- [Phillip] Okay, let's go ahead and create a container registry using ECR. So to get there, open up the AWS console and navigate to ECR. And what you're looking for is this elastic container registry. And on the ECR page, click on this get started to create a repository, and this is going to be a private repository. You can choose public if you want others to be able to access it. And I'm going to name mine ghostblog and keep everything else default and click on create repository in the bottom right. All right, there we go. So now we should have a blank container registry with no images. So let's flip on over to visual studio code and create an image. All right, let's create a Docker file. And in here, I'm going to do, just a very simple, Docker file with two lines. The first one is going to be from, and I'm going to say, use ghost latest and then label container. I'm just going to put my name. Save this.…