Use Amazon S3 for your IoT applications running Windows on Arm
Introduction
Background
Static website
Add AWS Lambda Endpoint
Deploy website to Amazon S3
Next Steps
Use Amazon S3 for your IoT applications running Windows on Arm
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:
- A Windows on Arm computer such as the Lenovo Thinkpad X13s running Windows 11 or a Windows on Arm virtual machine .
- Any code editor. Visual Studio Code for Arm64 is suitable.
- Completion of the Use AWS Lambda for IoT applications Learning Path.
Summary
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.
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
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.
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.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.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.Use AWS CLI version 2. Run
aws configure and provide your AWS Access Key ID and AWS Secret Access Key.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.