Pravat kumar Nath sharma

Mar 22, 2021

4 min read

Create High Availability Architecture with AWS CLI

  1. launch ec2-instance
  2. with key pair and security group we can launch ec2-instance

STEP-2 :- Document Root(/var/www/html) made persistent by mounting on EBS Block Device.

STEP-3 :- Static objects used in code such as pictures stored in S3

STEP-4 :- Setting up Content Delivery Network using CloudFront service and using the origin domain as S3 bucket.

STEP-5 :- Finally place the Cloud Front URL on the webapp code for security and low latency.