r/devops • u/Oxffff0000 • Aug 13 '26
Discussion How would you architect this?
There is a team that wants to develop a user interface so they can deploy resources such as ec2 instances, etc. We already have an automated pipeline that everyone uses and it deploys these resources already. However, they still want their own which is weird. We still have to build it for their new requirement. That's with the approval of the upper management which has already happened. Anyway, we are just devops engineers and we will follow whatever management commands us even if we don't like it.
I was thinking of building an api layer that developers can use(endpoints). They'll call the endpoints on their ui. I haven't decided which to use in the backend api, maybe aws sdk, boto3 or cdk, whatever. Making that work means, we'll have to setup proper IAM role permissions so that those resources they configured in their configuration files will be created. It's almost administrator permission equivalent is what they need.
I don't know if I am being too strict. It's because we've always kept the infra code just within our devops team. This is the first time a developer team would like to deploy their own resources using their own tooling.
How are you doing it? What's your implementation?
16
u/CorpT Aug 13 '26
I would push back on that on the grounds that that's crazy. There's no reason to re-invent existing processes except worse.
8
u/alexisdelg Aug 13 '26
Can you give them their own AWS account?
If they want to play around fine, but not in production or some place that i have to manage/be responsible for
4
u/[deleted] Aug 14 '26
I think the context is missing here. Schedule a call and talk it out what is preventing them of using the current deployment process, what they want to be improved and how are they expecting to interact with what are you going to build.
It might get to just a wrapper around what you already have with some cli that scaffolds some common infra that they have to deploy.
3
u/moader Aug 13 '26
Tell them to stop dicking around and use what already is setup and works and is secure. If you get push back, just say it's a massive security creep, which it is.
3
u/TheIronGolemMech Aug 14 '26
What problem are THEY trying to solve? Start there and work the problem backwards.
2
u/mw44118 Aug 13 '26
Youre gonna have to build your own proxy for every aws feature. Punt on this and tell them to use aws directly
2
u/TheSexySovereignSeal Aug 14 '26
Yo bro, I heard your company needs a SAAS engineer
So im a SAAS engineer who is so tired of doing work as a SAAS engineer that I want to create a SAAS that interacts with this new implementation of our existing SAAS so I can get on with my life
2
u/GeorgeRNorfolk Aug 14 '26
I'd say no; improve the existing process. I had a similar project which I thought was a waste to try to build a feature environment for a distributed monolith. I eventually relented on their third push for it after line management changes and I didn't want to throw away my political capital too early.
Five months later we had a MVP of a feature environment for the data microservices stack so teams could test data changes and see them via an elastic backed API. Nobody even tried to use it.
In that situation again, I wouldn't build it.
2
u/FloridaIsTooDamnHot Platform Engineering Leader Aug 14 '26
They will fuck up the security. Guarantee. Make sure you ask questions about how it meets any regulations you may be under (SOC 2 is a common one), separation of duties, patching. I guaran-fucking-tee they want you to handle all that shit. Decline since you didn’t set it up.
Everyone thinks they can do it better until they see the reality.
2
u/smftexas86 Aug 14 '26
you need to stop, and have a meeting. Find out why they want this, figure out a proper solution for what they want and implement it. They are your customer, it is your job to give them what they need in a way that makes sense for everybody else.
45
u/fletch3555 Lead DevOps Engineer Aug 13 '26
"..... no?"
Use our centralized IaC system (terraform or whatever) or don't, but I'm not granting access to directly create infrastructure to others.
That said, I'm in a small org where "centralized IT" is still a thing
37
u/cebidhem Aug 13 '26
Correct me if I'm wrong but, if they want to use a UI to deploy AWS resources somehow, can't they use the AWS console with the proper IAM roles granting them the necessary accesses to deploy some templates?
Of course you can do some flask and plug a ui on top of it but, is it worth the effort at this point?
6
u/ZedGama3 Aug 13 '26
The most common cause of a request that doesn't make sense is that the problem is not understood.
What problem are they trying to solve?
Too often people ask for action rather than help solving a problem. It sounds like they have already decided how to solve their problem and you're just an obstacle in the way. You should be grateful that they've done all the work to determine exactly what their needs were and tell you precisely what you need to do. /s
It sucks when management signs off on "just make them happy". When its not worth fighting, I find a way to give them their own bubble so their dumpster fire doesn't spread my way.
5
u/redvelvet92 Aug 13 '26
Build a simple web app that has ability to execute and wait for the status of the pipeline you already built. Make it fancy and whatever, add audit logs and a few things. Use whatever IDP you have to enforce all of the the roles, don’t reinvent auth basically.
3
u/Eastern-Ad4162 Aug 13 '26
I've used AWS Service Catalog in the past to create CloudFormation stacks of resources, you can use Terraform or CloudFormation, the user only goes to AWS Service Catalog and select the stack to provision, they can provide inputs such as instance size, VPC, etc or you set defaults and it provisions the stack. This is inside AWS Console so not sure if they want their own custom UI - might be worth checking AWS Service Catalog API.
5
u/Zealousideal_Sea7758 Aug 13 '26
Sounds like a pretty fun little AI project, I’d just hook it up as a simple browser based website with a github auth token or whatever that triggers the automated pipeline you’re talking about.
Claude can probably do this for you in a day or two!
2
u/Low-Opening25 Aug 13 '26
BackOffice is probably what you need.
2
u/LocalNo1880 Aug 14 '26
Look up IDP and specifically Kratix, backstage and golden paths. Thank me later 💜
0
u/match_a_matcha Aug 13 '26
I do not agree with a lot of the comments in this thread.
It sounds like your org is fundamentally not doing DevOps. You said you have a DevOps team and a Dev team. That’s certainly a way to structure an organization, and may or may not be correct, but it isn’t doing DevOps. You are a rebranded operations team.
What I personally believe is that developers should have the autonomy to deploy their applications however they like. Including in production.
If developers are asking for this, then they feel constrained and/or lacking autonomy by the current systems they have in place. However, I do agree that their proposed solution is complete ass.
The only solution in my eyes that makes sense if you want to do DevOps is you should un-silo the teams, cross train each other, and give them access to the same AWS console that you have access to as a single team. It doesn’t mean roles and permissions shouldn’t apply. Those exist for a reason, the same reason why you wouldn’t give an intern access to production.
If you don’t want to do DevOps, then just say no.
1
u/mrkurtz Aug 13 '26
Never in a million years
1
u/AwareDragonfruit4628 Aug 13 '26
Id tell them to swivel myself. Why you homebrewing a CI server / IaC? Name one good reason. If you can't hire better devs
1
u/1nt3rn3tC0wb0y Aug 13 '26
You've gone full circle! Lol
1
u/katlimruiz Aug 13 '26
Hmm why not giving something on top of github? Assuming you use it. You could somehow use github oauth, so it is linked to that user account# and the ui would simply trigger the workflow to deploy it. Cheap to develop, cheap to deploy (even github pages), and see how it goes.
1
u/db720 Aug 14 '26
So rebuild aws web console? Lovely.
We have a "no manual" policy for prod, iac through terraform or cloudfomation and sdlc pipelines for applies. Sandbox/r&d environments use iam roles + sso (we have account level environment isolation based on landing zone) so devs can do more clickops for developing stuff and aws sso login integration with ide for api based actions (actions could be things like creating sns topics, or sqs queues, pulling from queues for local dev, etc). Building a UI to do what aws web console does sounds like high effort with low value offering at a high level.
1
u/Pristine_Curve Aug 14 '26
This is a management problem. Fundamentally they are trying to pull control into their own team while your group retains operational responsibility.
1
u/Forsaken-Tiger-9475 Aug 14 '26
Lol someone approved a team to internally vibe code Backstage?
This industry is getting laughable
1
u/New-Entertainer6392 DevOps Aug 14 '26
If you can push them down then terraform route, can you have their UI push updates to a json file that terraform reads?
You can standardisation, it's in ioc, it's in source
1
u/PandalfTheGimp Aug 14 '26
Backstage
1
u/rhysmcn Aug 15 '26
Hey! If developers, QA — Some other engineering team, needs to deploy resources, or in other words, stacks, then I would potentially look into utilising one of the following (depending on the scale, and if they need to do this more and more in future)
Either way, I know how you feel, when managers “demand” things to be done a way that is not very professional - As DevOps engineers we want to do things the proper way, the mot scalable way, but unfortunately it doesn’t always work like this.
Good luck, dude!
1
u/imleodcasta Aug 15 '26
I think it depends on what is the purpose of the resources, is just a dev environment ? Is it production ? Is it both ? Because maybe you need to design how to promote configurations from environments, ec2 can have many options, how are they going to keep track of everything deployed ? If is prod how you are going to achieve security if they are in total control ?
You need to not only do the task but to solve the problem, maybe the issue is that they don’t know terraform to use the pipeline… in that case maybe you can create some scripts with the options they will have in UI
1
u/nihalcastelino1983 Aug 15 '26
When you saw their own does if mean they want their own version of iac or they want a different pipeline?
1
u/Jason-Sanders Aug 18 '26
I would avoid exposing a general resource-creation API backed by broad IAM permissions. Make the UI submit a validated request to the same versioned infrastructure definitions your existing pipeline uses, with a small catalog of approved configurations, policy checks, approval where needed, and an audit trail. That keeps the UI as a self-service front end rather than creating a second deployment path with administrator-level access.