Tag: EC2

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

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

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

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

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

  • VPC + DB in Private Subnet > Public-Facing Server (pt 1)

    I’ve been deep-diving networking, Linux, and studies for the CSA, so time to start pulling everything together! I decided to follow a tutorial for creating a VPC with a private subnet holding a RDB and a public-facing EC2 instance/server in a second subnet. This is a pretty common use case, so a great place to…