dev
AWS w/ SST

Deploying to AWS with SST

1. Setup

You can verify your AWS credentials by running the following command:

aws sts get-caller-identity
# {
#     "UserId": "[id]",
#     "Account": "[id]",
#     "Arn": "arn:aws:iam::[id]:user/[iam-user-name]"
# }

And verify the SST CLI is installed by running:

which sst
# /usr/local/bin/sst

Now you're ready to go!

2. Create a new project from a template

The following command will create a new SST project in a directory called my-sst-app:

npx degit @ryanflorence/templates/sst my-sst-app

3. Deploy the app

Change into the new directory and deploy the app. The first deploy may take a few minutes as it provisions the necessary resources.

sst deploy
Docs and examples CC 4.0