Skip to content

Commit 9784bd4

Browse files
committed
add a section about dpeloyment costs and cleanup instructions
1 parent a8d0fd8 commit 9784bd4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,19 @@ curl [[ Replace with SWIFTAPIEndpoint value ]]/stocks/AAPL
426426
}
427427
```
428428
429-
6. Delete the infrastructure
429+
## Deployment costs
430430
431-
There is no cost
431+
On new AWS accounts, there is no cost associated with teh deployment and test of this sample code. It falls under the permananet AWS free Tier for [AWS Lambda](https://aws.amazon.com/lambda/pricing/) and [Amazon API Gateway](https://aws.amazon.com/lambda/pricing/)
432+
433+
When you're account is older than a year, you are charged $1.0 per million calls to the API Gateway.
434+
435+
## Cleanup
436+
437+
To delete the AWS Lambda function, the API Gateway, and the roles and permissions created with `sam`, just type:
438+
439+
```sh
440+
sam delete
441+
```
432442
433443
## Local Testing
434444

0 commit comments

Comments
 (0)