mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
20 lines
490 B
Markdown
20 lines
490 B
Markdown
## Deploy
|
|
|
|
```
|
|
serverless deploy --stage dev --region us-east-1
|
|
```
|
|
|
|
Deploys your service to AWS.
|
|
|
|
### Options
|
|
- `--stage` The stage in your service that you want to deploy to. **Required**.
|
|
- `--region` The region in that stage that you want to deploy to. **Required**.
|
|
|
|
### Examples
|
|
|
|
```
|
|
serverless deploy --stage dev --region us-east-1
|
|
```
|
|
|
|
This example will deploy your service to the `us-east-1` region in the `dev` stage. Will throw an error if this stage/region pair does not exist.
|