r/devops • u/TechnologyMatch • Oct 02 '26
Ops / Incidents When does self service infrastructure become too much self service?
We pushed pretty hard to let dev teams handle more of their own infrastructure changes.
It worked, but now the platform team spends a lot more time reviewing Terraform, fixing edge cases, and explaining context that isn't obvious from the repo.
At some point it feels like the bottleneck just moved instead of disappearing.
Has anyone found a good balance between developer ownership and keeping infra changes sane?
36
Upvotes
View all comments
1
u/ArieHein Oct 02 '26
I will give you an example i implemented in previous employer. When you create a vm, you can configure the amount of cpu, memory, disk, family and more. Naturally you parameterize it all, then create matching form in what ever you chose to use, let say a servicenow form.
Now every request that comes you have to validate that the the machine family exists or available, that the number of cpu is logical (cant be number that is odd), that memory devides in 1024, that disk space isnt random number.
You can add the validation at the form sometimes at the closest point to the customer or on your side (hopefully not manual).
Then the values are sent to what ever infra tech you choose.
A month later, families are removed, specific count of cpus/memory /disk no longer available. And you have to change form / change logic.
Lets look at it differently.
You create a repo with say sizes.json, in it you cretae a structure based on workload and size.
Workload - Size - CPU - Memory - Disk Size General - Small - 2 - 4 - 40 General - Medium - 4 - 8 - 80 Data - Regular - 16 - 256 - 256
The form reads the json and generates the ui. Workload is a field in the form for user to choose. NO user input to validate. Form leaves a field for custom that triggers a manual validation. Track the requests, multiple people ask General with more resource .. You update the json. Form immediatly generates it. (reducing the need for depending on service now specialists to create and approve) .
Team owns their stack.
The json becomes your governance.
When ever a value can be infered or calculated based on your rules, the rest is for user input.
I dont need a user to tell me how to call the subscription or resources. I know what workstream they are from as they added to the project nane (or i inferd from their user prooerties) , the project id/budget, who the personel are/roles. (potentially getting that from a different internal system via api)
Rest is purely automation.
For infra, i took modules combined them into mutiple stacks (i used that term before hashi used it for their cloud) and the user chooses a stack that matches. The stack exposes ONLY the minimum inputs needed.
Your description is a nicer ui on a dreaded service now...
Place a rule of 5 clicks from request to deploy then break the process to see where to automate and what values are really needed. Leace room for custom but close the feedback loop and add a XL machine type whule maybe removing the Small one as no one is using.. Needless to say, metrics are key.