{"id":4845,"date":"2020-04-10T08:28:59","date_gmt":"2020-04-10T08:28:59","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=4845"},"modified":"2023-06-10T17:41:32","modified_gmt":"2023-06-10T17:41:32","slug":"web-hosting-on-aws-s3","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/web-hosting-on-aws-s3\/","title":{"rendered":"Web Hosting on AWS (S3)"},"content":{"rendered":"<p>A couple of things came out of my attempt to upgrade my <a href=\"https:\/\/davelevy.info\/wiki\/hugo\">hugo<\/a> website which is hosted on aws at davelevy.cc. Here are my notes.\u00a0<!--more--><\/p>\n<p>I need to work out how to offer the service with an <code>https<\/code> protocol.<\/p>\n<p>Otherwise here are the links I found while debugging the HUGO site.<\/p>\n<ol>\n<li>My <a href=\"https:\/\/s3.console.aws.amazon.com\/s3\/home?region=eu-west-1\">S3 console<\/a>!<\/li>\n<li>An <a href=\"https:\/\/medium.com\/@kyle.galbraith\/how-to-host-a-website-on-s3-without-getting-lost-in-the-sea-e2b82aa6cd38\">article on how to do it<\/a> on AWS by kyle galbraith on Medium<\/li>\n<li>And <a href=\"https:\/\/docs.aws.amazon.com\/AmazonS3\/latest\/dev\/website-hosting-custom-domain-walkthrough.html\">what AWS say<\/a>!, their custom domain walkthrough<\/li>\n<li>Amazon&#8217;s 1st stop <a href=\"https:\/\/docs.aws.amazon.com\/AmazonS3\/latest\/dev\/WebsiteHosting.html\">documentation on Website Hosting<\/a>\u00a0and maybe <a href=\"https:\/\/docs.aws.amazon.com\/AmazonS3\/latest\/user-guide\/static-website-hosting.html\">their second on static page hosting<\/a>, or vice versa.<\/li>\n<\/ol>\n<p>With respect to AWS and <code>https<\/code>, which is my current problem, here&#8217;s a video from aws, the S3 web server can&#8217;t do https. Fuck!<\/p>\n<p>Here&#8217;s two articles from a GG blogger, Chris Burns<\/p>\n<ol>\n<li>On <a href=\"https:\/\/capgemini.github.io\/development\/Using-S3-and-Hugo-to-Create-Hosting-Static-Website\/\">making an S3 site<\/a><\/li>\n<li>On <a href=\"https:\/\/capgemini.github.io\/development\/Using-AWS-CloudFront-as-a-CDN-for-an-S3-Static-Site\/\">using Amazon Cloudfront<\/a> for CDN &amp; https<\/li>\n<\/ol>\n<p>And here&#8217;s a video from AWS<\/p>\n<p>https:\/\/youtu.be\/sf-JWDDw2O4<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A couple of things came out of my attempt to upgrade my hugo website which is hosted on aws at davelevy.cc. Here are my notes.\u00a0<\/p>\n","protected":false},"author":1,"featured_media":4846,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[111,3],"tags":[159,112,1299,1180,911,1421],"class_list":["post-4845","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-technology","tag-aws","tag-cloud-2","tag-https","tag-hugo","tag-technology","tag-web-hosting"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2020\/04\/aws-logo-w650.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/4845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=4845"}],"version-history":[{"count":2,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/4845\/revisions"}],"predecessor-version":[{"id":8182,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/4845\/revisions\/8182"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/4846"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=4845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=4845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=4845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}