30
loading...
This website collects cookies to deliver better user experience
Scaling Perhaps most obvious, it helps with scaling. If you need to install 1,000 servers, doing it manually would take weeks or longer. If you can do it with some code, then at least the human interaction probably takes just a few minutes, then you can walk away to play Fallout or something, while the servers chug away in the background.
Reproducibility Even with a small number of servers (like, I don’t know… one?) there can be a benefit in reproducibility. Think back to the last time you got a new laptop and you had to configure everything just the way you like it. You probably installed your favorite browser. Your favorite music player. Your favorite text editor. Then you had to enable dark mode. Oh, and you had to configure your mail client again… If you had all of this configuration as code, then in principle you could just run your code, and have a working environment.
gcloud
, kubectl
and helm
commands to create a Cloud SQL database, set up some networking, and launch the necessary services.30