Category: AWS

  • Querying AWS Services via JSON JMESPath queries

    JMESPath is helpful in helping to query JSON output data, for example to filter or manipulate that data. This is useful when working with AWS Services, particularly through CLI and/or with services such as CloudWatch or Systems Manager. I’m following this resource on my learning journey, which I’m sharing some of those steps here for…

  • 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,…

  • Working with AWS CLI

    Currently I’m learning Docker containers and Terraform, but at the same time, working directly with AWS API using the command line interface is good to know on a low-level way too. So in this post I’m going to describe how I set up installing the AWS CLI on my macOS in case I need to…

  • Creating AWS Launch Template for EC2

    I’ve been creating EC2 instances on a one-off basis, which is great practice, but as I am wanting to learn how to use IaC methodologies, I wanted to explore creating a launch template. First, I selected Launch Template from within the EC2 dashboard. I gave the template a name, selected the Amazon Linux x86 AMI…

  • 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,…

  • Attaching EBS Volume to EC2, Creating Redundancy

    I’ve been exploring the AWS cloud ecosystem – first, creating a VPC with a single public subnet, a security group that corresponds to that (port 22 and 80 open for SSH and HTTP), attaching an Internet Gateway to the VPC, attaching a route table to the subnet. I spun up an Ubuntu server within the…

  • VPC+Web Server + DB (pt 2)

    In my previous post, I followed a tutorial which set up a VPC, along with four subnets (two of which won’t be used), each situtated in their own Availability Zone for increased security. The DB in one, a private subnet, with a security group that is locked down -only the EC2 server, in the same…