Static Website Hosting Using S3
The next scenario you’ll consider is a static website hosted on S3. Despite the term, a static website doesn’t mean one that never changes. Static refers to the fact that the site’s assets—HTML files, graphics, and other downloadable content such as PDF files—are just static files sitting in an S3 bucket. You can update these files at any time and as often as you want, but what’s delivered to the end user is the same content that’s stored in S3. This is in contrast to a dynamic website that uses server-side processing to modify the content on the fly just before sending it to the user. Some examples of dynamic websites are web-based email applications, database-backed ecommerce sites (like Amazon), and WordPress blogs. As a rule of thumb, if a website uses a database for storing any information, it’s a dynamic website.
Setting up S3 to host a static website involves the following steps:
- Creating...