-
just put below in browser and you can see result
-
get all items
API https://xcd5wvrlqe.execute-api.us-east-1.amazonaws.com/Prod -
git item by id
API https://xcd5wvrlqe.execute-api.us-east-1.amazonaws.com/Prod/id/1 -
put item
API curl -v -X "POST" -H "Content-Type: application/json" -d "{"id": "123", "name": "Jack"}" https://xcd5wvrlqe.execute-api.us-east-1.amazonaws.com/Prod
sam build && sam deploy --guided
- and then follow the instruction
https://us-east-1.console.aws.amazon.com/lambda/home?region=us-east-1#/functions
https://us-east-1.console.aws.amazon.com/apigateway/main/apis?region=us-east-1
- run
checkcost.sh
to get the cost - use below link to check the cost in details https://us-east-1.console.aws.amazon.com/cost-management/home?region=us-east-1#/custom?groupBy=Service&hasBlended=false&hasAmortized=false&excludeDiscounts=true&excludeTaggedResources=false&excludeCategorizedResources=false&excludeForecast=false&timeRangeOption=Last6Months&granularity=Monthly&reportName=&reportType=CostUsage&isTemplate=true&filter=%5B%5D&chartStyle=Group&forecastTimeRangeOption=None&usageAs=usageQuantity&startDate=2022-02-01&endDate=2022-07-31
- Go to cloudformation to clean up the tech-stack