Before starting moving your fixed internet site on S3 and CloudFront, I would like to allow you to conscious that you need to move your domain name servers provider to Amazon Route53.
This is the only way to 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.
At the final end of this tutorial, we’ll be using the following 4 services given by AWS:
- Route 53 ( for our domain DNS)
- S3 ( for the static files)
- CloudFront (CDN — will serve our static files from various areas)
- Certificate Manager (SSL certificate — your site will have https for FREE??)
Okay, now let’s get our hands dirty.
We first need to log in to the AWS management system and look for the S3 solution.
Once found, we have to create two S3 buckets with our domain name.
In my case, I’ll be using the following bucket names:
Bucket 1 — www.workwithtibi.com
Bucket 2 — workwithtibi.com
You must make sure that both bucket names are the same as your domain title.
Don’t worry about any configurations choices or permissions at this moment. Simply choose the standard choices while creating both buckets.
You should now be able to see both your S3 buckets.
We now need certainly to upload all the fixed files & assets and choose our main bucket for our site, the non-www version or the www version. Continue lendo “How exactly to host your website that is static with & CloudFront and set-up an SSL certification?”