Using Backstage to automatically ingest EKS metadata

Using Spotify's open source developer portal to manage EKS metadata.

by Using Backstage to automatically ingest EKS metadata
updated August 24, 2022

Using Spotify's open source developer portal to manage EKS metadata. 

Here at LegalZoom, we're huge fans of Backstage. For those that are unfamiliar, Backstage is an open source developer portal originally built by the engineers over at Spotify. To quote the Backstage website - "Backstage restores order to your infrastructure and enables your product teams to ship high-quality code quickly — without compromising autonomy." This statement really resonated with us - as a company, we want to be able to move fast to provide new value for our customers - and developer autonomy is critical for us to accomplish that!

One major component in our developer platform that enables us to move quickly is Kubernetes - managed via Amazon's EKS service. Across our Kubernetes fleet, we run 100s of discrete applications, each running in their own namespace (we create these all through Backstage as well, but that's a story for another post). As we scaled our developer platform up, we quickly realized that we'd need an easy way to track metadata across our entire fleet. Since we were already leveraging Backstage as our service catalog, it felt like a natural place to track this information. We got to work, and scrappily put together an internal plugin that hooked into the EKS APIs to ingest data.

After we had finished building the plugin, we decided to open source it. We'd had a few interactions previously with the Backstage team, and found them to be overwhelmingly supportive and helpful of contributions from the community. After submitting our PR, and a few quick back and forth review comments, we were able to land our EKS ingestion code into the main project! If you want to start ingesting your own EKS data, it's as simple as adding a location like the one below to your service catalog.

const location: LocationSpec = { type: 'aws-eks', target: '12345678910/us-west-2' };

 

 

 

 

About the Author

Using Backstage to automatically ingest EKS metadata

Using Spotify's open source developer portal to manage EKS metadata.  Here at LegalZoom, we're huge fans of Backstage… Read more