A developer needs a test environment for a new API that they can write, test and then verify in production. But setting up a repository, a deployment pipeline, permissions in the cloud and logging is too much work for a simple test. They need to send individual requests to individual queues, which by the time the environment is set up takes more time to set up than to test the API.
Now multiply this by an enterprise and you get a sense of the cost. But platform engineering turns such recurring requests into self-service flows with the appropriate security and operational control. The work of platform engineering thus starts with identifying the pain points where teams are spending time and the decisions that can be standardized.
What an internal developer platform does
Platform engineering is the practice of building and operating shared capabilities for software teams. Internal developer platforms (IDPs) are the way that teams of developers use these shared capabilities. IDPs can be provided as a portal to find and start to work through a workflow, a command line interface, or even API access to the individual components of the platform such as repository templates, provisioning of infrastructure, build and deployment processes, and monitoring and observability. Cloud Native Computing Foundation
The example in the video shows a team of application developers creating an internal inventory API. The first step of the workflow for the developer is to select a service template for approved services, enter the name of the owning team for this new service, and select the appropriate data classification for this service. The platform then creates and configures all the necessary items for the application team including a repository for their new API service, a build and deployment pipeline for that service, test environments for that service, and configures logging for that service. For production, approval of the service follows the current approved services for that team. The application team is responsible for the code for that new internal service and for service incidents for that newly created service. The platform team is responsible for the shared workflow and can assist individual teams with that workflow should there be any problems with it.
A golden path is a supported way to do things. That means the default way needs to cover most of the cases and there needs to be a clear way to handle exceptions. For example, a service handling regulated data might require a separate environment or special reviews. But then again, if several teams need the same exception, that might be worth supporting as a second golden path as well. CNCF Platform Engineering Maturity Model
Start with a workflow developers already use
A useful pilot is getting a new service with an empty repository to the first successful test deployment. Follow a few teams through the existing process in detail, recording the time spent on every step, the handoffs causing delays, and the mistakes that have to be corrected. Involve security and operations to identify which of the checks can be automated by the platform and which have to be decided by human judgment.
Have a small set of teams use the workflow for real work. See how they handle failures. Can they easily find and retry the error? Can they easily tell whether the problem is with their application or with the platform? This gives your platform team a very concrete list of things to do. Also, it helps to decide whether something needs to be documented, if error messages need to be improved or if changes to the workflow itself are necessary.
Measure what changes after launch
While your portal might attract plenty of visits in the first days after launch, it might still take your developers days to set up an environment. Measure the median time of the first successful deployment of your services through the shared workflow, the percentage of teams that complete the full workflow without opening a ticket, and how frequently they choose to use the shared portal for their next service. Compare the change lead time and change failure rate to the teams that don’t use the shared portal.
For more details on DORA’s 2024 research into internal developer platforms (IDPs) and their impact on teams’ productivity and performance see their full delivery process metrics. The mixed results there for example for individual and team productivity, compared with lower delivery throughput and change stability, mean that you need to measure the full delivery process not just the time to create services to get a true feel for where things have shifted in terms of work in the workflow.
Watching a team start a new project and using the shared workflow again is the best way to determine whether the effort should be expanded to the rest of the enterprise. Being able to deliver a working deployment in less time and fix routine failures without the platform team is key.