Hands-on Lab
You can now start with the hands-on lab section of the chapter. This will give you a practical understanding of the concepts at hand.
S3 Website
Hosting a website on Amazon S3 is a cost-effective and simple way to deliver your content without the need for a web server. Amazon S3 can serve static content directly to web browsers. In this lab, you will create some simple website files and then upload these to a new S3 bucket that has policies to allow public access:
- Create a file in an editor with the following code (you don’t need to understand this for the exam):
<html> <head> </head> <body> <h1>Hello World</h1> <p>This is my first website</p> </body> </html>
- Save it in a file called
index.html
. - Log in to the AWS Management Console and navigate to the S3 service.
- Click
Create bucket
. Give your bucket a unique name. Remember that an S3 bucket name needs to be unique globally!
...