Create High Availability Architecture with AWS CLI

Create High Availability Architecture with AWS CLI

Amazon CloudFront

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. CloudFront works seamlessly with services including AWS Shield for DDoS mitigation, Amazon S3, Elastic Load Balancing or Amazon EC2 as origins for your applications, and Lambda@Edge to run custom code closer to customers’ users and to customize the user experience. Lastly, if you use AWS origins such as Amazon S3, Amazon EC2 or Elastic Load Balancing, you don’t pay for any data transferred between these services and CloudFront.

TASK DETAILS :

- Webserver configured on EC2 Instance

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

- Static objects used in code such as pictures stored in S3

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

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


Solution :

1.In the last task we have created an ec2 instance ,ebs volume , s3 bucket.

2.We configure Webserver on EC2 Instance

No alt text provided for this image

to start and enable the webserver we have

No alt text provided for this image

than attach the ebs volume to this instance than mount this ebs volume to /var/www/html

No alt text provided for this image

than format the partition

No alt text provided for this image

than mount it to the webserver

No alt text provided for this image

than create the s3 bucket and add some file and make it public

No alt text provided for this image

3.Now we will create cloud front distribution

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

4.than write the code and use the cloud front domain name

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

Thank you


To view or add a comment, sign in

More articles by Vijay Yadav

  • JAVA VIRTUAL MACHINE(JVM)

    A Java virtual machine is a virtual machine that enables a computer to run Java programs as well as programs written in…

  • How IBM using quantum computing

    What is quantum computing? Quantum computing is a rapidly-emerging technology that harnesses the laws of quantum…

  • How Kubernetes is used in Industries and what use cases solved by Kubernetes

    Kubernetes is an open-source container-orchestration system for automating computer application deployment, scaling…

  • Industry Use case on Automation Using Ansible

    This session was organized by two experts from Redhat => Sreejith Anujan The Principal Instructor at Red Hat…

  • How ansible helps in solving challenges faced by big industries?

    What is Ansible? Ansible is an open source automation platform. It is a simple automation language that can perfectly…

    2 Comments
  • MENU PROGRAM

    Task Description : Create a Menu Using Python integrating all the concepts that have been taught by Vimal sir till now.…

    2 Comments
  • How company are benefited by artificial intelligence

    Artificial Intelligence : Artificial intelligence (AI) refers to the simulation of human intelligence in machines that…

  • WORKING WITH AWS CLI

    he AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and…

  • AWS case studies

    Amazon Web Services (AWS) AWS (Amazon Web Services) is a comprehensive, evolving cloud computing platform provided by…

    1 Comment
  • HOW YOUTUBE STORE DATA

    HISTORY OF YOUTUBE: YouTube was founded by Chad Hurley, Steve Chen, and Jawed Karim, when they worked for PayPal. Prior…

    2 Comments

Others also viewed

Explore content categories