High Availability Architecture with AWS CLI

High Availability Architecture with AWS CLI

For Configuring Web Server on EC2 Instance so first we have to launch the instance using AWS CLI

👉Launching the EC2 Instance

No alt text provided for this image
No alt text provided for this image

👉Creating a EBS Volume and Attaching to the EC2 Instance.

No alt text provided for this image
No alt text provided for this image
we attach this ebs volume to above ec2 instance

👉Web Server Configuration-> Install the httpd software so that client can use the services

No alt text provided for this image
No alt text provided for this image

👉Storing the data inside the document root initially this document root is in slash drive in which the data is not persistent So to make it persistent in above steps we attach EBS Volume when we attach any storage 3 steps should be performed.

1.Create the Partition

No alt text provided for this image

2. Format the Partition

No alt text provided for this image

3. Mount the Partition to the Document Root So that it uses the EBS Volume and thus data become persistent

No alt text provided for this image

👉We solve the Challenge by attaching EBS Volume But here also One more challenge comes in The challenge of Durability and Availability It lags in providing 99% Durability and Availability So the Requirement comes up to solve the challenge So Amazon AWS provides S3 Object Storage as a Service, and make the bucket public so that URL can be accessed

No alt text provided for this image
No alt text provided for this image

👉After Creation of Bucket we store static images, videos inside the bucket and these files are known as object.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

👉We solve Durability and Availability consider if client living far away and hit to our server then it is possible he will face high latency and less security again to solve this challenge Amazon introduces Cloudfront as a Service which uses the concept of Content Delivery Network.

👉Amazon CloudFront is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment. CloudFront is integrated with AWS – both physical locations that are directly connected to the AWS global infrastructure, as well as other AWS services. 

No alt text provided for this image
No alt text provided for this image

👉Finally place the Cloud Front URL on the web app code for high security and low latency.

No alt text provided for this image
No alt text provided for this image

Thank You for Reading!!!!

To view or add a comment, sign in

More articles by Suyog Kumawat

  • How industries are solving challenges using Ansible?

    Before the invention of ansible there are many Automation tools used in the industry for solving all use cases so how…

  • Machine Learning and Artificial Intelligence Finance

    Machine Learning is to make the machine intelligent similar to Human Mind More Experience it will create more learning…

    2 Comments
  • Pokémon Case Study

    First we will see the concepts of cloud computing and its benefits then we will go for case study of one of the top…

  • Big Data And Hadoop

    Big Data really is ubiquitous these days, and sometimes we might not even realize how much it affects our everyday…

    2 Comments

Others also viewed

Explore content categories