🧱Setting Up High Availability Architecture using AWS CLI

High Availability Architecture using CLI

To get started with AWS CLI and installation process refer docs

Lets see how we can create this High Availability Architecture :

✅Launch EC2 instance :

✅Configure Httpd Server in Instance :

Using Putty we have logged in into Instance

🎯To install Apache Webserver :

🎯Starting the Httpd Service:

We have copied some web pages in document root (/var/www/html/)

Lets check if its working fine😎 or not ! :

Yes its working …………

👉Our requirement to make document root to be stored in persistent volume :

Thus , we can attach EBS volume to our instance lets see how :

🧱Volume is created and attached to EC2 Instance :

To check if volume is attached or not :

Finally the Document Root(/var/www/html) made
persistent by mounting on EBS Block Device.

Now , we will create S3 bucket :

Copying content into S3 bucket

Permitting access to bucket :

Providing read access of object to users :

Lets test the URL provided by S3

🔴Setting up CloudFront Setup :

Cloud Front provided high availability architecture . Content delivery networks provide a globally-distributed network of proxy servers which cache content, such as web videos or other bulky media, more locally to consumers, thus improving access speed for downloading the content.

Put this URL into web-browser :

Thus , we have created High Availability Setup using CloudFront service of AWS.

CLOUD FRONT :

Amazon CloudFront is a content delivery network offered by Amazon Web Services. Content delivery networks provide a globally-distributed network of proxy servers which cache content, such as web videos or other bulky media, more locally to consumers, thus improving access speed for downloading the content.

Amazon S3 :

Amazon S3 or Amazon Simple Storage Service is a service offered by Amazon Web Services that provides object storage through a web service interface. Amazon S3 uses the same scalable storage infrastructure that Amazon.com uses to run its global e-commerce network

AWS EBS :

Amazon Elastic Block Store (EBS) is an easy to use, high-performance, block-storage service designed for use with Amazon Elastic Compute Cloud (EC2) for both throughput and transaction intensive workloads at any scale. A broad range of workloads, such as relational and non-relational databases, enterprise applications, containerized applications, big data analytics engines, file systems, and media workflows are widely deployed on Amazon EBS.

AWS EC2:

Amazon Elastic Compute Cloud is a part of Amazon.com’s cloud-computing platform, Amazon Web Services, that allows users to rent virtual computers on which to run their own computer applications.

Happy learning ….📚🤗

Technological Enthusiast , Like to express what is need of time, Relates real world to philosophical insights