Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
AWS Certified Cloud Practitioner Exam Guide

You're reading from  AWS Certified Cloud Practitioner Exam Guide

Product type Book
Published in Jan 2022
Publisher Packt
ISBN-13 9781801075930
Pages 630 pages
Edition 1st Edition
Languages
Author (1):
Rajesh Daswani Rajesh Daswani
Profile icon Rajesh Daswani

Table of Contents (23) Chapters

Preface 1. Section 1: Cloud Concepts
2. Chapter 1: What Is Cloud Computing? 3. Chapter 2: Introduction to AWS and the Global Infrastructure 4. Chapter 3: Exploring AWS Accounts, Multi-Account Strategy, and AWS Organizations 5. Section 2: AWS Technologies
6. Chapter 4: Identity and Access Management 7. Chapter 5: Amazon Simple Storage Service (S3) 8. Chapter 6: AWS Networking Services – VPCs, Route53, and CloudFront 9. Chapter 7: AWS Compute Services 10. Chapter 8: AWS Database Services 11. Chapter 9: High Availability and Elasticity on AWS 12. Chapter 10: Application Integration Services 13. Chapter 11: Analytics on AWS 14. Chapter 12: Automation and Deployment on AWS 15. Chapter 13: Management and Governance on AWS 16. Section 3: AWS Security
17. Chapter 14: Implementing Security in AWS 18. Section 4: Billing and Pricing
19. Chapter 15: Billing and Pricing 20. Chapter 16: Mock Tests 21. Answers 22. Other Books You May Enjoy

Exercise 5.4 – Setting up static website hosting

In this exercise, we will configure the bucket to host a static website. When configured with a static website hosting service, the bucket will be configured with a website endpoint that you can distribute to your users, who can then access all the pages (assuming they are linked) using the standard HTML protocol.

To configure your bucket for static website hosting, you need a minimum of two files— an index.html file and an error.html file. An error file is simply a file that the S3 static website hosting service will redirect to if there is a problem with the index.html file—for example, if it cannot find the index.html page. You could use the error.html file to broadcast the fact that perhaps the site is under maintenance. Proceed as follows:

  1. Create a new HTML file using your text editor as before (either Notepad on Windows or TextEdit on a Mac). However, in this file, simply add a line of text along...
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 $15.99/month. Cancel anytime}