Post

31. Route 53, CloudFront and private S3

31. Route 53, CloudFront and private S3

Route 53, CloudFront and private S3


Prerequisites

1
2
3
S3
CloudFront
Route53

1. How to publish your domain you buy from Route 53 and linked private S3 html

We already see how to create s3 server with public s3. But it is not recommended because of security issue.

So, Now I post how to publish domain I buy from Route 53 with private s3.

1-1. Change public s3 to private s3

"aws-cf01" "aws-cf02"

1-2. Buy domain from AWS Route 53

"aws-cf03"

1-3. Create CloudFront Distribution

"aws-cf04"

"aws-cf05"

"aws-cf06"

"aws-cf07"

Create certificate

"aws-cf08"

The certification is managed from just N. Virginia (us-east-1), So even though you create the certificate, it’ll regist on N. Virginia region.

1-4. Create Hosted zones from Route 53

"aws-cf09" "aws-cf10" "aws-cf11"

A hosted zone is a container in Amazon Route 53 that stores DNS records for a domain. It defines how traffic to that domain is routed to resources like CloudFront, S3, or servers.

CloudFront handles content delivery and serves requests, but it doesn’t decide where a domain should point. Route 53 acts as DNS, routing the domain to CloudFront, which then retrieves content from S3.

1-5. Set S3 Policy

"aws-cf12" "aws-cf13"

1-6. Set default root

"aws-cf14"

This post is licensed under CC BY 4.0 by the author.