How exactly to host your website that is static with & CloudFront and set-up an SSL certificate?

How exactly to host your website that is static with & CloudFront and set-up an SSL certificate?

Before starting going your website that is static on and CloudFront, I wish to prompt you to mindful that you need to move your domain title servers provider to Amazon Route53.

This is the way that is only make CloudFront make use of your domain. ??

Then feel free to check the first part of my previous article How to migrate your domain to Route53 if you’re confused about how to connect your domain DNS with Route 53.

During the end with this tutorial, we’ll be using the after 4 services provided by AWS:

  • Route 53 ( for the domain DNS)
  • S3 ( for our files that are static
  • CloudFront (CDN — will serve our files that are static different areas)
  • Certificate Manager (SSL certificate — your internet site shall have https for FREE??)

Okay, now let’s get our hands dirty.

Action 1 — Create S3 buckets

We first need to log in to the AWS administration system to check out the service that is s3.

As soon as discovered, we have to produce two S3 buckets with our domain name.

Within my situation, I’ll be using the bucket that is following:

Bucket 1 — www.workwithtibi.com

Bucket 2 — workwithtibi.com

You need to ensure that both bucket names are exactly the same as your domain title.

Don’t bother about any configurations choices or permissions at this moment. Simply choose the default choices while producing both buckets.

You should now be able to see both your S3 buckets.

Step 2 — Upload files to S3 Bucket

We now need to upload most of the static files & assets and select our primary bucket for the site, the non-www version or the www version.

In this guide, I’ll choose the www version, ergo Bucket 1 could be the main bucket for our web site. Continue reading “How exactly to host your website that is static with & CloudFront and set-up an SSL certificate?”