AWS EC2 Auto Scaling Group for High Availability

GabrielGabriel
2 min read

Scaling your Applications

Intro

In order to successfully scale an application, an Auto Scaling Group (ASG) of EC2 Instances for high availability needs to be properly set up in AWS console. Needless to say this does require the use of various AWS resources so a little bit of familiarization helps.

To avoid accruing costs on your AWS user profile kindly ensure deletion of all created resources, settings and configurations afterwards.

Key Terms:

High Availability

This enables infrastructures to continue running/operating, even in the event a particular component fails by eliminating the points of failure.

Virtual Private Cloud (VPC)

An AWS service that offers a virtual private network isolated from other virtual networks.

Internet Gateways

These make it possible for resources in public subnets with public IP addresses to be able to connect to the internet.

Elastic Load Balancers

They automatically distribute incoming network traffic across multiple instances

Launch Template

It contains pre-configuration information used to launch resources.

Subnet

A set of IP address ranges in your VPC.

Step 1: VPC and subnets

Create VPC

Go to VPC dashboard and click “Create VPC”. Choose a name then add the IPv4 CIDR block. Use 10.10.0.0/16 then click “Create VPC”.

Create Subnets

Go to “Subnets” in the left section of the VPC dashboard. Click “Create subnets”, then select the VPC you created. Pick a subnet name, then choose the Availability Zone (AZ) and assigned IPv4 CIDR block.

To be continued.

0
Subscribe to my newsletter

Read articles from Gabriel directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Gabriel
Gabriel

I am an experienced software developer and love using linux kernel.