⚠ The Lambda's CORS policy is scoped to https://yashjagani.com.
When hosted there, this works live. In other environments the API call will be blocked by the browser.
The fetch attempt is made regardless — it may work if your browser allows it.
About this demo

This page calls a real AWS Lambda function via API Gateway. The Lambda retrieves the OpenWeatherMap API key from SSM Parameter Store (SecureString, decrypted at runtime) and returns a 3-day forecast.

In the full production architecture, requests flow through CloudFront → ALB → ECS Fargate (private subnet). For this demo, the Lambda is exposed directly via API Gateway.

Full architecture → View source →