Amplify Hosting
What Amplify Hosting is
Section titled “What Amplify Hosting is”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/.
What it is not
Section titled “What it is not”| 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 |
Docs site vs sample app
Section titled “Docs site vs sample app”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.