https://github.com/gjerokrsteski/faas-example-aws
FaaS Example For AWS
https://github.com/gjerokrsteski/faas-example-aws
aws aws-lambda aws-lambda-node awscli cloud cloudformation example faas sam serverless
Last synced: 3 months ago
JSON representation
FaaS Example For AWS
- Host: GitHub
- URL: https://github.com/gjerokrsteski/faas-example-aws
- Owner: gjerokrsteski
- License: unlicense
- Created: 2019-04-30T12:32:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T23:06:22.000Z (over 2 years ago)
- Last Synced: 2025-01-21T01:12:50.339Z (5 months ago)
- Topics: aws, aws-lambda, aws-lambda-node, awscli, cloud, cloudformation, example, faas, sam, serverless
- Language: TypeScript
- Size: 1.1 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# FaaS Example For AWS [](https://travis-ci.org/gjerokrsteski/faas-example-aws)
This example code is no production code and should be used for training purposes only!
## Prerequisites
* AWS Account `https://aws.amazon.com`
* AWS CLI `https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html`
* AWS SAM CLI `https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html`
* Install node and npm `https://www.npmjs.com/get-npm`## Start
1. Create an s3 bucket
1. Edit `./scripts/build-deploy.sh` and `./script/destroy.sh` and set the `AWS_REGION` and `aws_stage` and `aws_s3_bucket`
1. Run `npm i`
1. Run `npm run cloud`
1. Goto your aws account and api gateway to deploy your production api.
1. Goto the url that the terminal exposed and test if it works## Destroy
1. Run `npm run cloud:destroy`