Deploy to AWS with Ansible and Terraform
Directory and File Setup
Creating the VPC, Part 1
Creating the VPC, Part 2
Creating the RDS Instance
Creating a Key Pair
Creating the S3 Bucket
Creating the Ansible Playbook
Creating the Dev Instance
Creating the ELB
Configuring the Auto Scaling Group
Creating our Route53 Records
Deploying the Infrastructure with Terraform
Finalizing our Project for Production
Upgrading from Terraform v0.7 to v0.8
Learn how to deploy a multi-tier WordPress application on AWS using both Terraform and Ansible. This course begins by explaining the environment we're going to end up with and then breaking it down step-by-step. Terraform is a powerful tool used to deploy infrastructure, which this course demonstrates by launching resources like an Amazon VPC, EC2 instances inside of an Auto Scaling group and behind an Elastic Load Balancer, and other types of resources. Then, Ansible is used to configure the instances to run our WordPress application. At the end of the course, you will have a functional WordPress deployment.
If you are using Terraform 0.8 or above, make sure you check out the video update: https://linuxacademy.com/cp/courses/lesson/course/884/lesson/1/module/104
All of the scripts used for the course. Please note, these will only work for Terraform 0.7.x. If you have 0.8, please watch the upgrade video in the course.
These scripts are used for the Hands-on Lab. Please do not attempt to use the normal course scripts for the lab as it is different and those scripts will fail.
This is an update to squash a couple of possible bugs. This update corrects an issue that could possibly lead to the auto scaling group not being assigned the correct Availability Zones.