What applications are a good fit for serverless? Which can utilize the benefits of event-driven architecture, blazing-fast deployment times, incredible scalability, and decreased cost? Launch this Serverless Application Model (SAM) repository to get started and find out!
What does it do?
This project will launch a single lambda function behind API gateway in your environment that grabs some statistics about running Elastic Beanstalk environments. Don't have any Elastic Beanstalk apps? Just skip this repo and head over to servers.lol to enter in information manually.
- Clone this repo.
- Change the PASSWORD environment variable (Line 16) of the template.yml file to a unique password to be used for API Gateway authorization (instead of "none").
- Run these commands inside the directory:
yarn && yarn run deploy
npm install && npm run deploy
If you'd like to hack on this project, here are the details:
Watch mode - outputs json data to console
yarn run watch
Use SAM local for spinning up server (localhost:4000)
yarn run api