r/devops • u/mrj1m0thy • Jul 09 '26
Discussion What is your optimal infrastructure
we're all striving to optimize our infra, but what would you say is the PERFECT infra configuration in your mind?
I'll go first
Product:
- micro services
- each service has its own git repo following a standardized directory structure
- each service has its own pipeline that scans the code and runs a full regression suite before a PR is merged to master/main
- each service has a health check that is actually accurate to the state of the service
- launch time for the services are minimal
- daily pipeline regression suite that updates a global dashboard highlighting all the current repo statuses
- SaaS ONLY (onprem is pain)
Deployment:
- terraform code base that is multiplatform, can be deployed to any cloud
- deployment process is executed by a pipeline with optional parameters for configure what kind of environment to deploy
- all services hosted in GKE/EKS or some other cloud hosting platform
- auto scaling horizontally and vertically
- all logs routed to logz.io and tagged by environment and service
- all deployed infra is tagged by its environment name
Monitoring:
- new relic, all the things go to new relic. (not sponsored, i just used it in the past and it was a dream when setup correctly. was just too expensive for my previous company at the time)
one thing i did learn is that the less you "have" to do. the better. and if your company can afford to outsource something, your life will be much easier.
0
Upvotes
27
u/stevecardinals33 Jul 09 '26
Mine would be a vegetable garden and my orchid tent because I’m never going to get to build my perfect architecture.
19
u/swingtradeotm Jul 09 '26
Dead internet
6
u/ohmyloood Jul 09 '26
My perfect infra includes not having to hand edit a json file to track inventory....
2
u/totheendandbackagain Jul 09 '26
Sounds good,
Why use logs.io when you already have New Relic to centralise the logs?
12
u/1_H4t3_R3dd1t Jul 09 '26
Just shove it in a box and move on.
8
u/azjunglist05 Jul 09 '26
Mine would be the optimal infrastructure based on the specifications of the system(s)
6
u/BlueHatBrit Jul 09 '26
Pretty much the only sensible answer to this is "no infrastructure". Everything you add past that should be to solve a specific problem your system and organisation faces.
There is no optimal infrastructure on its own, unless you like spending money for no reason.
1
u/forever-butlerian Solaris 8 Enjoyer Jul 09 '26
Solaris, mercurial, PostgreSQL, fibre channel hard drives, Kerberos, cfengine, and rrdtool.
Come and fight me.
1
u/ShivamCloudDevOps Jul 09 '26
For me, the "perfect" infrastructure is one that's boring to operate. If deployments are predictable and on-call engineers aren't firefighting every week, that's a win.
A few things I'd prioritize:
I've learned that the goal isn't to have the most sophisticated stack—it's to have one that's easy to understand, automate, and recover when something goes wrong.
-3
u/haf-se System Engineer Jul 09 '26 edited Jul 09 '26
I'd just let AI do it all for me. YOLO