-
EC2 + SG + Key-Pair with AWS CLI
These are the steps that I took to spin up an EC2 instance within the us-west-2 region, utilizing the Amazon Linux 2 AMI and t2.micro instance type. First, you have to make sure that you have the AWS CLI installed and configured on your local machine. Second, find the Amazon Linux 2 AMI IDs that…
-
EC2 Architecture via AWS Console
For better understanding building out AWS architecture, and to include my using an architectural diagram to guide my efforts (bear with me, this is my fledgling attempt so it’s a bit rough!). Here’s what I will be building out – a basic architecture supporting the spinning up of an EC2 instance: The steps I plan…
-
AWS Console: VPC+SN+SG+EC2+RT
In this post, I’m going to detail my journey building out this infrastructure. Here’s the goal: The goal is to practice a few things besides the deployment of these resources: INTRO: There’s a lot of directions that this project can grow, but the scope for this particular project is limited in scope: the ability for…
-
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…
-
AWS CloudFormation
I’m working on learning AWS by systematically reading through “Amazon Web Services In Action, 3rd edition”, by Michael Wittig and Andreas Wittig. There are so many resources that are available, and it’s easy to get pulled here and there – but I find this book to be pretty thorough without being too detailed or confusing,…
-
Terraform: Creating AutoScaling Group for EC2 Server
Hi there, this is part III of posts where I explore using Terraform to first create an EC2 instance, which was then continued in the last post, ‘Terraform: Creating configurable server’. Now, let’s talk about creating an autoscaling group, because right now we just have the one server, which could be a risk if the…
-
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,…
-
Connecting EC2 with MySQL and Making Stuff
For this exercise, I spun up an EC2 instance, then spun up a MySQL database instance, and connected the two. I followed the AWS tutorial ‘Creating and connecting to a MySQL DB instance’. First, I created an EC2 instance within the default VPC. I selected the AWS Linux 2023 AMI, using Free Tier configuration parameters,…
-
AWS: Configuration for CLI

There are a number of hoops to jump through steps to take in order to have access to a local CLI on your local production environment (read, my mac at home, with a coffee mug perched nearby): take a look here. First, to create IAM access and credentials. We need to get authorization, basically, through…