When Amplify or self-hosted Appwrite fits best
Amplify fits best when your application already lives on AWS and the team wants its backend defined in TypeScript on the AWS CDK, with Cognito for sign-in, AppSync for GraphQL, DynamoDB for data, Lambda for functions and S3 for files. In that case, the operational model you already trust (IAM, CloudWatch, AWS account structure and AWS support) carries over, and rebuilding those pieces elsewhere is the larger cost. Self-hosted Appwrite fits best when you need the backend inside your own infrastructure, want one set of server-side services behind web and mobile clients, and have people who can run Docker Compose or a Kubernetes cluster and keep it patched. Appwrite's SDKs cover Web, Flutter, Apple, Android, React Native and Unity, which matters if your mobile team is not working in the Amplify client libraries.
The decision turns on four things: where the data must sit, how much operating capacity you can commit, which client SDKs you need, and how tightly the application is coupled to AWS services. If your residency rules require that user records, files and logs stay in your own data centers or a named cloud account, Appwrite changes the picture, but the self-hosted edition then becomes your responsibility for backups, upgrades and failover. The Appwrite Helm chart documentation says its built-in PostgreSQL, Redis, ClickHouse and object storage each run a single replica without failover, so production use needs managed services or operators. Confirm with your platform team what uptime and recovery targets they must meet before you compare a single cloud bill.
Do not assume either option is cheaper. Amplify costs are usage-based and spread across several AWS services, while a self-hosted Appwrite install moves cost into servers, staff time and support contracts or internal skills. Map each Amplify service you use to its equivalent in Appwrite and list the traffic, storage and function volumes you expect, then price both sides with the same assumptions. If AppSync resolvers or DynamoDB access patterns are deeply embedded in your code, the rewrite is the main one-time cost and should be scoped before you decide. Ask any implementation partner for a written scope that separates migration work from ongoing operation so the two options can be compared fairly.
Which option fits each scenario
This table compares AWS Amplify with self-hosted Appwrite across the situations that usually drive the decision, such as AWS-only teams, multi-platform SDK needs, data residency and operations capacity. Read each row for the better fit and the reason, then confirm the points marked for verification against your own environment before committing.
| Scenario | Better fit | Reason |
|---|---|---|
| AWS-only team with Cognito, AppSync and DynamoDB already in use | AWS Amplify | Amplify Gen 2 keeps auth, API, data and functions inside AWS services your team already operates, so there is no new platform to run. |
| Web and mobile app needing Flutter, Unity or Apple SDKs | Self-hosted Appwrite | Appwrite's README lists client SDKs for Web, Flutter, Apple, Android, React Native and Unity, which covers more client platforms in one backend. |
| Strict data residency inside your own cloud account or data center | Self-hosted Appwrite | Appwrite runs in infrastructure you choose, so data location is set by your own deployment rather than by a managed service region. |
| GraphQL through AppSync as a core API layer | AWS Amplify | AppSync is AWS's managed GraphQL service. Appwrite's APIs are not AppSync, so teams relying on AppSync resolvers would need to rewrite them. |
| Team without a dedicated operations function | AWS Amplify | Amplify is operated by AWS, while self-hosted Appwrite needs your team to handle upgrades, backups and availability. Confirm your staffing before choosing Appwrite. |
| Production Appwrite on Kubernetes without managed data services | Neither without changes | Appwrite's Helm chart docs say its built-in PostgreSQL, Redis, ClickHouse and object storage run a single replica without failover, so production data should use managed services or operators. |
| Need for an in-house, replaceable backend with open-source licensing | Self-hosted Appwrite | Appwrite is BSD 3-Clause licensed, so the code can be run, modified and kept independently of a single vendor's service terms. |
How Appwrite's features map to the Amplify Gen 2 stack
Appwrite bundles several services that Amplify Gen 2 splits across separately billed AWS products, so the mapping is a rough one-to-one at best. Appwrite Auth covers the role of Cognito user pools, Appwrite Databases covers much of what AppSync and DynamoDB do together, Appwrite Functions replaces Lambda functions, and Appwrite Storage replaces S3 buckets. The differences matter most in three places. AppSync is a GraphQL layer, while Appwrite exposes its own REST and SDK APIs, so every schema, resolver and subscription your app depends on must be rewritten rather than translated. Cognito group membership and custom attributes map to Appwrite teams, roles and permission arrays, which need to be modeled again instead of copied. Amplify's per-resource IAM policies have no direct counterpart, so access control moves into Appwrite's permission model on each collection and file. Confirm the exact Auth and realtime behavior you rely on against the Appwrite README and the current API references before you commit to a design.
The bigger change is the data model. DynamoDB is a key-value store where you design tables around access patterns, partition keys and sort keys up front, and where a query you did not plan for is often expensive or impossible. Appwrite 2.0 provisions PostgreSQL by default, with MariaDB and MongoDB also supported, so you can model relational tables, joins and indexes in the way most teams already reason about data. Two Appwrite 2.0 modules need separate attention. DocumentsDB, for schemaless JSON documents, and VectorsDB, for embeddings, both need PostgreSQL and MongoDB engines that a stock install does not deploy, so they ship disabled until you enable those engines. If your Amplify app uses document-style items, decide whether they move into relational tables or into a document engine, and confirm which engine your chosen install provisions.
Before cutover, test your access rules and query patterns against a copy of the data, not just the happy path. List every DynamoDB access pattern and every AppSync resolver, then run each one against Appwrite with users from each role, including unauthenticated and cross-tenant cases, and compare results with what Amplify returned. Check that per-user read and write permissions on documents and files block what they should, since a permission that is broader than the old IAM policy is a common exit defect. Measure a few realistic queries with your expected row counts, because query plans on PostgreSQL differ from DynamoDB key lookups. Record the results as evidence for your own review, and plan for indexes or schema changes if any pattern is slow.
Where data lives and who controls the platform
Amplify and Appwrite make different decisions about where data sits, who operates the infrastructure and who holds the user records. The cards below cover the questions that matter most in a renewal, residency review or exit plan, and what to confirm before committing.
Data location and regions
Amplify backends run in the AWS regions you choose, with DynamoDB tables, S3 buckets and Cognito pools each placed in a region. Appwrite can run in your own data center or cloud account, so the database, file storage and function runtimes sit wherever you deploy them. Check which regions each Amplify resource uses, and confirm that backups and logs stay in the same jurisdiction. Pin the location before the first user signs up.
Installation guideHosting model and operations
Amplify is a managed service, so AWS operates the backing services and bills for each one separately. Appwrite offers three paths: Appwrite Cloud, a Docker deployment that starts with a single setup wizard, or the official Helm chart for Kubernetes. Self-hosting moves patching, upgrades, scaling and on-call duties to your team. Ask who will upgrade Appwrite across major releases such as 2.0 and who owns the Docker host.
- Current Appwrite release
- 2.5.0
Identity and user records
Amplify authentication runs on Cognito user pools, and Cognito does not return password hashes through its APIs, so existing users may need resets. Appwrite Auth stores users in its own database and its Users API accepts imported hashes such as bcrypt, Argon2 and Scrypt. Confirm which hash algorithm your current pool uses, test a small import, and decide how sessions and MFA settings will move.
Compliance evidence ownership
With Amplify, much of the control evidence comes from AWS service documentation and attestations, while your team still owns configuration and access reviews. With self-hosted Appwrite, the evidence for hosting, patching, backups and access is your own. Independent auditors issue any report or attestation. DeployOpen can prepare the systems, controls and evidence for that assessment, but it does not issue audit reports. Ask your auditor which evidence they will accept.
Single-replica built-in datastores
Appwrite's Helm chart runs the built-in PostgreSQL, Redis, ClickHouse and object storage with a single replica and no failover. A node failure can interrupt service or lose data unless backups are tested. Production deployments should use managed databases or operators for these components. Confirm the recovery time and recovery point your business needs, then design replication and backup around them before go-live.
Kubernetes Helm chart docsRunning Appwrite with Docker Compose or the Helm chart
Docker Compose is the simplest route to a working Appwrite instance. Appwrite's installation guide describes a single host running Docker Compose version 2 with at least 2 CPU cores, 4 GB of RAM and 2 GB of swap. The install starts with a docker run command using the appwrite/appwrite:2.5.0 image, then a setup wizard on port 20080 completes configuration. The sample Compose file runs PostgreSQL, Redis, Traefik, ClickHouse, the Appwrite API, workers, realtime and console services, plus an Open Runtimes executor for functions.
- Host sizing: The documented minimums are a starting point. Real load depends on users, function executions and storage growth, so plan for headroom above the stated minimum.
- Single failure domain: Every container shares one host. A disk, kernel or host failure takes down auth, database and storage together.
- Bundled datastores: PostgreSQL, Redis and ClickHouse run as containers on the same host, so backup and restore must cover their volumes, not only the Appwrite configuration.
- Upgrade path: Upgrades change the image tag and run migrations. Test each upgrade on a copy of the data before touching production.
- Good fit: Internal tools, pilots, staging environments and low-criticality apps where a short outage is acceptable.
Before choosing this option, confirm with your platform team that a single host meets your availability target, that backups of all datastore volumes are automated and tested, and that the host sits inside your approved network and patching process.
Appwrite publishes an official Helm chart at oci://ghcr.io/appwrite/charts/appwrite, which deploys the platform into an existing Kubernetes cluster. This suits organizations that already operate Kubernetes, have a platform team for it, and want Appwrite managed with the same pipelines as other workloads. The chart is a packaging method, not a high availability guarantee, and the official docs state that the built-in PostgreSQL, Redis, ClickHouse and object storage each run a single replica without replication or failover.
- Managed datastores: Point the chart at managed PostgreSQL, Redis and object storage where your cloud or data center offers them, so replication and failover sit with the service.
- Operators: Where managed services are not available, run database and cache operators that provide replicas and automated failover, and confirm the chart's configuration accepts those endpoints.
- Single-replica defaults: Do not treat the built-in datastores as production storage. Treat their use as a test or evaluation setting.
- Shared cluster controls: Network policies, pod security, secrets handling and ingress controls apply to Appwrite like any other workload.
- Version pinning: Pin the chart version and image tags in your deployment code so upgrades are deliberate and reviewed.
Before committing, confirm which managed or operator-backed services your environment offers, who owns their backups and failover tests, and whether your cluster meets the chart's resource requirements.
The two options differ mainly in who carries availability and recovery work. Docker Compose puts every component on one host, which keeps setup short but leaves the whole platform exposed to a single failure. The Helm chart supports a more resilient design, but only when you supply replicated datastores, so the cluster and its operators become part of your operating responsibility. Neither option removes the need for your own backup, monitoring and patching.
- Operating skills: Compose needs Linux and Docker administration. Helm needs Kubernetes, operator and storage skills on your team.
- Recovery objectives: Ask what outage and data-loss window your application owners accept, then match the option to that requirement.
- Regulated data: If auditors will review the datastores, confirm where data is encrypted, who holds keys and how access is logged in each option.
- Cost drivers: Compose costs centre on one host and your admin time. Helm costs add cluster capacity, managed datastore fees or operator maintenance.
- Migration later: Moving from Compose to Kubernetes later is a data migration project, so decide early if production is the target.
Ask your Appwrite or implementation partner to put the chosen option, its datastores and its recovery procedure in writing before the environment is built.
What each side costs to run and who gets paid
Amplify bills by metered usage across several AWS services, while Appwrite splits into a hosted plan with listed limits or a self-hosted stack you pay for in servers and operator time. The cards below separate who is paid for what, which costs recur, and what to put in a quote so the two sides can be compared on the same basis.
Amplify metered usage across services
Amplify Hosting charges for build minutes, stored data, data served and server-side rendering, and the Gen 2 backend bills Cognito, AppSync, DynamoDB, Lambda and S3 on their own meters. The bill is therefore a sum of several AWS line items that move with traffic and writes. Ask your AWS account team or review the pricing pages for each service, and build a usage model from your own request, storage and user counts before comparing.
Appwrite Cloud plan limits
Appwrite Cloud sells a Free plan at $0 with up to 2 projects, a pause after 1 week of inactivity and 75K monthly active users, and a Pro plan from $25 per month with 2 TB bandwidth, 150 GB storage and 200K monthly active users per project. Enterprise is custom priced. Check which plan's limits your peak traffic and storage would reach, and what overage charges apply on Pro.
Appwrite pricingFree plan freeze and Pro alerts
On Appwrite Cloud, a Free project that reaches a resource limit freezes with the Console in read-only mode, which is a continuity risk for production traffic. Pro projects keep running and send email alerts at 75% and 100% of limits, and an organization budget cap is optional. Confirm these behaviors in writing before committing, and decide whether a budget cap or a freeze would be acceptable for your service.
Self-hosted server and operator time
Self-hosting Appwrite moves the recurring cost onto your infrastructure: the installation guide calls for at least 2 CPU cores, 4 GB of RAM and 2 GB of swap, plus hosting for the Docker stack. The larger recurring cost is usually staff time for upgrades, backups and monitoring, and that effort is your own budget line. Ask your team to estimate the hours per month for operations, then compare that with the Appwrite Cloud plan you would otherwise buy.
Installation guideHigh availability and production datastores
The Helm chart documentation says the built-in PostgreSQL, Redis, ClickHouse and object storage each run a single replica without failover. Production use therefore usually needs managed databases or operators, storage and backup services, and extra nodes, each billed by your cloud or hardware provider. Ask your cloud provider or vendor for the price of these components in your region, and include them in the self-hosted total rather than treating the single server as the full cost.
Kubernetes Helm chartOne-time migration and ongoing support
Migration work is a one-time cost: user and data moves, rewriting AWS-specific functions and SDK calls, and testing. Recurring costs follow after go-live, including upgrades, security patches and support. Appwrite has a commercial support tier available with the Enterprise plan, and Appwrite's self-hosted route is otherwise supported by the community. Ask for a fixed-scope quote that lists the migration work, the support level and the upgrade cadence separately.
What moving from Amplify to Appwrite involves
The sequence moves an Amplify Gen 2 backend onto self-hosted Appwrite in stages that keep the old system running until the new one is verified. Each phase produces a named artifact, so the team can confirm progress before cutover.
Inventory Amplify resources and CDK code
Your platform or backend team lists every Amplify resource in the TypeScript backend definition and the CDK stacks behind it: Cognito user pools and triggers, AppSync schema and resolvers, DynamoDB tables and their indexes, Lambda functions, S3 buckets and access rules, and any Amplify Hosting settings. Someone with access to the AWS account should confirm which resources exist in each environment, since Gen 2 definitions do not always match what is deployed. Done means you have a resource register with owner, data volume, dependencies and a migrate, rewrite or retire decision for each item.
Provision the self-hosted Appwrite environment
Your infrastructure team installs Appwrite in your own cloud account or data center, using the Docker installation path or the official Helm chart, and sizes it against the published minimum requirements. For production, the docs say the built-in PostgreSQL, Redis, ClickHouse and object storage each run a single replica without failover, so you should confirm whether to use managed services or operators for those components. Configure SSO for the console, access control, audit logging and backups before any data arrives. Done means a staging instance passes a health check, a restore test from backup succeeds, and the security team has reviewed the configuration.
Reshape the data model from DynamoDB
Your backend developers translate each DynamoDB table into an Appwrite database, collection and attribute set, and redesign access patterns that relied on single-table design, partition keys or global secondary indexes. Appwrite stores documents, so you will decide which relations become explicit attributes and which stay denormalized. Export a sample of each table to S3 in DynamoDB JSON or Ion, then load it into staging. Confirm with Appwrite's current docs which import paths apply, because the Migrations feature documented covers Firebase, Supabase and Nhost projects, not Amplify. Done means row counts and sampled records match between DynamoDB and Appwrite in staging.
Migrate Cognito users with compatible hashes
Cognito does not let you list user passwords, so the team first confirms with AWS whether password hashes can be obtained through any supported path, which is often not the case. Where hashes are not available, plan for password reset or a re-authentication flow that creates the user in Appwrite on first login. Where a hash can be obtained, import it through Appwrite's Users API using an accepted type such as bcrypt, Argon2, Scrypt or SHA variants, and test a login with a known account. Done means a documented split of users by migration path and a successful login test for each path.
Rewrite AppSync resolvers and Lambda functions
Your developers replace each AppSync resolver and Lambda handler with an Appwrite Function or with client-side logic that calls Appwrite's APIs, and move authorization rules that lived in the GraphQL schema into Appwrite permissions and server-side checks. Lambda triggers tied to Cognito events, such as post-confirmation hooks, need equivalents in Appwrite Auth events or functions. Test each function against staging data with the same inputs used in production. Done means every register item marked rewrite has a passing test, and the permission matrix has been reviewed against the old AppSync authorization modes.
Copy S3 objects into Appwrite Storage
Your team copies S3 objects into Appwrite Storage buckets with the same key structure where possible, then applies bucket permissions that match the old access rules. Compare object counts, sizes and checksums for a sample, and check any presigned URL links the client apps embed, since those stop working once the bucket changes. Done means object counts and checksums match for the full set, and a client download test passes for each bucket.
Update client SDKs and run in parallel
Your mobile and web teams replace the Amplify libraries in the client apps with Appwrite SDKs for their platform, covering Auth, Databases, Storage and Realtime, and switch feature flags to route a limited group of users to the new backend. Keep the Amplify stack running and write changes to both systems or accept a documented sync window, decided before parallel running starts. Watch error rates, login success and data divergence between the two systems. Done means the parallel period closes with a reconciliation report showing no unexplained differences.
Cut over and retest
On the agreed cutover date, your team freezes writes to Amplify, runs a final incremental export and import, points DNS and client configuration at Appwrite, and confirms each user journey end to end. A security tester then retests authentication, authorization, file access and the admin console on the production setup, and the old AWS resources are kept read-only until the rollback window closes. Done means a signed-off test report, a documented rollback procedure and a decision record for decommissioning Amplify resources.
How the parts of an Amplify-to-Appwrite move fit together
The diagram starts with the Amplify Gen 2 components: Cognito users, AppSync and DynamoDB data, Lambda functions and S3 files. Each one moves through an export and rewrite step into a matching Appwrite service inside your own trust boundary. The decision point to check first is whether the Cognito password hashes can be exported. Appwrite's Users API accepts several imported hash types, so confirm your source format before planning a forced password reset.
Amplify components mapped to self-hosted Appwrite services, with the password hash decision point.
Questions buyers ask before switching from Amplify
How much does moving from Amplify to self-hosted Appwrite cost?
The cost depends on the work you pay for and the servers you run, and no single figure applies to every backend. The one-time part covers mapping the Cognito users, DynamoDB tables, AppSync resolvers, Lambda functions and S3 objects to Appwrite's Auth, Databases, Functions and Storage, plus testing. The recurring part covers the servers, backups, monitoring and the time your team spends on upgrades. Appwrite's installation guide sets a minimum of 2 CPU cores, 4 GB of RAM and 2 GB of swap for a single install, but production sizing, high availability and managed datastores add cost. Ask any partner for a quote built from a written scope that lists each Amplify resource you have. For the hosted comparison, the Appwrite pricing page lists the Pro plan from $25 per month, which is a separate option from self-hosting.
How long does an Amplify to Appwrite migration take?
The timeline is set by how many backend resources you have and how much of the app logic has to be rewritten, not by the platform alone. Work tends to move fastest when the data model is simple and the Cognito user pool is small, and slowest when many AppSync resolvers and custom Lambda functions contain business rules that must be re-implemented and tested. Plan separate phases for data export, user migration, function rewrites, file copies, client SDK changes and cutover. Appwrite's Migrations feature covers imports from Firebase, Supabase and Nhost projects, but it does not list Amplify as a source, so expect custom export and import scripts for the Amplify side. Ask for a timeline in the written scope that ties each phase to a named resource count.
What does the migration need from our AWS, DevOps and app teams?
The work needs three groups of access and skill. Someone with AWS access must export DynamoDB tables (point-in-time recovery must be enabled for a DynamoDB export to S3), list Cognito users, and copy S3 objects. The DevOps side must provision the Appwrite host, a PostgreSQL database, Redis, storage and TLS, and set up backups and monitoring. App developers must update the client SDKs from Amplify libraries to Appwrite's Web, Flutter, Apple, Android, React Native or Unity SDKs, and rebuild login, data access and file upload flows. Your team should also review permissions and the data each function can reach. Confirm which of these skills you have in-house before you agree a scope.
Can our internal team run the migration without an outside partner?
An internal team can do the move if it has engineers who know the Amplify backend, can operate Docker Compose or Kubernetes, and have time to test before cutover. Appwrite publishes a Docker installation path and an official Helm chart, so the install itself is well documented. The harder parts are the ones that carry risk: the AWS export, password hash handling, permission rules and the production hardening that the Helm chart documentation says the built-in datastores need, since they run a single replica without failover. Many teams split the work, keeping application changes in-house and bringing in outside help for the security review, the cutover plan or the backup and recovery design. Compare that split against your own staffing before deciding.
Can Cognito password hashes move to Appwrite without forcing resets?
Cognito does not let you list or export user passwords, so hashes generally cannot move from Cognito to Appwrite directly. Appwrite's Users API accepts imported Scrypt modified, bcrypt, Argon2, MD5, PHPass, Scrypt and SHA hashes, which means users can keep their passwords only when the source system provides a hash in one of those formats. Plan for the common alternative: migrate the account and profile data, then require a password reset or a one-time sign-in flow for each user. Confirm with AWS documentation and your own Cognito settings what your user pool can export before you promise users a seamless login. Also decide early how to handle MFA enrollment, social login links and email verification status.
Does Appwrite cover AppSync-style GraphQL APIs?
Appwrite does not present itself as a GraphQL service, so your AppSync schema and resolvers will need to be replaced rather than copied. The Appwrite README lists Auth, Databases, Storage, Functions, Sites, Messaging, Firewall, Realtime and MCP, and its client and server SDKs call these services directly. Most AppSync resolvers become Appwrite database queries with permission rules, or Appwrite Functions where custom logic is needed. If your frontend depends on GraphQL queries and subscriptions, plan a change to the client data layer and test each query. Confirm with Appwrite which API patterns fit your app before you design the replacement, because this is a design decision and not a configuration step.
How do we keep a self-hosted Appwrite current with frequent releases?
Appwrite ships often: 2.0 arrived on September 4, 2026, 2.5.0 on October 13, 2026, and the GitHub releases also show a 1.9.7 maintenance release on October 8, 2026 for the older 1.9 line. Treat upgrades as a recurring operating task with a fixed schedule. Pin the image version you deploy, such as the appwrite/appwrite:2.5.0 image in the installation guide, read the release notes for each jump, and test upgrades in a staging copy with restored data. Existing 1.9.x installs upgrade with a single command and a migration, according to the 2.0 release notes, but that migration still needs a rehearsal. Budget staff time for this every cycle, and ask any implementation partner to include upgrade runbooks and retesting in the written scope.
How DeployOpen helps evaluate, implement and migrate
DeployOpen plans, implements, hardens, backs up and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For an Amplify to Appwrite evaluation, that means scoping the work in writing first, then building and testing the Appwrite deployment in your environment before handover.
How we scope
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
- The written scope lists which Amplify features move, such as auth, data, storage, functions and hosting
- We confirm where Appwrite will run, including the Docker or Helm deployment and the data location you need
- Ongoing support, upgrades and continuous testing are available as a retainer after handover
How we build
- We install and configure Appwrite in your infrastructure with SSO, access control and audit logging
- We plan the Auth migration, including whether your Cognito password hashes can be imported without forced resets
- We build data and file migration paths and test them against copies of your Amplify data
- We test the deployed Appwrite setup for access rules, function permissions and exposed endpoints before go-live
How we hand over
- You receive documentation of the deployed architecture, configuration, backup settings and operating procedures
- Migration runbooks record each cutover step, rollback point and the checks performed at each stage
- Findings from security testing come with fixes and a retest so you can confirm each issue is closed
- Evidence for your compliance team is organized so your assessors can review the controls, though audit outcomes remain theirs to issue
How we support
- Post-handover support covers upgrades between Appwrite releases, with each upgrade tested before it reaches production
- Backup and restore checks are run on a schedule agreed in the retainer, not assumed to work
- Continuous security testing can cover the Appwrite API, functions and client-facing endpoints over time
- Ask any implementation partner to confirm in writing who handles high availability for the stateful services

