Using Amazon S3 is an awesome way to host static websites because it is cheap, serverless and does not require any ongoing maintenance. It can also be used as a source for an Amazon CloudFront distribution which immediately places your static website on a CDN. There is one problem though and that’s maintaining the website’s content.
Wouldn’t it be nice to be able to have your website content in a git repository and automatically publish it into an S3 bucket when new content is pushed? A git repository gives you editing history and also it is likelier that the content authors are more familiar with working with git rather than directly with S3. It is also easy to clone and test the content locally before publishing it. And so, we have exactly the solution. It is called Cody and you can learn more about it at https://github.com/boylesoftware/cody.