Moving from Strapi Cloud to self-hosted Strapi: what the move involves
Moving from Strapi Cloud to self-hosted Strapi means rebuilding the hosting around your existing project, then moving content, assets and configuration across in a planned cutover. Teams usually make this move to control where data lives, to run Strapi inside their own network, or to reduce their exposure to a hosted platform. The content schema and the data move well, because Strapi's content types, components and entries are portable. The parts that take the most planning are hosting, environment variables, upload and email providers, media assets and the cutover itself.
Strapi Cloud runs managed PostgreSQL by default, and the project can also be pointed at an external SQL database whose schema matches the project. Strapi does not support or secure that external option, so the database you move from is most likely managed PostgreSQL that you cannot read directly. Plan to take an export through Strapi rather than a raw database dump. Before you rely on any Cloud backup, confirm in the project's own settings what the backup contains and whether it includes media files, which is not something to assume from the database alone. Ask Strapi what the backup scope covers for your plan and region.
Your new environment needs the same secrets, such as APP_KEYS, API_TOKEN_SALT, ADMIN_JWT_SECRET and JWT_SECRET, recreated with their values carried over exactly, because changing them invalidates existing sessions and tokens. Each upload provider, email provider and any custom middleware configured in Cloud must be rebuilt in your infrastructure with its own credentials. Media files that Cloud stores on your behalf need their own transfer path, separate from the data export, and you should confirm where those files will live and how their URLs will resolve after the move.
For cutover, agree a freeze window for content editing, run the import into a staging instance on your Node.js and database versions, and check relations, localized entries, media links and admin roles before pointing DNS or front-end builds at the new API. Keep the Cloud project readable until you have verified the new environment, because rolling back is much easier while the source still exists. Confirm each step against Strapi's current documentation for the versions you run, since release cadence is fast.
Which Strapi Cloud features map to self-hosted Strapi and which do not
This table compares the Strapi Cloud features you will meet during a move with what self-hosted Strapi gives you and what you must rebuild yourself. Read the rows marked as reconfiguration first, because content types and API code usually carry over while hosting, secrets, providers and plan-gated features do not. Confirm each row against your own project and plan before you plan the cutover.
| Feature | Self-hosted Strapi | What you must do |
|---|---|---|
| Content types and components | Schema files in your project code carry over when you deploy the same codebase | Confirm the schema in your repository matches what runs in Cloud, then deploy it before importing content |
| Document Service API and API responses | Same Strapi 5 APIs, with REST and GraphQL included in every self-hosted plan | Retest front-end queries and custom controllers against your own domain and URLs |
| Users and Permissions (end users) | Runs in your database, so end-user accounts move with a database export or transfer | Confirm password hashes, providers and JWT secrets are carried over or that users will re-authenticate |
| Admin roles and admin users | Admin accounts live in your database and are not restored from a Cloud backup in the same form | Recreate admin users and roles, then check permissions for each editorial group |
| Admin SSO | Available as an add-on for Growth and included in Enterprise, per the self-hosted pricing page | Confirm your plan includes SSO before you rebuild the identity provider connection |
| Audit logs and review workflows | Enterprise features on the self-hosted pricing page | Confirm your plan before relying on them, since they do not carry over from Cloud |
| Content history and releases | Start at the Growth plan on self-hosted pricing | Export or record any history you need before cutover, and confirm plan coverage |
| Media uploads | Files are not part of the Cloud project database, so they must be copied separately to your upload provider | Move assets to your storage, then update URLs and provider settings in your environment |
| Environment variables and secrets | Cloud project settings do not move to your servers | Recreate every variable and secret, including the app keys and JWT secrets, in your deployment |
| Database | Supported on self-hosted: PostgreSQL 14 or later, MySQL 8.0 or later, MariaDB 10.3 or later and SQLite 3, but not MongoDB or other NoSQL databases | Choose a supported database and confirm the Cloud database version and schema before export |
| Node.js runtime | Strapi 5 runs only on Active or Maintenance LTS Node.js versions | Pin a supported Node.js version in your build and runtime images |
Which documented paths move data and assets off Strapi Cloud
Leaving Strapi Cloud depends on which parts of the project you can export: the database, uploaded files, configuration and the running Strapi version. The cards below cover what the Cloud documentation describes and what you must verify in your own project before relying on any path. Confirm each item in the Cloud project settings and the current Strapi docs first.
Cloud project backup
The Cloud project settings page is the starting point, because it shows the backup options your plan exposes. Treat the backup contents as unconfirmed until you have downloaded an archive and inspected it. Check whether it includes the database data, the project schema and configuration, and uploaded media, and record anything that is missing. Compare what you find against the Cloud project settings documentation before you plan the cutover, and keep a copy of the archive outside Cloud.
Cloud project settingsManaged PostgreSQL source
Strapi Cloud provides managed PostgreSQL by default, so your content sits in a database you do not operate directly. An external SQL database is possible on Cloud only when its schema matches the project, and Strapi does not support or secure that setup. Confirm which database your project uses, whether you can take a dump of it, and whether that dump carries the schema your self-hosted instance expects. Ask Strapi support to confirm any export method you plan to rely on.
Cloud database docsMedia files move separately
Uploaded files are not part of a database export, so they must be moved as files. Inventory every asset referenced by your content, including the image formats Strapi generates, and confirm where the originals are stored before you download anything. Decide how the self-hosted instance will serve them, either from local storage or from an upload provider, and rewrite stored URLs if the host name changes. Test a sample of entries with media after the move before you retire the Cloud copy.
Environment variables and secrets
Cloud environment variables are not part of the content backup, so you must recreate them on your own host. Secrets such as APP_KEYS, API_TOKEN_SALT, ADMIN_JWT_SECRET and JWT_SECRET need values for your environment, and existing tokens and sessions may depend on the originals. Copy the variable names from the Cloud settings, record which values must stay the same, and confirm in the current Strapi documentation which keys your target version requires.
Target database and runtime
The self-hosted target must meet the Strapi 5 requirements, which list PostgreSQL 14 or later and Node.js versions on the Active or Maintenance LTS schedule. The managed database on Cloud may run a different major version from the server you build, so compare versions before you restore a dump. Do not restore into a database version that the current installation documentation does not list.
Strapi installation requirementsMatching Strapi version
Record the Strapi version your Cloud project runs and install the same version on the self-hosted instance before you restore data. Strapi 5 minor releases ship frequently, so pin the exact version and do not assume the latest release is compatible. Read the GitHub release notes between your version and the target for changes that affect schema or database handling, and confirm the project version in the Cloud settings before you start the export.
Strapi GitHub releasesWhat changes for editors, developers and administrators
Editors use the Strapi admin panel to create and publish content, so the first visible change is the address they open. On Strapi Cloud, the admin URL is managed by the platform. On your own infrastructure, the admin URL is whatever your reverse proxy and domain expose, and the login path may differ from what editors bookmarked. Roles and permissions are part of the project data, but the accounts that sign in may be recreated or federated, so confirm that each editor's role still matches their job after the move.
- Admin URL and bookmarks: Confirm the new admin address, update bookmarks and any links in internal wikis or onboarding material.
- Login method: If Cloud accounts were password based, decide whether you will keep local accounts or add admin SSO through an identity provider. SSO is an add-on for the Growth plan and included in Enterprise.
- Roles and permissions: Check that each editor role still maps to the right content types, fields and publishing rights.
- Drafts and scheduled publishing: Test drafts in progress and any scheduled changes so nothing publishes early or disappears.
- Media uploads: Confirm that editors can upload and view images and files through the new asset location.
Before cutover, have a small group of editors complete a full publish cycle on a staging copy, including login, upload, preview and publish.
Developers feel the largest change, because Strapi Cloud handled the build, deploy and runtime configuration. On your own infrastructure, your team owns the deploy pipeline, the environment files and every secret the application reads. Database connection details, upload provider credentials, email settings and the admin and API secrets must be recreated in your environment rather than copied from the Cloud dashboard. Strapi's Cloud database documentation notes that Cloud provides managed PostgreSQL by default, so the database connection you configure on your side is a new setup, not a settings change.
- Deploy pipeline: Build the image or artifact, run database migrations and start the process through your own CI/CD and hosting path.
- Environment files: Recreate every variable the project reads, and keep them out of source control.
- Secrets: Generate new application keys and store them in your secrets manager, then confirm sessions and tokens behave as expected.
- Providers: Reconfigure upload, email and other provider plugins with your own credentials and endpoints.
- Database access: Confirm the database version and connection settings meet current Strapi requirements before the first start.
Before cutover, run the full deploy from a clean environment and verify that the application starts with no Cloud-specific values left in place.
Administrators inherit operations that Strapi Cloud previously carried. Backups, monitoring, log retention, patching and version upgrades become your responsibility, and the Cloud backup scope is not a substitute for a backup plan on your side. Ask your Cloud provider or check the Cloud documentation what was included in the last export so you know what your new backups must cover. Plan which team receives alerts and who approves Strapi releases, since Strapi 5 minor releases ship frequently and each one needs a review step.
- Backups: Define database and media backup schedules, retention and restore tests before the old Cloud project is retired.
- Monitoring: Set health checks, uptime alerts and log collection for the new service.
- Upgrades: Assign an owner for reviewing and applying Strapi 5 minor releases and Node.js version changes.
- Access and audit: Decide who holds server and database access, and whether audit logs are needed, which is an Enterprise feature.
- Runbooks: Write restore, rollback and incident steps that someone other than the original builder can follow.
Before cutover, perform a test restore into a separate environment and confirm the team can run one upgrade and one rollback without vendor help.
How the move runs from inventory through parallel run and cutover
The sequence moves a Strapi Cloud project to infrastructure you control in stages, so each layer of content, assets, settings and access is proven in a pilot before the Cloud project is switched off. Every stage ends with a documented check rather than a single go-live event.
Inventory the Cloud project and its settings
Start by listing everything the Cloud project depends on: content types and components, the Strapi version, installed plugins, custom code, upload and email providers, environment variables, domains, roles, API tokens and webhooks. Check the project settings and the database configuration pages in Strapi's Cloud documentation, and confirm with Strapi what Cloud exposes to you, since some values such as managed database credentials may not be visible. The output is a written inventory with an owner for each item and a note on anything you cannot export yourself.
Build a self-hosted pilot environment
Stand up a non-production Strapi instance on your infrastructure, matching the Strapi version and Node.js runtime the project uses. Choose a supported database such as PostgreSQL 14 or later, since Strapi 5 does not support NoSQL databases. Your team or a partner builds the pilot from the same code and schema, then restores the Cloud backup into it. The pilot is ready when the admin panel loads and the content types match the inventory exactly.
Recreate environment variables and providers
Rebuild every secret and setting that Cloud previously supplied: database connection, app keys, JWT and transfer secrets, upload provider credentials, email provider settings and public URLs. Store them in your secrets manager rather than in source files. Test each provider in the pilot by uploading a file, sending a test email and calling an endpoint that depends on the URL configuration. The check is a written list of each variable with its source and a passing test for each provider.
Transfer assets separately from the backup
Media files are not part of the content data you restore, so move them as a separate task. Download or copy the files from the Cloud storage location, then upload them to your chosen storage provider and confirm the file counts and sizes match. Update the stored URLs or the provider configuration so existing entries resolve to the new location. Verify by opening a sample of entries from each media field and confirming the files render, including those inside components and dynamic zones.
Verify relations, media and permissions in the pilot
Run a structured check of the pilot against the Cloud project. Compare entry counts per content type, follow several relations in both directions, and confirm localized content, draft and published states, and scheduled releases where they are used. Test roles and public permissions with a test account for each role, and call the REST and GraphQL endpoints your front end depends on. Record each failure and its fix. The stage closes when a defined sample of entries and endpoints returns the same results on both systems.
Run the parallel period with a content freeze
Point the front end or a staging consumer at the self-hosted instance while the Cloud project stays live. Agree a content freeze rule with editors, for example that all new entries are made in one system only during a defined window, and record which system is authoritative at each point. Watch logs, error rates and API responses from both sides. If content must change in the Cloud project during the window, re-run the transfer for those types and repeat the relation and media checks before cutover.
Cut over DNS, tokens and integrations
Freeze content in the Cloud project, take a final backup, transfer the changed content and assets, and repeat the verification checks on the self-hosted instance. Then switch the public domain, update webhooks, API tokens and any consumers that reference the Cloud URL, and confirm that editors sign in through the new admin address. The stage is complete when production traffic and editorial work both run on the self-hosted instance and the final checks pass.
Decommission the Cloud project after a holding period
Keep the Cloud project available for a period agreed in advance so you can recover if a problem appears after cutover. Before you remove it, export a final backup, store it under your retention policy, and record the decision and its owner. Revoke Cloud-issued tokens and remove any stored Cloud credentials from your systems. The output is a closure record showing the backup location, the revoked credentials and the date the Cloud project was deleted.
How data, assets and configuration move during cutover
The move starts with a backup of the Cloud project, which carries the database contents and project configuration but not the media files, so assets travel on a separate path to your storage. Environment variables and upload or email providers are recreated by hand on the self-hosted staging instance. Before DNS or front-end endpoints switch, the team checks content counts, relations, media links and permissions against the Cloud project, and that check is the go or no-go decision point.
Data, assets and configuration paths from Strapi Cloud to self-hosted Strapi, with the parity gate.
What drives the effort and duration of leaving Strapi Cloud
This table lists the factors that change how much work a move from Strapi Cloud to your own infrastructure takes, whether each factor is one-time or recurring, and what to request in a quote. Read it as a checklist to size your own project before asking for a fixed-scope proposal. The main takeaway is that the Cloud plan's allowances and uptime SLA do not carry over, so self-hosting adds ongoing hosting, backup and upgrade work.
| Driver | Why it changes effort | One-time or recurring | What to ask for in a quote |
|---|---|---|---|
| Media volume and shape | Large libraries, many image variants and video files take longer to export, transfer and verify, and need a new storage provider and URL plan | One-time for the move, recurring for storage and bandwidth | Asset count, total size, variant handling, storage target and URL redirect approach |
| Content types and locales | More types, components, dynamic zones and locales mean more mapping checks and more relation tests after import | One-time | Count of content types, components and locales, and the test cases for relations and localized entries |
| Custom plugins and middlewares | Custom code must be moved, its dependencies rebuilt for your runtime and tested against your Node.js version | One-time, then recurring when upgrading Strapi | List of custom plugins, middlewares and policies, and how each will be tested after the move |
| Environment variables and providers | Each secret, upload, email and monitoring provider must be recreated and re-verified in your own deployment | One-time setup, recurring secret rotation | Inventory of variables and third-party providers, and where secrets will be stored |
| Database size and platform | Cloud provides managed PostgreSQL by default, so you must provision, size and connect your own database and verify the schema matches | One-time for the move, recurring for hosting and backups | Database engine and version, data size, backup schedule and restore test method |
| SSO and admin role complexity | Admin SSO and role mappings depend on your identity provider and are a Growth or Enterprise add-on on self-hosted plans | One-time configuration, recurring access reviews | Identity provider, role mapping rules and whether SSO is in scope or a licensing item to confirm |
| Front-end consumers | Each site or app reading the API needs its endpoint, CORS and token settings updated before cutover | One-time per consumer | Number of consumers, their API calls, and the change window each team needs |
| Parallel-run days | Running Cloud and self-hosted side by side keeps both in sync and adds review and reconciliation work | One-time, duration set by your risk tolerance | Length of the parallel run, sync method, and the criteria for switching traffic |
| Hosting, backup and upgrades after cutover | Cloud plan allowances and the Business uptime SLA do not transfer, so you own availability, backups and Strapi upgrades | Recurring | Who runs on-call, backup and restore tests, upgrade cadence, and whether a retainer covers them |
What usually goes wrong when teams leave Strapi Cloud
Most failed exits from Strapi Cloud share a few causes: assets and configuration that were never moved, a database that does not match what Strapi expects, and features or permissions that behaved differently once the project left the managed platform. Each card below names one risk and the check that prevents it before cutover.
Media missing after cutover
Content entries can move while the files they point to stay behind. Cloud-hosted uploads are not part of the database export you take for the content, so records can reference images and documents that return broken links on the new server. Before cutover, list every upload referenced by content and confirm each file exists at the new storage location, then load a sample of pages that use media in the self-hosted staging environment.
Cloud project settingsProviders and secrets not recreated
Strapi Cloud injects environment variables and provider settings for upload, email and other services, and none of them carry over automatically. A self-hosted instance that starts without the right APP_KEYS, JWT_SECRET or upload provider configuration will fail at login, uploads or password reset. Build an inventory of every variable from the Cloud project and store the new values in your secret manager before the first production start.
Database that does not match the schema
Strapi Cloud provides managed PostgreSQL by default, and it can connect to an external SQL database only when that database's schema matches the project. Strapi does not support or secure such external setups, so a copied database dump with drifted tables or missing migrations is a risk in its own right. Restore the database into a version-matched self-hosted environment, then run the project's startup migrations and confirm the schema is clean before anyone edits content.
Cloud database docsPlan-gated features relied on
Several features that teams use daily depend on plan level, and those levels differ between Cloud and self-hosted. Self-hosted SSO is an add-on on Growth and included in Enterprise, while audit logs and review workflows are Enterprise features. Review the editorial workflow with the editors who depend on it and confirm, in writing, which features the chosen self-hosted plan includes before the Cloud subscription ends.
Self-hosted pricingPublic permissions opened by accident
Permission settings for public and authenticated roles are part of the project configuration, and teams often adjust them while debugging the new server. A temporary change to allow a missing endpoint can remain in place and expose drafts or private collections to anonymous visitors. Export the Cloud role settings as the baseline, compare the public role against it after cutover, and test unauthenticated requests against every content type.
No tested restore path
Cloud backups are created and held by the platform, and a copy of a backup is not the same as a working restore on your own infrastructure. Teams that have never restored a backup into a separate environment often discover missing files, wrong database versions or unset secrets during an incident. Schedule a restore drill into an isolated environment that includes the database, uploads and environment variables, and record how long it took and what failed.
Questions teams ask before moving off Strapi Cloud
How much does moving off Strapi Cloud cost?
The cost is the work of building and testing your own hosting, moving the database and assets, recreating settings, and running a cutover, plus the recurring infrastructure and plan fees you take on. Your own team, or a partner, is paid for that work, and the written scope sets the price. Recurring costs include your cloud or server bills, backup storage, monitoring, and Strapi license terms. Strapi's self-hosted plans are listed at 45 US dollars per month for Growth including 3 users, with 15 dollars per extra user, and Enterprise is custom priced, according to the Strapi self-hosted pricing page. Compare that with the Cloud plan you are leaving, listed at 35 US dollars per month per project for Starter, 90 for Pro and 450 for Business, per the Strapi Cloud pricing page. Ask any quote to itemize one-time work separately from recurring costs.
How long does a move from Strapi Cloud take?
Duration depends on the size of the content, the number and size of media files, how many custom plugins, middlewares and providers the project uses, and how many environments need to be recreated. Projects with a small schema and few assets usually move faster than projects with many media files, custom code, or several connected systems that must be re-pointed at the new URLs. Cutover planning, a rehearsal on a copy of production data, and agreeing a content freeze window also add time. Ask for a timeline tied to a written scope, with the rehearsal and rollback steps listed as separate milestones.
What must our team provide before the move starts?
You need to provide administrator access to the Strapi Cloud project, the list of environment variables and their values, the provider accounts used for uploads, email and any other services, and a named owner for the content freeze and cutover decisions. You also need access to the infrastructure where the self-hosted instance will run, the domain and DNS control, and the list of front-end and system integrations that call the Strapi API. Confirm in Strapi Cloud project settings which values are visible to project admins, since some secrets may need to be retrieved from the team that created the project.
Can our internal team move Strapi off Cloud without outside help?
Yes, a team with Node.js, database and container or server operations experience can often do it alone, provided it has time for a rehearsal. The risk lies in the details that Cloud previously handled: database provisioning, TLS, backups, upload storage, environment variables and process management. A partner is most useful when the team lacks that operations experience, cannot give the move a fixed window, or needs the work documented as evidence for a compliance review. Whichever route you choose, agree the scope, owners and acceptance tests in writing before work begins.
Do we need the Growth or Enterprise plan for SSO and audit logs after the move?
Only if you need those features. According to the Strapi self-hosted pricing page, SSO is an add-on for Growth and included in Enterprise, while audit logs and review workflows are Enterprise features, and content history and releases start at Growth. Strapi SSO covers administrator login to the admin panel through an identity provider, and end-user authentication is handled separately by the Users and Permissions plugin. If your security review needs admin sign-in through corporate identity or audit trails of admin actions, confirm which plan provides them before choosing a tier, because the plan choice affects your recurring cost.
What happens to the Strapi Cloud database when we leave?
Strapi Cloud provides managed PostgreSQL by default, and it can also use an external SQL database whose schema matches the project, but Strapi does not support or secure that external option. For your move, plan to export the data from the Cloud environment, provision your own database, and import it into a self-hosted instance running a supported version. Check the Cloud database settings in the Strapi Cloud database documentation to confirm which database you are running today, and keep the Cloud project in read-only or frozen state until the new instance is verified.
Does a Strapi Cloud backup restore directly onto our own server?
Do not assume it does. Confirm with Strapi what a Cloud backup contains, whether it includes the database, the uploaded media files, the project configuration and the environment variables, and what format it uses before planning around it. Media is usually moved separately from the database, and secrets such as API tokens and provider credentials are not something to expect in a backup. Plan a test restore into a staging instance of your own, check that relations, media links, roles and public permissions behave as they did on Cloud, and treat the test result as the acceptance criterion for the cutover.
How DeployOpen scopes and delivers the migration
The sequence moves a Strapi project off Cloud in controlled stages, so the client signs off on a written scope, a verified copy of content and assets, and a cutover that can be reviewed before Cloud is retired.
Agree the written scope
DeployOpen and the client agree a written scope before any work starts. It names the Strapi version and plan in use, the content types, components and plugins to carry over, the assets and their storage, the environment variables and providers to recreate, the target infrastructure and the cutover approach. DeployOpen does not publish a price list, so the quote follows from this written scope. The step closes when both parties have signed the scope and it lists what is excluded.
Inventory the Cloud project
DeployOpen reviews the Cloud project settings, the environment variables, the upload and email providers, custom middlewares and plugins, public permissions and the scheduled or external integrations that call the API. The client confirms which Cloud features the team relies on and who owns each external system. The step closes with an inventory document that lists every item to rebuild or verify on the self-hosted side.
Build the self-hosted target
DeployOpen builds the self-hosted Strapi inside the client's own infrastructure, using a supported PostgreSQL, MySQL, MariaDB or SQLite version and an Active or Maintenance LTS Node.js version. The build covers the database, process management, reverse proxy, secrets handling and the recreated environment variables and providers. The client's security team reviews the configuration. The step closes when the empty target starts cleanly and passes the agreed health checks.
Move content and assets separately
DeployOpen extracts content from the Cloud backup and the database, then transfers assets from the Cloud media storage to the client's chosen storage, keeping the links between them intact. Content and files are handled as separate tracks because a Cloud backup does not replace a separate copy of uploads. The step closes with a reconciliation report comparing record counts, relations and file counts against the inventory.
Run a parallel check
DeployOpen runs the self-hosted instance alongside Cloud and tests the parity checklist with the client's editors and front-end or integration owners. The checks cover the admin roles, the public API responses, the media URLs, the preview and webhook behavior and the scheduled jobs. Any gaps are logged and fixed, then retested. The step closes when every checklist item is marked as passed or accepted by the client in writing.
Cut over with client sign-off
DeployOpen and the client agree a cutover window, a rollback path and the final content freeze. DNS, front-end builds and integrations are switched to the self-hosted instance and monitored. The client signs off on the cutover result before Cloud is set to read-only or retired. The step closes with a signed cutover record and the retained Cloud backup stored under the client's control.
Hand over and retain support
DeployOpen delivers runbooks for backups, restores, upgrades and secrets rotation, and trains the client's operators. The client may then choose a retainer for ongoing support, Strapi upgrades and continuous testing, or run the platform with its own team. The step closes with a handover document and an agreed list of recurring tasks, including which ones the client owns.

