In an engineering team’s day-to-day work, requests usually arrive as specific tasks: build a pipeline, automate a process, or reduce the cost of a service. Organizing work this way helps us know where to start, but it rarely tells the whole story of the system we are about to change.
Behind each task is a need, people who depend on the outcome, and earlier decisions that shape what we can do. Some of that context may be documented. The rest may take conversations with the team or an investigation into why things work the way they do.
It is easy to skip those questions when the work looks familiar. We remember how we solved it on another project, find a template that seems to fit, and start thinking about which names and variables to change. Having a reference lets us move quickly and can help us avoid mistakes others have already solved.
But that familiarity can also make us assume we understand something we have not yet examined: why that solution was suitable and whether the same conditions apply here.
Two projects can ask for the same thing and need different solutions, because the requirement is only part of the context.
The same requirement, two different settings
Consider a familiar request: “we need a pipeline to deploy this application.”
At a large company, that pipeline may belong to a platform shared by many teams. It might need to coordinate changes across services, separate permissions by responsibility, and pass through several approvals before reaching production. There may be a dedicated team maintaining the platform and responding when it fails.
Now take that pipeline to a small company where one team develops and operates an application. The goal is still to deploy safely, but the people involved, the dependencies, and the time available to maintain the solution are different.
Copying the entire structure can introduce steps to coordinate teams that do not exist, components nobody knows how to maintain, and resources that cost money without meeting a current need. The deployment works, but every change takes more effort than necessary.
That team might need a more direct flow: test the change, build an artifact, deploy it with limited permissions, and be able to return to a previous version. They can retain important controls without adopting the entire structure of the reference project.
Size alone is not a sufficient rule either. A small company may have strict isolation requirements. A large company may be able to meet a particular need with something simple. What matters is identifying the conditions that explain the solution and which of them apply to our situation.
The code does not explain every decision
A template shows us how something is built. It often leaves out why it ended up that way.
A manual approval might exist because two teams share a sensitive dependency. A separate environment might serve an access restriction. A step that looks redundant might have been added after an incident.
Copying those pieces without understanding their purpose can bring along decisions we do not need. Removing them just because they look complicated can take away a protection we actually rely on.
Using a reference therefore requires more than getting it to run successfully. We need to understand what each part is responsible for and what would happen if we changed it.
Sometimes that review confirms that we should reuse almost everything. Other times, we keep a module, a technique, or a few ideas. The result depends on what we are trying to solve and what we can maintain afterward.
This applies to our own solutions too. Having built something before gives us a familiar reference, but the new project may have very different constraints.
A ticket can carry assumptions too
The same difficulty appears when a task already describes a specific action: remove resources, add capacity, automate a step, or migrate a service.
That wording helps organize the work, but it also proposes a way to solve the problem. If we go straight to execution, we can accept a decision that still deserves examination.
For example, behind “remove unused resources” there may be a broader goal: reduce the cost of operating a system. Removing resources is one option. Understanding why they exist can reveal others.
This happened to me while working on cost optimization.
The ticket asked me to remove VPC endpoints
The task was specific: “Remove unused VPC endpoints.”
A reasonable way to handle it was to review metrics, identify candidates, confirm they were no longer needed, and remove them. The scope was limited, with a direct connection between the work and the expected savings.
But while reviewing the endpoints, I started looking into why so many had been deployed.
I found several VPCs, each with endpoints for access it needed occasionally. That changed how I interpreted the metrics: low activity did not necessarily mean a resource was unnecessary. Under that arrangement, it still served a purpose even if it saw little use.
If I kept reviewing endpoints individually, I was accepting that all those VPCs needed to continue existing separately.
The question that changed the work was why we needed to maintain that arrangement. Alongside checking which endpoints were used, I needed to understand what justified the VPCs that required them.
We consolidated the infrastructure into a single VPC, preserving the access we needed and retiring the VPCs and endpoints that were no longer necessary.
A resource can be justified within the current design, but sometimes we also need to examine whether that design still fits the system’s needs.
Understanding why we needed so many endpoints allowed us to address the cause that made them necessary.
The broader solution required more coordination
Consolidating took more coordination than simply identifying and removing unused endpoints. The proposal affected how the infrastructure was arranged and expanded the original task’s scope.
A decision like this requires understanding dependencies, reviewing access boundaries, and agreeing on how to make the change. It also requires considering which isolation boundaries are lost or preserved when sharing a VPC and how to verify that access still works before retiring the previous infrastructure.
That effort is part of the solution. The potential savings need to justify both the migration work and the risks of the change.
In this case, consolidation was the decision that best served the goal. That does not make a single VPC a recommendation for every system. In another context, separate VPCs may serve isolation requirements, different ownership responsibilities, or constraints we need to preserve.
Copying the outcome of this experience without examining those conditions would repeat the template problem: adopting a solution without understanding what made it suitable.
That is why the lesson I took from this work goes beyond consolidation. The ticket proposed a valid action, but investigating the context helped us find a more complete way to reduce costs.
Using references with judgment
The pipeline and this cost optimization experience have something in common: both offer an answer before we fully understand the problem.
In one, the answer comes from a project that already works. In the other, it comes from the wording of the ticket. Both are useful starting points, but we still need to check them against the system we will be working on.
Before committing to an implementation, I try to clarify a few things:
- What is the problem? What is happening, who does it affect, and why do we need to address it?
- The intended outcome. Are we trying to reduce costs, deliver changes faster, reduce failures, or meet a specific constraint?
- The conditions we must respect. Who uses this, who operates it, and what dependencies or access boundaries does it have?
- The reason for the current solution. What need explains each component? Does that need still exist?
- The cost of the proposal. What will we have to maintain, and which risks come with changing or keeping the design?
This does not always require a lengthy investigation. Sometimes reading documentation and talking to someone who knows the system is enough. Other times, we need to observe a complete usage cycle or run a small experiment to validate an assumption.
Understanding the problem also means recognizing what we still need to learn before making a decision that is difficult to reverse.
I want to keep using code, templates, and previous experience. They are part of how we make our work more efficient. But a solution that worked in another context needs an explanation of why it also fits here.
To me, engineering includes developing that explanation: understanding what is worth reusing, what needs adapting, and which need we could meet better by revisiting the original framing.