Move your stack to Opfield
This guide moves an existing stack onto Opfield: servers, access, ingress, workloads, databases with backups, and monitoring. Every step ends with a check. The layers move independently, so you can move one service end to end or one layer for all services at once. For short answers to pre-purchase questions, see Evaluating Opfield.
1. Install Opfield and connect your servers
Section titled “1. Install Opfield and connect your servers”- Install Opfield and complete initial setup: administrator, MFA, public URL.
- Add each server from Nodes > Add Node with its one-line command, or create new servers through a hosting-provider integration. Give each Node its role: Ingress, Docker, Storage, Build Worker, or Monitoring.
- For production, run at least two Relays on hosts other than the Opfield host.
- Build the control-plane recovery set and store the master key separately from database backups.
Check: every Node is online with its role. Containers and Compose projects that already run on Docker Nodes appear in Docker without any import.
2. Set up access
Section titled “2. Set up access”Create groups around job responsibilities, connect your SSO provider if you have one, and invite the team. Grant each group the Routes, workloads, databases, and Nodes it works with, down to a single resource. See Permissions.
Check: a non-admin operator completes a normal change and is refused outside their grants; both show up in the audit log.
3. Move ingress
Section titled “3. Move ingress”For each hostname:
- Create the Domain and a Route to the application. An application on a Docker Node is reached through a Secure Link, with no published port.
- Issue a Let’s Encrypt certificate through HTTP-01 or DNS-01, or upload the existing one. HTTP-01 needs the Ingress Node reachable on port 80; DNS-01 works through the Cloudflare integration before DNS moves.
- Add access lists and a maintenance page where the old proxy had them.
- Point DNS at the Ingress Node. On external DNS, Opfield adds the Domain only once its records point there, so add it after this step; a Cloudflare-managed Domain can be added first.
Check: a real HTTPS request through the domain reaches the application. Then remove the host from the old proxy and its certificate from the renewal cron.
4. Move workloads
Section titled “4. Move workloads”- Standalone containers are already listed on their Docker Node. Grant access to them and read their logs right away.
- Compose projects: adopt the project (Personal and higher). Replace
env_filewithenvironment:and Opfield variables, move host bind mounts into the image or a named volume, and keep the volume keys: named volumes keep their names and data. The first apply recreates the service containers, so schedule it like any redeploy. - Services you release often: run them as Deployments with slot switching and rollback, built from Git on a Build Worker (Business and higher).
- Services that must survive a server failure: turn on Docker Availability (Business and higher) so they move to another Node when one fails.
- Moving between servers: migrate a standalone container with its volume data to another Node.
Check: the workload is healthy, its Route answers, and one release and one rollback complete through Opfield.
5. Move databases and backups
Section titled “5. Move databases and backups”- Register each existing database as an external connection. It gets health checks, metrics, Explorer, Console, and scheduled backups right away.
- To move it into a managed database, stop writes, run a backup, and restore it from the Console. The restore creates a new managed database on a Storage Node and never overwrites the source.
- Connect the application through a private binding. The application gets its own database identity and no open port.
- For automatic failover, run the database on several servers (Business and higher).
- Schedule backups to S3, FTP, FTPS, or SFTP.
Check: the application works through the binding, and a restore of the latest backup into a new database succeeds.
6. Move monitoring, alerts, and status
Section titled “6. Move monitoring, alerts, and status”Node health and metrics arrive from enrollment, and container and Route logs are on the resources they belong to. Add alert rules and notification channels for what the team needs to hear about, and publish a status page with components for the public services. See Observability.
Check: a test alert reaches its channel, and the status page shows every public component. Then switch off the old dashboards, alerting, and uptime checks for the moved services.
7. Retire the old tools
Section titled “7. Retire the old tools”Give every resource one owner: remove moved resources from the old proxy configs, scripts, panels, and cron jobs so that nothing rewrites what Opfield now owns. Close the management ports and panels that Opfield made unnecessary; Nodes connect outbound.
Record for each service
Section titled “Record for each service”- who owns it and which group operates it;
- the result of a release and a rollback;
- the result of a backup restore;
- the alert channel and status page component.
Help with the move
Section titled “Help with the move”Business includes Guided Onboarding and Configuration Review, and Enterprise includes Assisted Deployment and Migration, as plan benefits; the commercial agreement defines their scope. For help on another plan, contact [email protected].