Deploy your Astro Site to AWS with SST
هذا المحتوى غير متوفر بلغتك بعد.
You can deploy an Astro site using SST, an open-source framework for deploying fully serverless applications to AWS with SSG and SSR support.
You can also use any additional SST constructs like Cron Jobs, Buckets, Queues, etc while maintaining type-safety.
Quickstart
Section titled Quickstart-
Create an astro project.
-
Run
npx create-sst
. -
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 watch a video walkthrough of this process that will guide you through the steps.
SST constructs
Section titled SST constructsTo use any additional SST constructs, add them to sst.config.ts
.
And then access them in your .astro
file.
Consult the SST docs on Resource Binding to learn more.
If you have any questions, you can ask in the SST Discord.