Uploading static files

Uploading is pretty straightforward. Let's perform the following steps to upload static files:

  1. First, create a very simple index.html file for testing purposes:
        <!DOCTYPE html>        <html>            <title>My Page</title>        <body>            <h1>Hosting with S3</h1>        </body>        </html>
  1. When you click on the main bucket name, an Upload button will be made available. Click on it:
  1. The next screen is simple. Click on Add files, select the index.html file, and continue by clicking on Next:
  1. At the Set permissions step, check the Read box under

Get Building Serverless Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.