Skip to content

Amplify Hosting

AWS Amplify Hosting
AWS Amplify Hosting - builds and hosts front-end apps from a Git repository with branch and PR preview URLs.
Amplify Hosting docs
connects to a Git repository, runs a build defined in amplify.yml
Root amplify.yml file that tells Amplify how to install, build, and which artifact directory to publish.
, and publishes static files to a CDN-backed URL per branch (and optionally per pull request).

For this lab the sample is Astro
Static site framework used for the sample app in this lab - Amplify runs npm ci and astro build, then publishes dist/.
Astro docs
: npm ci, astro build, publish dist/.

Concern Who owns it in this lab
Day-to-day deploy Amplify on Git push / PR
Merge quality gate GitHub Actions + branch protection (CI gate
GitHub Actions checks plus branch protection - required before merge. Amplify does not wait for CI by itself; it builds on push.
)
Creating the Amplify app You, once, in the Console (no Terraform)
Custom domain for the sample Out of scope - use *.amplifyapp.com

This walkthrough site is separate documentation (GitHub Pages). The app you connect to Amplify is the sample Astro repo. Do not point Amplify at this walkthrough repository.