From the course: DevOps Foundations: Your First Project
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Creating the Terraform Dockerfile
From the course: DevOps Foundations: Your First Project
Creating the Terraform Dockerfile
- [Instructor] Explore California has a Docker file that allows us to run our website locally for testing. Those tests are written with our spec and run as well in Docker and our spec uses Capybara and Selenium to talk to a real browser and actually run those tests against a real browser and test elements from it. And we do all of this in a Docker compose network and that's all defined in the Docker compose manifest called docker-compose IMO. At some point, we're going to want to deploy all this into a real environment and there are several tools that allowed us to do this. We could do this with Chef. We could do this with Ansible both of which are configuration management tools but also provision infrastructure. We could write our own scripts to do this. All of those are valid options. The only problem with those options is saving state, saving changes to that infrastructure over time and because we're interested in…
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
-
-
-
-
-
-
(Locked)
Creating the Terraform Dockerfile8m 58s
-
(Locked)
Building and testing a Terraform Docker image4m 32s
-
(Locked)
Creating a Terraform Docker Compose service1m 50s
-
(Locked)
AWS deployment explained3m 56s
-
(Locked)
Writing Terraform code12m 35s
-
(Locked)
Reviewing the Terraform plan9m 15s
-
(Locked)
Applying the Terraform plan7m 35s
-
(Locked)
Deploying the website into AWS S35m 48s
-
(Locked)
Destroying the website from AWS S36m 1s
-
(Locked)
Writing your integration test5m 55s
-
(Locked)
Running your integration test4m 58s
-
(Locked)
-
-