Use CloudFront to serve HTTPS requests S3

Use CloudFront to serve HTTPS requests S3

July 17, 2020 / Nirav Shah

How to secure S3 using cloud front. So we don’t want users to be able to browse to our S3 bucket using the S3 URL, we want to force them using CloudFront.

So sign-in to your AWS account And go to the s3 service.

Step 1

Create a bucket, Here the name is “Eternal2020”.

use-cloudfront-to-serve-https-requests-s3

Step 2

Go to “cloud front” and we need to create a distribution.

Click on “click distribution”.

use-cloudfront-to-serve-https-requests-s3
use-cloudfront-to-serve-https-requests-s3

Step 3

Add your bucket name on origin domain name Changed it all other stuff which we have highlighted.

use-cloudfront-to-serve-https-requests-s3

And down and click on “create distribution”.

use-cloudfront-to-serve-https-requests-s3

Now go to your bucket and add some object And it has been done, but Cloudfront can take some time And how long is a while?

Well, it is actually quite annoying. But If you go back to your distribution, you can see that you are going to be redeploying right now. And you can wait till the status has changed to deployed.

But if anything wrong i will put the link so that it will easy for you.

Talk to AWS Certified Consultant

    Spread Love By Sharing:

    Let Us Talk About Your AWS Development Requirements

    Have queries about your AWS project ideas and concepts? Please drop in your project details to discuss with our AWS experts, professionals and consultants.

    • Swift Hiring and Onboarding
    • Experienced and Trained AWS Team
    • Quality Consulting and Programming
    Let’s Connect and Discuss Your Project