Category: Terraform

  • Terraform: Data Source: Debian > Amazon Linux 2

    In my previous iteration of using Terraform to configure AWS resources to build out the infrastructure needed (VPC, AZ, subnet, security group, Internet Gateway, Subnet Association) to host a running EC2 server, I used a Data Source that spun up a Debian instance. That worked great but tbh I have been spending most of my…

  • Terraform: VPC, EC2..

    As I learn the AWS services ecosystem, using the AWS Management Console mostly, I would like to practice IaC skills using Terraform. Here’s what’s been helpful.. This video has been helpful. Firstt, have to configure and authenticate, and I wanted to do this through VSC. Add on: AWS and Terraform modules. Click on the AWS…

  • Terraform: Creating configurable server

    In my previous post around spinning up an EC2 instance using Terraform, I concluded my notes with how the main.tf (the main code for the project that created the EC2 instance) repeated the port 8080 in two different sections of the code: both in user_data and when creating a security group. It’s better to not…

  • Terraform: Spinning up EC2 Server

    In this post I’m going to be following along with the book ‘Terraform: Up and Running 3rd ed’, chapter 2 – Getting Started with Terraform. I found the first chapter to be really great because it gave a 1000′ foot perspective of where Terraform fits in the IaC world, how it compares to other tools,…