Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
AWS Certified Developer ??? Associate Guide

You're reading from   AWS Certified Developer ??? Associate Guide Your one-stop solution to passing the AWS developer's certification

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781787125629
Length 600 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Bhavin Parmar Bhavin Parmar
Author Profile Icon Bhavin Parmar
Bhavin Parmar
Vipul Tankariya Vipul Tankariya
Author Profile Icon Vipul Tankariya
Vipul Tankariya
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. AWS Certified Developer – Associate Certification FREE CHAPTER 2. Introduction to Cloud Computing and AWS 3. Identity and Access Management 4. Virtual Private Clouds 5. Getting Started with Elastic Compute Cloud 6. Handling Application Traffic with Elastic Load Balancing 7. Monitoring with CloudWatch 8. Simple Storage Service, Glacier, and CloudFront 9. Other AWS Storage Options 10. AWS Relational Database Services 11. AWS DynamoDB - A NoSQL Database Service 12. Amazon Simple Queue Service 13. Simple Notification Service 14. Simple Workflow Service 15. AWS CloudFormation 16. Elastic Beanstalk 17. Overview of AWS Lambda 18. Mock Tests

Hosting a static website on S3


Amazon S3 allows you to host a static website. A static website can contain web pages with static content as well as client-side scripts. S3 does not support server side scripting and due to that, you cannot host a site with any server side scripting such as PHP, JSP, ASP.Net.

You can host HTML pages, CSS, client-side scripts like JavaScripts, and so on. Here's a step-by-step process to enable static website hosting on an S3 bucket:

  1. Sign in to your AWS console and go to S3 console at https://console.aws.amazon.com/s3.
  2. Click on the bucket on which you want to enable static website hosting.
  3. Click on the Properties tab as shown in the following screenshot:

Figure 8.23: Bucket properties tab

  1. Click on Static website hosting as shown in the following screenshot:

Figure 8.24: Enable static website hosting

  1. Specify index and error document for your website as shown in the following screenshot and click on Save. You can also configure Redirect requests as needed and optionally...
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 $19.99/month. Cancel anytime
Banner background image