News for hackers. Stuff that matters.
Re:Chalice: Python Serverless Microframework for AWS by nostrademons on Monday July 11, 2016 @05:48PM (#12074996)
I think the appeal of Lambda is that most services get zero-to-low usage, and so something which is "pay only for usage" may be a net win over dedicated computing resources if you use it for the right parts.

I've had a number of startup ideas that went nowhere, and it would've been handy to test & demo them without springing for the full $17/month for an EC2 t2.micro instance. Usually they have some key aspect that's prevented me from running them on Lambda (eg. you can't exactly run a hacked Node.js binary on Lambda, and sending push notifications from it requires going through SNS and adopting its API), but if I could run arbitrary code & third-party packages and pay for only the computing time I use, it's an attractive proposition.

In general you use AWS for convenience anyway - if you're concerned about minimizing costs, you can sometimes get 10x price/performance ratios by moving to dedicated hosting.

Re:Chalice: Python Serverless Microframework for AWS by SwellJoe on Monday July 11, 2016 @09:11PM (#12076057)
As already mentioned, $4-$5 gets you a tiny instance all month. But, for me, I just run my small jobs on my existing virtual machines, generally speaking. I have a bunch of servers, they already have my necessary libraries, files, and database information and caching and such setup. Running a cronjob, or something triggered or pulled from a queue, is trivial and practically free.

My feeling on this is that if the job is small enough and infrequent enough, I don't care about its impact on other services so I can run it anywhere (and it's effectively free in such a case), and if it's large enough and frequent enough then setting up for it in Lambda every time is wasteful and I probably want a system (even if a small one) dedicated to the job, for probably less money. There's probably a sweet spot in there somewhere...but, it's not high on my list of things to integrate into my infrastructure.

Re:Chalice: Python Serverless Microframework for AWS by brianwawok on Monday July 11, 2016 @06:01PM (#12075108)
Really $17 for a micro? Baby gce machine is $4.
Re:Chalice: Python Serverless Microframework for AWS by vacri on Monday July 11, 2016 @08:02PM (#12075741)

    google micro (1 cpu, 0.6GB ram): $0.006/hr
    amazon nano  (1 cpu, 0.5GB ram): $0.0065/hour
    
    https://cloud.google.com/compute/pricing
    https://aws.amazon.com/ec2/pricing/
    in both cases, +disk, +traffic
Not exactly a crippling difference.
Re:Chalice: Python Serverless Microframework for AWS by nostrademons on Monday July 11, 2016 @08:08PM (#12075766)
Oh interesting...are nano instances new? Didn't see them last time I was looking for a "just throw up a demo" machine.
Re:Chalice: Python Serverless Microframework for AWS by vacri on Monday July 11, 2016 @08:14PM (#12075800)
They've been around for a few months, but like all new AWS things, they're being slowly rolled out across regions, so may not be available everywhere. Flick through the 'region' dropdown in that pricing link to see if they're available where you want them.

The micro went from 0.6G to 1G ram in the 't2' generation, and the nano fills the need people have for the old micro size. I use them for bastion/nat boxes :)

Re:Chalice: Python Serverless Microframework for AWS by brianwawok on Monday July 11, 2016 @08:04PM (#12075745)
Except google gives you a discount just for using the instance. Amazon requires prepayment
Re:Chalice: Python Serverless Microframework for AWS by vacri on Monday July 11, 2016 @08:10PM (#12075779)
Swings and roundabouts. AWS gets flak for having expensive data transfer costs; Google's data transfer costs are even higher (both listed at same links above).

My point is that when you compare apples to apples, it's really not all that different.

Re:Chalice: Python Serverless Microframework for AWS by nostrademons on Monday July 11, 2016 @06:20PM (#12075243)
Yup. AWS prices suck, in general. If it weren't for the large (multi-terabyte) dataset I need for my current project that they're hosting for free on aws-publicdatasets, I'd probably switch to Google Cloud. I may yet switch, which illustrates the danger of relying on proprietary APIs like Lambda.