News for hackers. Stuff that matters.
Re:Dawson – A Serverless Web Framework for Node.js on AWS by social_quotient on Tuesday March 21, 2017 @12:50AM (#13919942)
How is this differentiated from serverless.com ?
Re:Dawson – A Serverless Web Framework for Node.js on AWS by Vekz on Tuesday March 21, 2017 @01:04AM (#13919995)
If this works:

  # run your app locally
  $ dawson dev
They have that as advantage over serverless.com which is missing a dedicated local workflow
Re:Dawson – A Serverless Web Framework for Node.js on AWS by camhart on Tuesday March 21, 2017 @01:46AM (#13920124)
Re:Dawson – A Serverless Web Framework for Node.js on AWS by scrollaway on Tuesday March 21, 2017 @01:52AM (#13920144)
Is there an equivalent for the Python runtime? When I started using Lambda there wasnt, but I haven't looked at whether that changed since.
Re:Dawson – A Serverless Web Framework for Node.js on AWS by pmontra on Tuesday March 21, 2017 @02:16AM (#13920233)
Re:Dawson – A Serverless Web Framework for Node.js on AWS by tomd on Tuesday March 21, 2017 @05:00AM (#13920700)
Re:Dawson – A Serverless Web Framework for Node.js on AWS by simonel on Tuesday March 21, 2017 @06:11AM (#13920928)
We'll ship full first-class support for the python runtime (including the dev server) in dawson in a few weeks.
Re:Dawson – A Serverless Web Framework for Node.js on AWS by throwaway2016a on Tuesday March 21, 2017 @09:34AM (#13922009)
Also if you don't want to install serverless-offline there is "serverless invoke local" built-in.
Re:Dawson – A Serverless Web Framework for Node.js on AWS by pmontra on Tuesday March 21, 2017 @02:14AM (#13920221)
From what I saw in the documentation a difference seems to be

> You should be able to start using dawson without creating any configuration file

The configuration obviously exists. It is scattered around as

* environment variables for AWS secrets

* the api property of functions for defining path, params, etc [1]

* a package.json for everything else, maybe not necessary for a minimal deployment without db [2]

[1] https://dawson.sh/docs.html#4-function-configuration

[2] https://dawson.sh/docs.html#5-application-configuration

Re:Dawson – A Serverless Web Framework for Node.js on AWS by simonel on Tuesday March 21, 2017 @06:13AM (#13920940)
Thanks. The main goal here is to cover a couple of use cases without needing a single configuration line (aside from the app name, which is always required).
Re:Dawson – A Serverless Web Framework for Node.js on AWS by cyberferret on Tuesday March 21, 2017 @01:55AM (#13920156)
It all looks interesting, but I still don't see the advantage over pure Lambda? I get that it is a one command deployment, but really at the end of the day, does it save much time over zipping up my Node working folder and uploading to Lambda via the console? (In terms of installing extra framework stuff on my dev PC)
Re:Dawson – A Serverless Web Framework for Node.js on AWS by simonel on Tuesday March 21, 2017 @11:12AM (#13922865)
- it should make easier to replicate Lambdas to different AWS Regions or to use different stages (development, testing, production, ...)

- allows running of lambda functions locally, which significantly speeds up development

- provides you with a full production-ready environment (CloudFront + S3 + API Gateway + Lambda + ...) out of the box

Re:Dawson – A Serverless Web Framework for Node.js on AWS by rpedela on Tuesday March 21, 2017 @02:03AM (#13920177)
What if you want to automate a build/deployment?
Re:Dawson – A Serverless Web Framework for Node.js on AWS by cyberferret on Tuesday March 21, 2017 @02:19AM (#13920248)
Ok, I see the logic if you want to set up some sort of continuous automation pipeline. From reading the documentation, it looks like this sets up a whole suite of services for a deployment, including CloudFront etc.? Anyone got a sample of a real world deployment using this framework? Any nasty hidden surprises in AWS billing that you've experienced by doing so? (Not snarky - asking out of actual interest)
Re:Dawson – A Serverless Web Framework for Node.js on AWS by simonel on Tuesday March 21, 2017 @06:07AM (#13920918)
> Any nasty hidden surprises in AWS billing that you've experienced by doing so?

- just a few cents of S3 Storage (if you're out of the free tier) to host versioned Lambda deployment packages - which will expire automatically anyway.

- in production, by default, dawson creates an AWS WAF (Web Application Firewall) WebACL which cost ~5$/mo. You can opt out this behavior if you don't need one.