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
From the course: DevOps Foundations: Your First Project
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…
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.
Contents
-
-
-
-
-
-
Creating the Terraform Dockerfile8m 58s
-
Building and testing a Terraform Docker image4m 32s
-
Creating a Terraform Docker Compose service1m 50s
-
AWS deployment explained3m 56s
-
Writing Terraform code12m 35s
-
Reviewing the Terraform plan9m 15s
-
Applying the Terraform plan7m 35s
-
Deploying the website into AWS S35m 48s
-
Destroying the website from AWS S36m 1s
-
Writing your integration test5m 55s
-
Running your integration test4m 58s
-
-
-