3 ms·
The "0 to 1" workflow right out of AWS could not be easier, they have an in-browser code editor with a hello world already written for you. But that workflow d
by jotto 10y ago
The "0 to 1" workflow right out of AWS could not be easier, they have an in-browser code editor with a hello world already written for you.
But that workflow doesn't make sense for real dev teams. So there's https://github.com/serverless/serverless https://github.com/serverless/serverless . It's driven by a yaml file and is intuitive.
The only thing I'm bothered by is lack of environment variables (have to hard code them) and terrible API Gateway latency - see https://news.ycombinator.com/item?id=12681926 https://news.ycombinator.com/item?id=12681926 further down the page
- pmontra 10y agoFor js projects you can work around that problem with const config = require('./config.json'); Then you do config.secrets.apiKey etc You have to gitignore config.json and include it in serverless.yml Other languages might have to read and parse that JSON into one of their data structures.
- joeyspn 10y agoHave you seen https://github.com/silvermine/serverless-plugin-write-env-vars https://github.com/silvermine/serverless-plugin-write-env-va...?
- gjolund 10y agoServerless was nowhere near ready the last time I looked. Are they still requiring sn unrestricted iam profile? That is a non starter for most orgs. Also, I found working with serverless to be pretty unintuitive. You are relying entirely on large config files and it was very difficult and time consuming for me to test and rollback several different configs.