Deploying a static website via AWS S3

Next, let's deploy the frontend web user interface to AWS S3.

One of the buckets we created in the previous chapter was for the purpose of website hosting. Let's configure it via the AWS Management Console for static website hosting:

  1. Navigate to the Amazon S3 service in the management console and click on your bucket.
  2. In the Properties tab, as shown in the following screenshot, click on the Static website hosting card:

  1. When you click on the Static website hosting card, a configuration card will pop up.
  2. Select Use this bucket to host a website and enter index.html and error.html for the Index document ...

Get Hands-On Artificial Intelligence on Amazon Web Services 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.