Skip to content
idea section

Insights · Architecture · 2 min read

Managed Backend or Custom Infrastructure? A Lesson for Fast-Growing Products

Updated

The short answer

A fully managed backend speeds up early development but can become a risk at scale, especially when several developers deploy to one shared stack and your data is tied to it. Before committing, check how you recover from a corrupted deployment, whether data lives apart from infrastructure, and how hard migration would be. For fast-growing products, a hybrid of serverless functions and a custom API often gives more control.

Founder's note: On a marketing audience platform aiming for millions of users within a month, the backend was built on AWS Amplify. Once several developers deployed to it at the same time, the CloudFormation stack got stuck, data was lost, development was delayed, and extra resources went into recovery. I recommended a hybrid approach instead. — Hamza Tauqeer

What is the trade-off with a fully managed backend?

You trade control for speed. A managed stack gets a prototype running fast, and for small teams and early validation that is often the right call. The cost arrives later, when you need to control deployments, data and scaling yourself.

What went wrong on that platform?

  • Shared deployments: several team members deploying to the same stack at once got it stuck.
  • Data tied to the stack: when the stack failed, the data linked to it was lost.
  • Slow recovery: if the CloudFormation stack was corrupted, there was major downtime, and recovery sometimes took a day.
  • Wasted effort: the team lost development time and spent extra resources recovering.

For a product expecting a very large launch audience, each of these is a business risk, not just a technical annoyance.

What did I recommend instead?

A hybrid:

  • Serverless functions (Lambda) for event-driven parts.
  • A custom GraphQL server on EC2, run with ECS, for the core API, so it can scale on your terms.

The front end was already built on GraphQL, so moving meant rewriting only the backend. Choosing a stable interface early is what kept that switch small.

When is a managed backend still the right choice?

For prototypes, small teams, internal tools and low-risk validation, it is often the fastest and cheapest start. The point is not to avoid it. The point is to know when you have outgrown it.

What should you check before choosing infrastructure for growth?

  1. Does your data live apart from the deployment stack?
  2. How do several developers deploy safely at once?
  3. How long would recovery take if the stack were corrupted?
  4. How hard would migration be, and does the interface stay stable?
  5. What happens to cost at 10x the load?

Tools change, so check how the current version of any managed service handles these before you decide.

Related reading: monolith vs microservices and scaling a connected-device network 10x. If you are choosing infrastructure for a product now, a discovery phase can review the options before you commit.

Weighing this decision for your own project?

Tell us what you’re trying to achieve. We’ll help you see the next step.

Discuss your project ↗