Hacker News new | ask | show | jobs
by jacques_chester 4051 days ago
Those tools already exist -- platforms as a service. Heroku pioneered them and you can get on-premise installations of Cloud Foundry or OpenShift to play along at home.

I've worked on Cloud Foundry and basically it makes deployment a non-issue. Here's how you deploy the service:

    cf push the-microservice
And if you need 100 copies:

    cf scale the-microservice -i 100
Or maybe 2 copies with more RAM:

    cf scale the-microservice -m 4G -i 2
Need to update it?

    cf push the-microservice
You see where I'm going here.

I know it's fun to play Dr Frankenstein and hand-roll your own devops system. I've seen systems built out of 3 layers of Jenkins servers, two running Puppet, emitting timestamped RPMs played on fresh VM images. I've seen people use rsync, I've seen them use git, I've seen all manner of clever hacks and they all have the same problem.

You marry this system of deployment and upkeep and now you own it. Forever. By yourself. Then the genius who wrote it leaves, and you're stuck with a system literally nobody else uses.

There's no advantage to writing your own PaaS. Just use one off the shelf.

1 comments

yeah but I would prefer to work and learn that system rather than a giant monolith that nobody understand