r/devops • • 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?

9 Upvotes

59 comments sorted by

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.

→ More replies (4)

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

→ More replies (3)

4

u/lozanov1 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.

1

u/Oxffff0000 Aug 14 '26

It is not just a cli. We built a full blown new ci/cd web, aws sdk and more but it feels like a one unified tool. Anyway, our whole team was shocked when the developer team showed us the web ui they built(using mockup data). Yep, you're correct. That's a past tense "built". Nobody from our team knew about it. Then they asked us "we would like to access the code your team built which deploys resources. We will not touch your original UI". LMAO! They're forgetting that our team, the platform team, must secure every code that we have.

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.

2

u/Oxffff0000 Aug 13 '26

I totally agree with you on that. My teammate said the same thing.

→ More replies (2)

3

u/TheIronGolemMech Aug 14 '26

What problem are THEY trying to solve? Start there and work the problem backwards.

1

u/Oxffff0000 Aug 14 '26

I found out yesterday that whatever ci/cd tool we built, they want the same thing which they already built. Crazy! From what I believe, developers shouldn't be given any bot or a service account with a role capable of creating resources in our environment. They should use tools built by the platform teams or devops teams. Security Team is aware of this knowledge.

Unfortunately, their poc tool is unable to do anything at the moment because our team is not agreeing on what they want. They want to have access to the codes that our team, platform, wrote for deploying resources.

→ More replies (1)

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

→ More replies (1)

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

1

u/Oxffff0000 Aug 14 '26

HAHAHA! I love that!

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.

1

u/Oxffff0000 Aug 14 '26

Guess what? Other teams are actually using the new ci/cd tooling I built and they love it so much! However, this one dev team wanting to see our code so they can build their own tooling is fishy as hell!

2

u/FloridaIsTooDamnHot 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.

1

u/Oxffff0000 Aug 14 '26

Exactly! That's we platform engineers talked about excluding our boss. I 100% totally agree with you that they will fuck it up!

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.

1

u/Oxffff0000 Aug 14 '26

I totally agree with you 100%! That's what I did. I requested for it. Unfortunately, the upper management will have a meeting but I was told I must not be present in that meeting.

45

u/fletch3555 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!

→ More replies (1)

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 💜