Posts tagged with 'terraform'.

Terraform AWS VPC example

    By Ben Outram / 2018-06-15

    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

      By Ben Outram / 2018-06-15

      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

        By Ben Outram / 2018-06-15

        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

          By Ben Outram / 2018-06-15

          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

            By Ben Outram / 2018-06-15

            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

              By Ben Outram / 2018-06-15

              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

                By Ben Outram / 2018-06-15

                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

                  By Ben Outram / 2018-06-15

                  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

                    By Ben Outram / 2018-06-15

                    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...