Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lowdefy/lowdefy-example-aws-lambda
https://github.com/lowdefy/lowdefy-example-aws-lambda
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lowdefy/lowdefy-example-aws-lambda
- Owner: lowdefy
- License: mit
- Created: 2021-06-10T10:10:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-06T07:37:16.000Z (about 3 years ago)
- Last Synced: 2023-03-04T00:22:32.774Z (over 1 year ago)
- Language: Dockerfile
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lowdefy example AWS Lambda
Lowdefy apps can be deployed to AWS Lambda serverless functions by using the [lowdefy/lowdefy-aws-lambda](https://hub.docker.com/repository/docker/lowdefy/lowdefy-aws-lambda) Docker images. These images contain a Lowdefy app server. To deploy to AWS Lambda a new image that contains the app configuration, based on the Lowdefy base image, should be built. This image should then be pushed to a private AWS ECR registry. From there it can be used to create a Lambda function.
## Deploying to AWS Lambda
### Requirements
- The [AWS CLI](https://aws.amazon.com/cli/) should be installed and authenticated.
- You should have [Docker](https://docs.docker.com/get-docker/) installed.Deploy to AWS by running:
```
npx serverless deploy --verbose --conceal --stage dev
```This will create a ECR registry if it does not exist, and deploy an AWS Lambda function with a API Gateway HTTP api integration.