Skip to content

satya19977/Secure-webiste-on-s3-with-cloudfront

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Overview

Users can securely access my website myprojectssatya.click to see a simple react application in action. They do so by going through any browser, which goes to Route53 which directs them to an edge location where a SSL/TLS certificate is attached and the origin is the s3 bucket.

Architecture Diagram

image

Setup

Create two S3 buckets(www.myprojectssatya.click, myprojectssatya.click). The reason we create another bucket is to direct all users pointing to the main bucket that starts with www.

S3

image image image

Creation of ACM

image image image image image

CloudFront Distribution

Use Cloudfront to cache your bucket in edge locations for low latency access. CloudFront Do this for both the domain names. 1)Click Create a Cloudfront distribution image image image

  1. Select redirect http to https image image image image image

Route 53

Go to route 53 and create two alias to point to cloudfront distribution location. 1)Select create record to point to cloudfront distribution of respective domain names. image image image image image

  1. Click www.myprojectssatya.click and myprojectssatya.click to check if you have secure connection.

This is the final result.

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published