O'Reilly logo

Building Serverless Web Applications by Diego Zanon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required