Posts tagged with 'devops'.
Terraform AWS VPC example
This is a tutorial on deploying a web application to AWS infrastructure that is isolated in a VPC. Imagine that we want to deploy a web appl...
Part 1 - Getting set up
There are several dependencies that we are going to address before we get started with our Terraform project. Don't panic, we are going to wa...
Part 2 - Create the VPC
All of the following configuration blocks should be added to the project.tf file that we created previously. Create a VPC to launch our inst...
Part 3 - Create an RDS DB instance
Create a new file rds.tf which we will add all of our RDS configuration to. Create subnets in each availability zone for RDS, each with addr...
Part 4 - Create the application load balancer
All of the following configuration blocks should be added to the project.tf file that we created previously. Create an application load bala...
Part 5 - Prepare a web application for EC2
We are going to provision a web application on our EC2 web server instances when they are launched to help visually demonstrate the successfu...
Part 6 - Create web server instances
Create a new file web.tf which we will add the following configuration to. Create a key pair that will be assigned to our instances: Create...
Part 7 - Review time
Congratulations, you have applied all of the infrastructure. If you've only just completed the last part of the lab then give the EC2 instanc...
Part 8 - A note on S3 access
Private S3 access Earlier in part five we walked through a script written for our EC2 web server instances to fetch a build of the Spring Bo...