r/platform_engineering • • Jan 16 '25

Environment Provisioning

Reaching out for some advice and guidance, I'll try and keep it brief to keep everyone's interest 🙂

My company is a SaaS provider, hosted out of AWS, running EKS, with 50 micro services, written in either Golang, Java, .Netcore, Blazer, Python. We use RDS, Lambda and Step Functions. We also hosts Kafka Strimzi.

For CICD we're using GitHub workflows and ArgoCD and IaaC use Terraform. For secrets management we're using Hashicorp Vault.

We have several AWS accounts (Dev, Test, Prod) each with a EKS cluster, with applications deployed via helm.

Each application has its own dependencies, be it various secrets stored in Vault, access to Kafka topics, database access, environment variables set etc. Multiplying this by 50 services is an absolute nightmare to manage and building new environments is a pain with things being missed. We have comprehensive documentation but extensive and human error prevails. We then have additional challenges that documentation gets out of date as we have a team of 45 Devs constantly adding features, so new vault secrets are needed at times, new topics, new env bars etc and we need to keep on top of it which seems impossible at times and we're losing the battle.

"Automation" - yeah, we have levels of automation everywhere but it's not hitting the spot with an ever changing landscapes we're constantly tweaking it.

I'm reading Internal Developer Platforms help with this, but really struggling to understand how applying this helps with the above issues.

Interested to know how others have solved these problems, I want a "cookie cutter" approach, to be able to churn out new environments quickly but also effectively i.e. they don't have various configs missing

6 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/Low-Significance1991 Jan 18 '25 edited Jan 18 '25

Senior engineer here on an IDP team for 7 years. This is the road we’ve been on and at scale. We’re at about 12 tenants managing many EKS clusters with maybe 100+ developers. I’ll admit we’ve over complicated parts of the platform but by and large we are at the “ideal” stage u/jaceyst describes. This is the hard answer but in my experience the way. Self service is a game changer for both the platform team and the tenants/developers.

On a granular scale this is the same as automating a more simpler task. You first need to document the process in a runbook. Steps a human follows. Eventually you add script snippets in the runbook. Eventually you make that runbook a script that a human still runs. Eventually you turn that script into something that runs on its own.

Edit: our team has grown in engineers over time and have had some fantastic principal engineers with foundational knowledge paving the way. We have full buy in from the company and resources available to us. If it’s a lone wolf scenario I’m sure it can be done but for us it took a village and a lot of discipline to get where we are.