From the course: DevOps Foundations: Your First Project

Unlock the full course today

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

Deploying the website into AWS S3

Deploying the website into AWS S3

From the course: DevOps Foundations: Your First Project

Start my 1-month free trial

Deploying the website into AWS S3

- [Instructor] So, let's go ahead and add that CLI to our Docker Compose file. So docker-compose.yml, this looks familiar, it's our Docker Compose YAML. And what we're going to do is we're going to add a new service for running our AWS CLI. Let's just call it aws. And fortunately, we don't need to build an image for this because plenty on the internet exist that already provide this. Because I don't know what image I'm going to use, I'm going to go onto the Docker Hub and find it. So I'm going to open Google Chrome and I'm going to go to the Docker Hub at hub.docker.com. And now I'm going to search for awscli. I usually like to use the most popular option, so I'm going to use this guy, organs, cool name, and awscli, like this. A few other things that I want to do, but fortunately I don't have to retype them, is just copy basically all of this and put it inside of here. And the reason why is because, like I mentioned…

Contents