You can deploy an Astro site using Flightcontrol, which provides fully-automated deployments to your AWS account.
Supports both static and SSR Astro sites.
How to DeploySection titled How to Deploy
- Create a Flightcontrol account at app.flightcontrol.dev/signup
- Go to app.flightcontrol.dev/projects/new/1
- Connect your Github account and select your repo
- Select your desired “Config Type”:
GUI(all config managed through flightcontrol dashboard) where you will select the
flightcontrol.json(“infrastructure as code” option where all config is in your repo) where you will select an Astro example config, then add it to your codebase as
- Adjust any configuration as needed
- Click “Create Project” and complete any required steps like linking your AWS account.
SSR SetupSection titled SSR Setup
To deploy with SSR support, make sure you first set up the
@astro/node adapter. Then, follow the steps above choosing the appropriate configurations for Astro SSR.