Re:How much can you get out of a $4 VPS?
by chillfox on Monday February 06, 2023 @12:16PM
(#34680627)
The key is to use some kind of config management, even for a single box. The problem you need to solve is basically to separate your configurations from the system default and make it easy to bring the system into a known good state.
[ Parent
| on HN ]
Re:How much can you get out of a $4 VPS?
by regularfry on Monday February 06, 2023 @01:08PM
(#34681515)
I do think there's something in there about the immediacy of a replacement if a currently-live box falls over. Rough rule of thumb says it's hours for a physical box, minutes for a VM, seconds for a k8s container, a hopefully smaller number of seconds for a serverless cold start. Each of those has ergonomics different enough that it might matter even with config management that rhymes across the options.
We should design a protocol that bootstraps newly booted systems via some protocol.. We could call it the Bootstrap Protocol, or bootp for short...
Re:How much can you get out of a $4 VPS?
by chillfox on Tuesday February 07, 2023 @04:22AM
(#34690531)
Sure, but if you are considering a physical box then you have presumably already decided that you are OK with it taking longer to replace.
This is now eating into the cost savings over a cloud deployment.
Re:How much can you get out of a $4 VPS?
by speedgoose on Monday February 06, 2023 @03:00PM
(#34683406)
But most cloud deployments have config management too. Using Ansible/Terraform/Kubernetes on bare metal isn't much different than using Ansible/Terraform/Kubernetes in the cloud.
Re:How much can you get out of a $4 VPS?
by doesnt_know on Monday February 06, 2023 @03:05PM
(#34683498)
How so? You should still be doing those things with cloud deployment anyway. The alternative is (the pretty terribly named) "click ops" where devops folks have to fiddle with some cloud UI settings to make production changes or go through wizards to attempt to replicate an environment.
If you are doing your environment config as code it ultimately shouldn't matter if your target is a dedicated server, a vm or some cloud specific setup configured via an api.
Re:How much can you get out of a $4 VPS?
by chillfox on Tuesday February 07, 2023 @04:26AM
(#34690564)
You don't escape configuration with the cloud unless you are talking about the most simple of use cases on a platform like Heroku.
Re:How much can you get out of a $4 VPS?
by TedDoesntTalk on Monday February 06, 2023 @09:15PM
(#34687710)
Ansible
Re:How much can you get out of a $4 VPS?
by chillfox on Tuesday February 07, 2023 @04:18AM
(#34690507)
yes, or Puppet, Aviary, Shell, CFEngine, Salt, Capistrano, etc...
Doesn't really matter which one, the point is that you have one that can build you a new box or bring a misbehaving box back to a know good state by simply running a command.