-
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,…
-
Exploring Docker
I’ve been studying O’Reillys Docker Deep Dive 3rd ed, and I find it pretty good. It touches upon high level and detailed aspects but is written in such a way that I find it easy to read and understand. The provided examples and hands-on tutorials are simple to work with, run, and to understand the…
-
First Steps with GitHub Actions
As I learn AWS Cloud services and how to architect solutions, I am learning that there are a variety of automation tools that will be useful to know. While developing, for example, using a CI/CD tool like Jenkins of Github Actions will be useful, and then add containers, IaC tools like Terraform and I find…
-
Docker
As part of my learning path (learning Python, Linux, AWS, DevOps, Networks and more), I am learning to work with Docker and containers. I’m going to post what I learn as I move along, starting with ground zero and then hopefully working up to more interesting aspects. Away we go! First, i downloaded the .dmg…
-
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,…