-
Container to Docker Hub
Building off my last post, where I spun up an EC2 instance, used SCP to upload a project folder to that instance (including index.html file, a few pictures, and a Dockerfile), and then using Docker daemon to build a Linux-base container with an Apache server running those web services. Now, to push that docker image…
-
From local to EC2: Docker Apache Web App
I’ve been following a tutorial which describes how to use containers within the AWS environment- it’s well done (Cantrill) but it does require the user (me) to simply download a pre-packaged container-ready file as part of a Cloud Formation deployment. That works for the intention of the author – provide a good, birds-eye view of…
-
AWS S3 + GitHub Actions (CI/CD Workflow)
I’m studying for the AWS Architect Associate’s exam, so am learning about the different services in detail. My studies today took me deeper into the world of S3 buckets, but I thought that it would be good to get some hands-on experience at the same time. So, I purchased a domain, which I had previously…
-
Not cookies..Baking an AMI!
In a previous post I manually spun up an EC2 instance and then installed and configured an Apache server and MariaDB to run a WP instance. It was useful for learning purposes, and as a reference of the benefits of automation! In this post, I’m going to be baking an AMI image, that is, creating…
-
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…
-
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…