04/07/26

How Pallet built an event-driven AI logistics platform on GCP without touching Terraform

When Pallet pivoted to AI, they used Encore to stand up a production-grade platform on Google Cloud

5 Min Read
Pallet

When the product direction changes, the platform has to follow

Most growing companies hit the moment where they decide to go all-in on a new product direction. Maybe it's a pivot, maybe it's a new product line, maybe it's a bet on AI. Whatever the trigger, the engineering team suddenly needs to build something ambitious from scratch, and fast, while making infrastructure decisions they'll have to live with for years.

That's exactly where Pallet found themselves. A Series-B funded supply chain technology company, Pallet had spent three years building a traditional logistics system of record (TMS). In early 2025, they made the call to pivot and build an enterprise AI logistics platform for supply chain companies.

It was a greenfield moment. New architecture, new requirements, new stakes. CTO Nilkanth Patel needed to stand up a production-grade backend quickly, without making the kind of shortcuts that would slow the team down 1-2 years later.

The challenge: speed now, without paying for it later

The Pallet team had clear requirements:

  • Event-driven architecture. Everything in the system would be triggered by events.
  • Fast local development. Previous experience with Django and Rails meant 30+ second reload times, which was unacceptable.
  • No infrastructure overhead. No one on the team wanted to manage Terraform, service accounts, or deployment pipelines.
  • Real cloud providers. They wanted to be on GCP, AWS, or Azure for enterprise customer trust and long-term viability. Not locked into a PaaS like Render or Supabase.
  • Fast developer onboarding. The team was growing quickly, so new engineers needed to be productive fast.

"I am a product-oriented engineer. I don't have an extensive background in DevOps or infra. I've used Terraform, but generally I don't want me or my team to deal with it."

Nilkanth Patel, CTO @ Pallet

Why Pallet chose Encore

The team evaluated Hono, Bun, Elysia, and FastAPI, with a preference for TypeScript. Nilkanth discovered Encore when researching TypeScript API frameworks and quickly saw that it solved for more than just the framework layer.

"Because Encore is this hybrid of an API framework and a deployment platform, it actually was great. I could check both of those boxes with one tool."

Nilkanth Patel, CTO @ Pallet

What sealed the decision was Encore's unique combination of benefits:

  1. Infrastructure as code, but actual code. Not Terraform, but real TypeScript objects that automatically provision the right cloud resources.
  2. Cloud-native without the lock-in. All resources live in Pallet's own Google Cloud, fully visible and portable.
  3. Zero to deployed in an hour. A service with Postgres, bucket storage, and Pub/Sub was running on GCP in under an hour.
  4. Multi-environment support from day one. Staging, QA, and production environments were stood up without a month-long setup project.
  5. Event-driven primitives. Pub/Sub setup that "just works," which alone was enough to justify the platform for their event-driven system.

"I still see all my resources in the Google Cloud console. I can take it with me if we ever decide to change something. The database is Cloud SQL, you can do whatever you want with it. Encore is basically providing a lot of glue, and we're happy to pay for that."

Nilkanth Patel, CTO @ Pallet

How Nilkanth describes Encore

"It's like a combination of Express and Heroku. You define infrastructure in your code and it's automatically spun up for you. You can go from zero to a deployed service on GCP in an hour. I don't know how else to do it."

"If I wanted a Postgres database, bucket storage, and Pub/Sub, setting all of that up, getting service account permissions figured out, hooking it up... that's at least a week of work. And then every time you need a new environment, you have to do the whole process again. With Encore, you have that from day one, for free."

Nilkanth Patel, CTO @ Pallet

Over a year later: still fast

Pallet needed to move fast on day one without paying for it later. Over a year in, that's exactly what they got. The team is running 4 environments on GCP, shipping faster than ever, on infrastructure that's grown with them rather than holding them back.

  • Fast iteration cycles. Local compilation is near-instant compared to 30+ second reloads with previous frameworks.
  • Smooth team adoption. The framework is "pretty invisible" to engineers who just want to write business logic.
  • No dedicated DevOps hire needed. Encore's platform acts as the team's "DevOps department" for their core services and infrastructure.
  • Event-driven architecture at scale. Pub/Sub that would otherwise be a pain to manage is orchestrated automatically.

"We started with one environment and a handful of services. Now we have multiple environments and production traffic. We haven't had to slow down to re-architect anything due to a platform limitation. It all scales with us, in our own cloud on Google Cloud Platform."

Nilkanth Patel, CTO @ Pallet

Key takeaway

For experienced engineers building enterprise products, Encore offers the rare combination of day-one productivity with long-term infrastructure maturity. Pallet gets the ease of a PaaS with the trust and portability of running directly on GCP, and they shipped their AI logistics platform in a fraction of the time it would have taken with traditional tooling.

Want results like Pallet? Book a 1:1 intro to see how Encore Cloud can help your team move faster, reduce lead times, and focus on building great products.