Skip to Content
ProductionOverview

Production

Every project has one environment, Development, where you and your AI agent build and test. Production gives your app’s users an environment of their own. You build in Development, then promote what you tested to Production, and nothing reaches your users until someone approves it.

DevelopmentProduction
Who uses itYou, your team and your AI agentYour app’s users
Stopped when idleCan beNever
Its structure changesDirectly, in the Studio or through your agentThrough a Promotion that a second person approves
BackupsThe ones you takeEvery hour, kept 48 hours; and every day, kept 35 days, with a copy in another region
Its dataYour test dataYour users’ data, never copied from Development

Production is for projects on the Buildpad Engine. A project on Supabase moves to the Engine first: see Moving to the Buildpad Engine. If your Engine project has no Production tab, contact Buildpad support.

What you get

Production has its own data service, separate from Development’s, with its own addresses, credentials and data. Your apps keep one codebase: each app gets a production branch, which is built only when a Promotion deploys it.

  • Its own data service, on a server of its own that is never stopped for being idle and cannot be deleted by accident.
  • Backups every hour and every day, with a copy in another region.
  • A firewall in front of it, and monitoring of its uptime and incidents on the Monitoring page.
  • Your apps’ production branches, each pointed at Production’s data service.

What it does not promise

Production runs on one server in one AWS Availability Zone. If that zone fails, Production is rebuilt in another zone from its latest backup. That takes about 15 minutes, and up to an hour of changes can be lost. Choose Production for internal tools, pilots and apps where that is acceptable. For an app that holds orders, payments or records that cannot be entered again, contact Buildpad support about a highly available environment.

Who can do what

ActionWho
See Production, its releases and its historyEvery member of the project
Request a PromotionA project Developer or Admin
Approve or reject a PromotionA project Admin, other than the one who requested it
Set Production up, remove it, and put it backA project Admin

When a project has only one Admin, that Admin may approve their own request.

Setting Production up

  1. Open the project and click Production in the sidebar.
  2. Click Set up Production, read that Production runs all the time and is charged while it exists, whether or not anyone uses it, and confirm.

The page shows each step as it runs: creating the data service, protecting it and switching on its backups, creating each app’s production branch, and checking that it answers. It takes about ten minutes, and you can leave the page.

Production is created empty. Its first Promotion gives it your structure. Its users, records and files are its own: none is copied from Development.

The platform refuses to set Production up, and says why, when:

  • the project is not on the Buildpad Engine, or is not created yet;
  • the project’s app is in a Git repository outside Buildpad;
  • your organization has reached its limit of Production environments;
  • another operation is running on the project, such as a backup or a version update.

If a set-up fails, the platform removes what it made and shows the reason. Click Try again.

Production’s workers

A project’s workers are promoted with its apps. The first Promotion whose release has workers gives Production its own message broker, on Production’s data service, and one worker server. That server costs about US$27 a month for a t4g.medium, and the dry run says so first. Each worker then runs in Production the commit the release froze.

  • Settings. At a worker’s first Promotion, Production’s copy gets the settings you set on Development’s worker, such as API keys. The values that connect it to Production (its data service, its token and its message broker) are set by the platform. After that, Production’s settings are its own: change them on the Production page, and no Promotion overwrites them.
  • The Workers card. On the Production page, each worker shows whether it runs and the release it runs, with its Logs. A project Admin can Restart it and edit its Settings.
  • Removing a worker. Delete a worker in Development and the next Promotion removes it from Production.
  • Messages during a deploy. A Promotion restarts each worker. Messages it had not acknowledged are delivered again after the restart, so write workers that can handle the same message twice (see Writing a Worker).

Production’s workers do not count towards your organization’s worker limit.

Where your users reach Production

Each App gets its own Production address, shown as App hosting on the Production tab: https://production.<app id>.amplifyapp.com. Development keeps its address (https://main.<app id>.amplifyapp.com), shown on the project’s Details page. Your apps reach Production with the first Promotion: until then, the Production addresses do not serve a release of yours.

Custom domains

A custom domain serves the branch it points at: Development (main) or Production (production). Setting Production up does not move it, so a custom domain that points at Development keeps serving Development until you move it. The Custom domains card on the Production tab lists each custom domain of the project’s apps, with where it serves now and the branch each of its names points at. Domains are added and removed on the app’s Builds page, which the card links to.

Adding a custom domain. A project Admin gives an app an address under apps.buildpad.ai from the app’s Builds page (the project’s for the Main App, the microapp’s for a microapp):

  1. On the Custom domains card, click Add domain.
  2. Type a name of 3 to 40 lowercase letters, numbers and hyphens, for example shop. The app will be served at https://shop.apps.buildpad.ai. A name another app holds is refused.
  3. Click Add domain. The Platform sets up the certificate and DNS; there is nothing to do at a DNS provider. The domain shows Active after about 5 to 15 minutes.

A new domain serves Development, and the app’s Amplify address keeps working. Adding a domain does not change the app’s settings: set NEXT_PUBLIC_HOST_ORIGIN to the new address yourself if the app should use it as its public address. To remove a domain, click the bin beside it; the name is then free for any app. A domain that serves Production must be moved back to Development first. For a domain of your own (for example app.example.com), contact Buildpad support.

Every name under a domain. An app that tells its customers apart by address (for example acme.lms.apps.buildpad.ai and globex.lms.apps.buildpad.ai) can have every name one level under its domain. Tick Also serve every name under it when adding the domain, or turn Sub-names on beside an Active domain later. Each name then reaches the same app, after a few minutes while the certificate is updated. Your app reads the address it was opened at (the request’s host) to choose the customer: the Platform only sends the names to it. Sub-names move with the domain when it moves to Production, and cannot be turned on or off while the domain serves Production.

A project Admin moves a domain with Move to Production, and back with Move back to Development, after typing the domain to confirm. The Platform then:

  1. gives Production’s apps the domain’s address (for example https://app.example.com) as their public address, and rebuilds them at the live release;
  2. once every build has succeeded, points the domain at Production. DNS does not change, so there is nothing to do at your DNS provider;
  3. gives Development’s apps that used the domain their own address, https://main.<app id>.amplifyapp.com, and rebuilds them, so signing in to Development stays on Development.

Moving back does the same the other way: Development gets back the address it had before the move, and Production gets https://production.<app id>.amplifyapp.com again. The move appears in the History as Custom domain.

  • Before the first Promotion a domain cannot move: Production has no release to serve yet.
  • While a Promotion runs a domain cannot move, and no Promotion starts while a move runs.
  • If a build fails before the switch, the domain stays where it was and Production’s settings are put back. Use Try the step again, or give the move up.
  • Set NEXT_PUBLIC_HOST_ORIGIN on Development to the address under the domain before moving it: the Platform reads the public address from it. The card says so when it is missing.
  • A micro-app’s own custom domain moves that micro-app only.
  • With customers, moving a domain with Sub-names to Production is refused while a ready Development customer has no ready Production customer of the same slug: the refusal names them. Create them in Production, or type their slugs to move it anyway. See Customers in Production.
  • To keep an address for Development, add a second domain with Sub-names before moving the first, then point Development’s NEXT_PUBLIC_HOST_ORIGIN at it after the move. See Keeping an address for Development.

Apps composed with Multi-Zones. If your Main App serves other apps of the project under path prefixes such as /crm (its config/zones.json lists them), each Promotion connects their Production copies to each other:

  • the Main App’s Production sends each prefix to that zone’s Production address, not to Development’s;
  • each zone gets the Main App’s public Production address for its sign-in and its links. Once your custom domain is moved to Production, the zones keep using that domain.

The verify step checks each zone at its prefix, since a zone serves nothing at /. A zone that is not one of the project’s apps is left as it is.

Production’s data service

Production’s Studio is where you manage its users, records and files, as you do in Development’s. Open it with Open Studio on the Production tab, which signs you in; the same members who can open Development’s Studio can open Production’s. Its structure (collections, fields, roles, access rules, automation) comes from Development through Promotions: change the structure in Development, then promote.

Production’s structure is locked. In its Studio, through its API and from an AI agent, a change to collections, fields, relations, roles, policies, access rules, settings or automation is refused with the message that the structure is locked. Users, records, files, role assignments and scope items are not affected. Only a Promotion changes Production’s structure. A Production on an older data service version is locked once a Promotion brings it a newer one; the Production tab says when that is needed. While the structure is locked, the Production tab shows a Structure locked badge beside the tier; hover over it to see what the lock covers.

Signing in with XAppHub. If people sign in to your app with XAppHub, Production accepts it as Development does. Each Promotion’s verify step copies to Production the XAppHub sign-in settings Development has: the XAppHub clients it trusts, and each provider’s default role, matched to Production’s roles. Nothing is removed from Production’s settings.

Customers. Production can have customers of its own, managed from the Customers page’s Production environment. Production’s backups hold them. See Customers in Production.

AI agents and the project’s MCP connection work with Development. They do not change Production.

An agent can still see Production’s status. Once a project has Production, the MCP tool get_project_detail adds a read-only production object beside Development’s fields:

FieldWhat it says
stateprovisioning, ready, failed or removing
liveWhether a Production release is live
liveReleaseThat release’s number, or null while none is live
engineVersionThe data service version Production runs
engineUrlProduction’s data service address

Every other address in the answer (engineUrl, daasUrl, studioUrl and the tenant id) is still Development’s, so an agent keeps writing there. The object carries no token, password or tenant id, and a connector’s token gets it too. A project without Production has no production object.

History

The History table on the Production page lists every Promotion and every time Production was put back, newest first: the release, its Type (Promotion, Rollback, Backup restore, Rebuild, Custom domain or Engine update), its Outcome, What changed, and when it Ended. Choose All, Promotions or Put back to filter it; a custom-domain move and an Engine update are listed under All only. It shows 10 rows; Show all shows the rest.

Only the row that made the current release live reads Live. Earlier releases that went live read Replaced, and a rebuild, a custom-domain move or an Engine update reads Done. A row that was rolled back or failed says why.

Removing Production

  1. Open the Production page and click Remove Production.
  2. Type the project’s name and confirm. If Production has customers, the dialog lists them and asks you to type how many there are: they are removed with Production.

The platform takes a final backup, then removes Production’s data service, its workers and their server, and each app’s and worker’s production branch. The final backup is kept for 35 days. Your apps and Development are not changed. You cannot remove Production while a Promotion is open, and you cannot delete a project while it has Production.

Last updated on