---
title: "You can now migrate your existing databases to AWS"
description: "Turso paid-plan users can move database groups from Fly.io to AWS with new `turso group aws-migration info/start/abort` CLI commands; free-tier users have already been migrated."
url: "https://swe.quest/articles/you-can-now-migrate-your-existing-databases-to-aws-664f4db954322a62"
canonical: "https://turso.tech/blog/you-can-now-migrate-your-existing-databases-to-aws"
source: "Turso"
published: "2025-05-12"
difficulty: "medium"
kind: "How-to"
reading_minutes: 4
tags: ["sqlite","databases","cloud"]
---

# You can now migrate your existing databases to AWS

A post on [Turso](https://swe.quest/sources/turso.md), published 2025-05-12, 4 min read, How-to. Original: [https://turso.tech/blog/you-can-now-migrate-your-existing-databases-to-aws](https://turso.tech/blog/you-can-now-migrate-your-existing-databases-to-aws)

## Summary

Turso paid-plan users can move database groups from Fly.io to AWS with new \`turso group aws-migration info/start/abort\` CLI commands; free-tier users have already been migrated. Migration is irreversible, keeps databases read-only with writes paused (usually under a minute, longer for 1 GB+), and drops features such as cross-database ATTACH, multi-DB schemas, server-side WebSockets, edge replicas and some extensions like sqlite-vss. Embedded replicas need their local files deleted and re-synced because the on-disk format and protocol differ. For remote writes, use execute/run paths without RETURNING, keep transactions short, avoid cached write statements, and reconnect and retry on stream errors, with SDK-specific guidance for JS, Python and Go or a switch to the new Turso Sync push-based packages.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [SQLite](https://swe.quest/tags/sqlite.md) (Data & databases)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- SQLite basics ([easy posts on SQLite](https://swe.quest/tags/sqlite.md?difficulty=easy))
- Turso embedded replicas

## Keywords

Turso, libSQL, AWS, Fly.io, Turso Sync, embedded replicas

## Related posts

- [Turso Cloud on AWS is now available for everybody](https://swe.quest/articles/turso-cloud-on-aws-is-now-available-for-everybody-1dc0ea860495bbb1.md): Turso · 2025-03-17 · Easy · 2 min read · SQLite, Storage engines, Multi-tenancy, Cloud platforms, Serverless
  Turso Cloud is now generally available on AWS, built on an S3-native architecture where every commit is made durable on S3 Express One Zone and local disks serve as a read cache.
- [Incident 2023-12-04: Data leak and loss in some free tier databases](https://swe.quest/articles/incident-2023-12-04-data-leak-and-loss-in-some-free-tier-databases-f301d07a6ce79951.md): Turso · 2023-12-05 · Medium · 3 min read · Incidents & postmortems, Multi-tenancy, Storage systems, Security, Serverless
  A migration bug introduced on November 20 left 0.07% of Turso free-tier databases with an empty backup identifier, so they all pointed at a shared S3 prefix (s3://bucket//) instead of per-database paths.
- [Introducing Databases Anywhere with Turso Sync](https://swe.quest/articles/introducing-databases-anywhere-with-turso-sync-0b3d82e805c07b9f.md): Turso · 2025-10-08 · Medium · 4 min read · Local-first & sync, SQLite, Replication, Identity & auth, JavaScript
  Turso Sync lets local SQLite-compatible Turso databases, in Node or in the browser via WASM, sync with Turso Cloud through push, pull and sync-aware checkpoint methods layered on the standard database API.
- [Migrating from PostgreSQL/MySQL to SQLite: When and How to Make the Switch](https://swe.quest/articles/migrating-from-postgresql-mysql-to-sqlite-when-and-how-to-make-the-switch-9d0f845128cffdd6.md): Turso · 2026-08-12 · Medium · 9 min read · SQLite, Schema migrations, PostgreSQL, MySQL, Databases
  SQLite, especially via Turso Cloud, can replace PostgreSQL or MySQL for read-heavy, moderate-write workloads, trading complex-JOIN optimization, stored procedures, rich types and native replication for simpler operations, lower cost and local reads.
- [The Future of Databases is Services](https://swe.quest/articles/the-future-of-databases-is-services-095ed42dc75f94bb.md): Railway · 2023-09-26 · Easy · 9 min read · Databases, Cloud platforms, Deployment, System design
  Railway replaced its bespoke per-database Plugins (Postgres, Redis, Mongo, MySQL) with databases deployed as ordinary services, built from general-purpose primitives: ZFS-backed NVMe volumes, Docker image deploys, port-based TCP proxies per region, private networking, cross-service variable references, and a \`${{ secret() }}\` template function for generated passwords.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
