Simple Storage Service (S3) is an object store in AWS that allows us to store objects against keys. We already used S3 to deploy our Lambda code and within CloudFormation scripts, in earlier recipes. S3 can also be configured to host a static website. In this recipe, we will create an S3 bucket and configure it as a static website by using AWS CLI commands and CloudFormation scripts.
Setting up an S3 static website
Getting ready
A basic understanding of Amazon S3 is required for this section. We used S3 to upload our Lambda code in Chapter 1, Getting Started with Serverless Computing on AWS, and we discussed a few of its properties. A decent understanding of web technologies, such as HTML, would be beneficial, but is not mandatory...