Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Amazon Web Services Bootcamp

You're reading from   Amazon Web Services Bootcamp Develop a scalable, reliable, and highly available cloud environment with AWS

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788294454
Length 338 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Sunil Gulabani Sunil Gulabani
Author Profile Icon Sunil Gulabani
Sunil Gulabani
Arrow right icon
View More author details
Toc

Static Website Hosting

Amazon S3 allows us to host a static website. Static HTML pages can be deployed on S3 and using the scripting language (such as JavaScript) we can make it a dynamic website. For hosting, we need to configure the bucket website configuration and map our domain name to redirect the request to the Amazon S3 bucket.

Let's see how we can host a static website on Amazon S3.

AWS Management Console

Let's see how to host a static website on Amazon S3:

  1. Create the S3 bucket and grant public access: Create a bucket with the name www.blog.tweakings3.com and grant Public permissions so that anonymous users can access the HTML files:
Figure 4.18: Create Bucket (www.blog.tweakings3.com)
    ...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime