Cloudfront And Ssl To Host Static Website

create a certificate https://aws.amazon.com/blogs/aws/new-aws-certificate-manager-deploy-ssltls-based-apps-on-aws/

hosting a website with a custom domain

http://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html

  • register a public domain on Route 53 , you can use also one not register in AWS and redirect the dns name server , suppose you choose mydomain.com
  • create two buckets, one to host the website the other one to redirect with the following names mydomain.com and www.mydomain.com
  • put the static pages in one of the buckets
  • setup route 53 with the alias as it is explained in the guide
  • setup a redirect from the empty bucket to the the other one.

add ssl

Which CloudFront SSL

https://aws.amazon.com/cloudfront/faqs/ and https://aws.amazon.com/cloudfront/custom-ssl-domains/

  • Dedicated IP Custom SSL 600 $ at month compatible with very old browsers
  • SNI Custom SSL , no additional cost
SNI Custom SSL works with most modern browsers, including Chrome version 6 and later (running on Windows XP and later or OS X 10.5.7 and later), Safari version 3 and later (running on Windows Vista and later or Mac OS X 10.5.6. and later), Firefox 2.0 and later, and Internet Explorer 7 and later (running on Windows Vista and later). Older browsers that do not support SNI cannot establish a connection with CloudFront to load the HTTPS version of your content
Salvo diversa indicazione, il contenuto di questa pagina è sotto licenza Creative Commons Attribution-ShareAlike 3.0 License