Deploy your Astro Site to AWS with SST
هذا المحتوى غير متوفر بلغتك بعد.
You can deploy an Astro site to AWS using SST, an open-source framework for deploying modern full-stack applications with SSG and SSR support.
You can also use any additional SST components like cron jobs, Buckets, Queues, etc while maintaining type-safety.
Quickstart
Section titled Quickstart-
Create an astro project.
-
Run
npx sst@latest init
. -
It should detect that you are using Astro and ask you to confirm.
-
Once you’re ready for deployment you can run
npx sst deploy --stage production
.
You can also read the full Astro on AWS with SST tutorial that will guide you through the steps.
SST components
Section titled SST componentsTo use any additional SST components, add them to sst.config.ts
.
And then access them in your .astro
file.
Consult the SST docs on linking resources to learn more.
If you have any questions, you can ask in the SST Discord.