Who is this for?

This is an advanced topic for developers who are interested in using Amazon Web Services (AWS) S3 for hosting their IoT websites.

What will you learn?

Upon completion of this Learning Path, you will be able to:

  • Gain familiarity with Amazon S3.
  • Create a static website that interacts with AWS Lambda.

Prerequisites

Before starting, you will need the following:

Summary

AI-assisted

This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
You’ll build a static website on Windows on Arm and connect it to an existing AWS Lambda Function URL. You’ll create index.html, styles.css, and index.js, update the JavaScript with the endpoint, and configure AWS credentials. Then, you’ll upload the files to Amazon S3 and verify that the page displays IoT data.

Frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
Which files do I need for the static website and what is each one for?
Create index.html for the page structure, styles.css for layout and styling, and index.js for fetching data from AWS Lambda and updating the page.
I don’t see a Function URL for my Lambda function — what should I check?
Open the GetAverageTemperature function in the AWS Lambda console, go to the Configuration tab, and create a Function URL. Make sure the function exists as prepared in the prerequisite Learning Path.
Where do I place the Lambda endpoint in my code?
In index.js, update the fetch logic to use the Function URL you created for GetAverageTemperature. Replace any placeholder with the exact Function URL copied from the Lambda console.
Which AWS CLI version should I use?
Use AWS CLI version 2. Run aws configure and provide your AWS Access Key ID and AWS Secret Access Key.
What result should I expect after deploying to Amazon S3?
Loading the site from its S3 endpoint should display index.html and show IoT data returned by the Lambda function. If data doesn’t appear, confirm that index.js points to the correct Function URL and that your three files are uploaded.
Next