AWS Amplify (Amplify Gen 3): one page from nothing to a live URL
Hosting only, on the free Basic plan. No backend (PostgreSQL, sign-in, Data API) is created.
AWS Cloud
Region us-east-1
Presenter
quickstart.py
times each stage
IAM execution role
trusts amplifygen3.amazonaws.com
no permissions
Source upload
presigned URL
zip with index.html
AWS Amplify app
preview environment
prebuilt deployment
Live URL
<app>.amplify.app
public CDN
CloudWatch Logs
build log group
1
2
3
4
5
6
1
2
3
4
5
6
LINES
Create app, upload, deploy
Create and delete the role
Assume role
Fetch the live URL
Logs
FLOW
The script creates an IAM execution role that only Amplify can assume.
It creates the app, then uploads a zip holding one index.html to a presigned URL.
It creates a prebuilt deployment in the preview environment and polls its status.
Amplify publishes the deployment at a public amplify.app URL.
The script fetches the URL, prints the elapsed time, then deletes the app, upload and role.
Deleting the app keeps its build log group; the script deletes that too.