Live data from Hacker News

Serverless Docker Beta

zeit.co

11–20 of 236 posts

Re: Serverless Docker Beta

#11

Yep. Pretty soon. You write code. You create a docker file. You find a place to run the docker file with your code [cheapest!]. Run it through your tests. Monitor it. The end. No vpcs,salts, puppets, sshs,chefs, horses,anisbles, cats,ec2s,devops,noops, sysadmins, kubernetes or chaos monkeys required.

I don’t think that’s likely or desirable. VPCs and the ability to make a service that’s not in the public internet are hugely valuable from a security standpoint. And Ansible, Terraform, etc are great for automation and managing configuration and architecture. It’s unwise to discard everything that came before you when hopping in the shiny new bandwagon. Even if it is the future, last generations tools can still teach you a lot.

Re: Serverless Docker Beta

#12
post #6

Looks great for basic websites but it's missing the biggest and most difficult piece of cloud infrastructure. The DATABASE! Today you'd have to open up your cloud DB provider to the world since Zeit can't provide a list of IPs to whitelist. This is a showstopper for me unfortunately.

Most databases are quite unfit for the serverless world that's becoming a reality, where the needs shift towards global replication, flexible horizontal scalability (sharding) and vertical (provisioned QPS).

We like and use CosmosDB because it fits this criteria. We anticipate that Google Spanner, CockroachDB and similar databases will become the go-tos in combination with ZEIT Now.

Re: Serverless Docker Beta

#13
post #5

Earlier quoted context omitted.

AFAIK at least AWS Lambda has a Docker based CLI that lets you run functions locally. I guess since the Zeit solution is based on Docker something like this should also be possible...

ah, I didnt know that. I assume you mean this? https://github.com/lambci/docker-lambda

I mean this: https://github.com/awslabs/aws-sam-cli

Re: Serverless Docker Beta

#14
post #3

My biggest problem with serverless functions is development and testing. Can I run these locally? even better offline?

As we mentioned in the blog post, there is zero difference between a `Dockerfile` you execute locally and one that you give to us.

[One of the differences is performance. You'll find that we can build and execute much more quickly :)]

There are many examples here: https://github.com/zeit/now-examples

Re: Serverless Docker Beta

#15

Yep. Pretty soon. You write code. You create a docker file. You find a place to run the docker file with your code [cheapest!]. Run it through your tests. Monitor it. The end. No vpcs,salts, puppets, sshs,chefs, horses,anisbles, cats,ec2s,devops,noops, sysadmins, kubernetes or chaos monkeys required.

Actually, even better:

You use dat or MaidSAFE to write client side apps. The back end is end to end encrypted, secure, automatically rebalanced, uncensorable, permissionless, and people install your app and use a cryptocurrency to pay for resources.

And of course you use public key cryptography to maintain your app and upgrades propagate without needing to select a domain or host for them.

Re: Serverless Docker Beta

#16

Yep. Pretty soon. You write code. You create a docker file. You find a place to run the docker file with your code [cheapest!]. Run it through your tests. Monitor it. The end. No vpcs,salts, puppets, sshs,chefs, horses,anisbles, cats,ec2s,devops,noops, sysadmins, kubernetes or chaos monkeys required.

Until you discover that the thing you are building requires more than a single application running in a single container and you end up building an entire "Operating System" around your containers and the circle starts all over again.

Complexity is hardly ever in the solution, but mostly in the problem. Single solutions to complex problems often ignore/forget important parts of the problem and they come back to bite you, hard.

Re: Serverless Docker Beta

#17
post #9

My biggest concern with serverless is pricing. How does it fare when compared to regular Docker hosting and vps hosting?

We will be announcing very clear pricing when it goes into GA. Needless to say, serverless makes for a much much cheaper (and robust) operation than VPS and traditional clusters.

Re: Serverless Docker Beta

#18
post #8

Yep. Pretty soon. You write code. You create a docker file. You find a place to run the docker file with your code [cheapest!]. Run it through your tests. Monitor it. The end. No vpcs,salts, puppets, sshs,chefs, horses,anisbles, cats,ec2s,devops,noops, sysadmins, kubernetes or chaos monkeys required.

this wont be popular but I always felt like docker was a step backwards in order to regroup and take a giant leap forward. I went from right clicking and deploying from visual studio to SSH and configuring dockerfiles, docker compose, even nginx.conf to loadbalance. You do get more bang for the buck with such setup but its too much work on infrastructure and less time for development. edit: add kubernetes to it, alth…

[deleted]

Re: Serverless Docker Beta

#20
post #9

My biggest concern with serverless is pricing. How does it fare when compared to regular Docker hosting and vps hosting?

If you can leverage caching solutions (client, CDN, etc.) it could be a good chunk cheaper.

Maybe it simply leads to smaller teams and you save in employee costs.

Post reply on HN