Skip to main content

Create Static Web in S3

This document describes how to create a static web in S3, Static Web Hosting feature allows you to host your static website on Deka Box. Follow these steps to create your static web on Deka Box.

  • We need to create an index document for your static web and upload it. An index document is a web page, which is sometimes referred to as the default page.

    • Create an index.html file. if you don’t have an index.html file, you can use the following HTML to create one:
<!doctype html>
     <title>This is the title of the webpage!</title>
     <p>This is an example paragraph. Anything in the <strong>body</strong> tag will appear on the page, just like this <strong>p</strong> tag and its contents.</p>

Save the index file locally.

  • Upload your index.html file to your bucket.

  • After that, we need configure bucket policy to allow anonymous to access the static web.

  • Open S3 Browser on your computer.

S3 Browser

  • On the S3 browser, click bucket, then select Edit Bucket Policy. We need to allow anonymous to access the static web.

S3 Browser - Edit Bucket Policy

  • On the Bucket Policy Editor, create a policy syntax like the following example.
  "Statement": [
      "Effect": "Allow",
      "Principal": "*",
      "Action": [
      "Resource": [

PLEASE NOTE: Customize test-bucket with your bucket name.

Bucket Policy Editor

Browser - URL

  • Now the bucket host your static web.