Amplify made it easy to start Supabase makes it possible to scale

Amplify generated a sprawl of CloudFormation resources for your app. One bad amplify push left a stack stuck in UPDATE_ROLLBACK_FAILED and had to be recovered by hand.

  • Escape CloudFormation
  • Own your database
  • 1 bill One predictable bill instead of five services
  • 1 Service to manage instead of 5
  • 14 days Auth and database migration complete

How it shows up

For teams trapped in Amplify complexity who need a clean migration to Supabase without breaking production. The abstractions that saved time at launch now cost time at every deployment, debugging session, and billing review.

What this sprint covers

  • Cognito user pool to Supabase Auth migration
  • DynamoDB to Postgres schema design and data migration
  • AppSync GraphQL to Supabase PostgREST or Edge Functions

CloudFormation fragility

Amplify generates a sprawl of CloudFormation resources across nested stacks. One bad push can leave a stack in UPDATE_ROLLBACK_FAILED, where every later deploy is rejected until you fix it. Recovery means hand-deleting nested stacks in the AWS console in the right order. A single deployment failure can block your team for hours.

GraphQL vendor lock-in

AppSync uses @model, @auth, and @connection directives that only exist in Amplify, so your GraphQL schema is not portable. Resolvers are VTL mapping templates that even AWS now steers teams away from in favor of the APPSYNC_JS runtime. Moving to any other backend means reverse-engineering each resolver by hand.

Five bills, zero clarity

DynamoDB: $0.125 per million read request units on demand. AppSync: $4 per million queries. Lambda: per invocation. S3: per GB. Cognito: paid past the first 10,000 monthly active users since the December 2024 free-tier cut. Five billing dimensions for one app, with no hard spending cap. A traffic spike triggers cost alerts from three services at once.

Who it is for

Best fit when Amplify's abstractions are costing you more time than they save.

Good fit

  • Teams where amplify push failures block deployments regularly
  • Products that need SQL queries DynamoDB cannot do
  • Startups with AWS bills growing faster than revenue

Why Amplify migrations fail without a plan

The migration surface is wider than teams expect because Amplify touches auth, database, API, storage, and hosting simultaneously.

Repeated failure patterns

  • Cognito export misses custom attributes and linked identities
  • DynamoDB single-table design does not map cleanly to relational tables
  • AppSync VTL resolvers have logic that needs to be reverse-engineered

What we do in 30 days

We handle the full migration: auth, database, API, storage, and frontend SDK swap.

  1. Days 1-5: Inventory and design

    Export the CloudFormation template and catalog every resource Amplify created. Document each DynamoDB access pattern from the GSIs and query code, then un-flatten single-table items into normalized Postgres tables with proper indexes. Design the Cognito-to-Supabase Auth migration, including OAuth providers, custom attributes, and a no-reset path for password users.

  2. Days 6-14: Migrate core services

    Cognito users moved to Supabase Auth with OAuth provider links preserved and a just-in-time fallback so password users are not forced to reset. DynamoDB data migrated to Postgres with relational integrity and foreign keys. Top AppSync queries replaced with Supabase PostgREST calls. Proof release: auth and data live on Supabase.

  3. Days 15-30: Complete and decommission

    Remaining AppSync resolvers split between Postgres functions and Deno Edge Functions. Lambda functions migrated. S3 storage moved to Supabase Storage. Frontend purged of the Amplify JS SDK and wired to the Supabase client. Parallel-run validation confirms data integrity row by row. Amplify backend decommissioned with the rollback path documented.

What you get

A working Supabase backend replacing Amplify, not a migration plan.

Migration deliverables

  • Postgres schema with RLS policies replacing DynamoDB
  • Supabase Auth with all users migrated from Cognito
  • PostgREST and Edge Functions replacing AppSync

Operational clarity

  • Cost comparison: Amplify stack vs Supabase
  • Rollback plan and decommission checklist
  • Monitoring setup on Supabase dashboard

Why Pineido

We understand both sides: the AWS services Amplify abstracts and the Supabase equivalents that replace them.

AWS and Supabase expertise

We know the Cognito quirks (no hash export, MFA secrets that do not transfer), DynamoDB single-table design, and AppSync VTL resolvers. We also know Supabase RLS, Deno Edge Functions, and PostgREST. Both sides of the migration.

The questions that decide if we are right for you

Can you migrate AppSync GraphQL APIs?

Yes. We replace AppSync with Supabase PostgREST for CRUD operations and Edge Functions for custom logic. Your frontend API calls change but the data contracts stay the same.

What about Cognito users with social logins?

OAuth provider links (Google, Apple, GitHub) re-link to Supabase Auth by provider. Cognito does not export password hashes by design, so we run a just-in-time migration: we keep the Cognito pool live during cutover, verify each login against Cognito once, then create the user in Supabase with that password so most people never reset. Any MFA secrets do have to be re-enrolled, since Cognito cannot export them either.

Do we keep using any AWS services?

Optional. Some teams keep S3 for large file storage or SES for email. The core stack, including database, auth, API, and hosting, moves entirely to Supabase.

What if our DynamoDB uses single-table design?

We reverse-engineer your access patterns from the GSIs and query code, then un-flatten the single-table items into normalized Postgres tables with real foreign keys and indexes. Postgres handles the joins and ad-hoc queries DynamoDB forced you to denormalize around, so the result is usually cleaner and easier to extend.

How much will we save by leaving AWS Amplify for Supabase?

Most teams save on infrastructure costs. Amplify charges separately for hosting, AppSync, Cognito, S3, and Lambda, with no hard spending cap. The Supabase Pro plan bundles Postgres, Auth (100K monthly active users included), 100 GB storage, Edge Functions (2M invocations), and Realtime for $25 per month, plus usage past those limits. Your AWS bill simplifies from many usage lines to one predictable base cost.

Will our Lambda functions work with Supabase?

Lambda functions convert to Supabase Edge Functions or database triggers. Simple CRUD operations are replaced by Supabase's auto-generated PostgREST and pg_graphql APIs, removing the function entirely. Complex business logic moves to Edge Functions on the Deno runtime, which now runs Deno 2.x with quick cold starts. Most teams end up with fewer functions and a simpler architecture.

1 bill One predictable bill instead of five services

Escape Amplify complexity

Bring your CloudFormation stack.

One service.

You leave with

  1. We inventory your Amplify resources and design the Supabase schema
  2. Auth and database migrated to Supabase by day 14

ByFounder and Imaginator

Published Updated