Do you get the cross AZ redundancy? and you’re managing more servers and probably spending more than just using an ELB. What about the HA from the target servers? If you were using a load balancer + autoscaling group with a min/max of 2. If your server went down or your entire AZ went down, autoscaling would bring another one up. If the server or AZ went down running your load balancer, it would also be redundant?
One of our web servers crashed in the middle of the night once. I got an alert saying it crashed and that another one was brought up. I turned over, went back to sleep and investigated the next morning. If the “server” running an ELB crashed, I wouldn’t have to care.
Do you really think that you’re going to be changing providers Willy nilly once you reach any type of scale?
It’s just like all of the bushy tailed “architects” who use the repository pattern just in case one day their CTO on a whim decides to move their six figure a year Oracle installation to Postgres.
What business value is being added by going through all of the trouble of staying “cloud agnostic” compared to the lack of HA and maintenance.
Btw, we also don’t have to manage Jenkins servers. We have a cloud formation template with parameters and quick create link that a developer can click on to create a CodeBuild project anytime they want to create a new build project. They specify the Github link that triggers the job. You then specify your build steps as a list of bash (Linux) or Powershell (Windows) commands in a yaml file.
We could also do the same with CodePipeline - create a CF template that creates Code Pipeline jobs on the fly, but we do use OctopusDeploy for deployments.
CodeBuild runs Docker containers to run builds. Again no servers to manage but I believe by default it can run 50 builds simultaneously. If a build job needs custom tooling or a custom version of a runtime, the developer can build a custom Docker container to run the build.
You’re doing more work just in the eventuality that you may want to rip out your entire infrastructure and you’re paying more for the privilege.