Deploy
Goal: See exactly what a deploy will do before it runs, then run it.
The review window opens as a panel: it floats at the right at first, docks anywhere, and a running deploy keeps drawing its progress when you move it. See Node editors and work windows as panels.
Saving and accepting write changes to the workspace; Deploy builds them in Azure. The Deploy button in the top bar opens a review window, and the deploy runs from that window. It is not in the Cloud menu.
Setup windows work differently: each one applies when you press its own button, such as Save account or Save configuration, with its own run and its own history, apart from Deploy. Changes you make on the canvas wait for Deploy.
What Deploy sets up
Deploy sets up the parts you build on the canvas:
- data connections, API sources and simulators
- workbenches on the canvas
- databases and their tables
- source control: connections, repositories and GitHub events
- licenses
It sets each of these up again on every press, changed or not, which puts back anything changed outside OpenX.
Parts with their own setup window are set up only there, when you press that window's own button, and Deploy leaves them as they are: Cloud Connections, the landing zone (Landing Zone), IoT (Data Fabric), Data Stores, Provenance, App Identity, DNS, Communications and the fAI server. An accepted proposal for one of them is set up the next time you run its window, not by Deploy.
When a setup window finishes, it records the parts it set up as live, with the time and who ran it. Deploy keeps that record as it is, so a part set up in its window stays live until you change it there or remove it. A setup that ends in an error records nothing.
Before you start
- The right to deploy,
Workspace.Deploy. A workspace's owners hold it with no access card. Without it the top bar shows Activate to Deploy, which opens the Current License window instead. - A saved workspace. With unsaved changes the button is disabled: "Deploy waits until your changes are saved."
Once everything is saved you can always press Deploy, even when there is nothing to deploy, so you can open the window and see what is live. Its colour tells you which it is before you press it: the informational colour when the next deploy has nothing to do (the window then says so), and the primary colour when the window would list something new, changed or being removed.
What counts as a change is what a deploy carries to Azure. Moving a node on the canvas, or changing a description, is saved with the workspace and never needs a deploy. Renaming something needs one only when its name goes to Azure as a label: a workbench carries its name on its Azure app, so renaming a workbench lights Deploy, and renaming a data connection does not.
No cloud connection or landing zone is needed to deploy. Until your workspace has its private landing zone, everything goes to the shared environment.
The button reads Deploy, or Deploy · N removals when removals are waiting for it. While the deploy you pressed is running it shows a spinner instead. Whenever a deploy runs, yours or a teammate's, the Deploy window shows that deploy and its progress in place of the review, also after a refresh or when you reopen it, and a new deploy waits until it finishes. Reopened while a deploy runs, the window shows that deploy as it was pressed (or "A Deploy is running. What it carries shows here in a moment." until it has read it), and it reads the review of your next deploy once that deploy ends. You can keep saving, accepting, undoing and redoing while it runs, unless it is removing what is on the removal list; an accept it is already sending reads "Being deployed now: final when the Deploy ends." until it ends (see When an undo or redo is refused). A record the deploy is sending that you save again while it runs reads "Changed again since: the next Deploy sends the newer version." under the running deploy. When a deploy or a setup ends, every open tab of the workspace shows a notice and marks the activity icon, and this window reads its review again; see When a setup or a deploy ends.
What the window shows
Review before you deploy: "Everything below is what this deploy would do to your workspace. Nothing has happened yet." The pill reads Ready, or Nothing to do when there is nothing to send; the window then says its one sentence, "Nothing is waiting to deploy. When you or a teammate accepts a change, it shows here, ready to deploy.", with any proposal still waiting to be accepted listed under it. While it reads the plan it says "Working out what this deploy would do..." first.
| Section | What it lists |
|---|---|
| Shared environment | What goes to the shared environment |
| Your private cloud | What goes to your private cloud, and, while that is not ready, the next setup step |
| Workspace only | Records with nothing to build, when there are any |
| Removing | The removals waiting for this deploy, with how much of each goes, each simulator's old app from before one app per device, and each device app whose data connection is removed or now feeds another simulator. This deploy deletes those apps |
| Not in this Deploy | Proposals still waiting, each with Accept |
| In progress | While a deploy runs: each removal as it is worked through |
| Accepted since the last Deploy | Every accept since the last Deploy, when there are any, each with Undo, or Redo once undone |
| Recent activity | Deployments and Saves, newest first, each with Open details; the newest deployment adds Deploy again if it failed |
Each New row says what that part is estimated to cost a month at list price, and under the sections a summary says "This deploy adds about $X a month (estimate at list price). Workspace estimate after it: about $Y a month." Parts being removed are named on a Stops billing when removed line with no figure, never counted as a saving. Cost never blocks a deploy. See What your workspace costs.
What Undo and Redo do, and when they are refused, is in Undo an accept until Deploy.
The window lists only what this deploy sets up (see What Deploy sets up). Each record row reads New, Changed, Up to date (set up again) or Moving from the shared environment, with its health. When the plan has no destinations, the sections are New, Changed and Live now instead, and Live now says "Each Deploy sets these up again, which puts back anything changed outside OpenX."
"This runs in your cloud and bills while it exists. You can close this at any time. The deploy keeps running, and you can come back to it."
Moving to your private cloud
Once your landing zone exists, records that were deployed to the shared environment are listed as Moving from the shared environment, and the next deploy moves them. A kind that cannot move yet is marked Can't move yet with its reason, and the deploy is held: "Some records can't move to your private cloud yet, so Deploy is held. Each one says why."
While the private cloud is not ready, Your private cloud offers the next step, which closes this window and opens the setup window:
| Button | Reason shown |
|---|---|
| Connect a cloud | "Connect your own Azure cloud to deploy here. Until then, everything goes to the shared environment." |
| Create your landing zone | "Create your landing zone to deploy here. Until then, everything goes to the shared environment." |
| Set up IoT | "Set up IoT in your cloud to move data connections here. Until then, they stay on the shared hub." |
Removals
Each removal row offers How much of it goes: everything goes or configuration only, plus any settings the kind has. These choices are edits to the workspace: "Your handling choice is saved with your next Save, and takes effect on the deploy after that." See Removals.
Proposals
"Accepting a proposal adds it to your flow. It is not part of this Deploy." Accept accepts it as the Proposals drawer would. Any workspace member can accept a proposal; some changes (access, licenses, connected-app requests) need a management right.
Run the deploy
Click Deploy at the foot of the window. If anything would be removed or moved, a confirm lists it first (Deploy · N removals, Deploy · M moves); each removal's lines follow its own title, for example Remove workbench 'qa-sample-api', so you can see which record each line is about. Confirm with Deploy. Then:
- Removals are torn down, in order.
- Every part Deploy sets up is built or updated in Azure, changed or not, in the shared environment or your private cloud. Parts with their own setup window are left as they are.
- The window records what is now live, so the next review lists only what changed.
You can close the window; the deploy keeps running. When it finishes, the page stays as you left it: your unsaved edits and the steps you made while it ran are kept, and Undo goes back no further than the moment you pressed Deploy. After a deploy that removed workbenches, the result lists one line for each removal, saying what it removed. A Deploy window opened in another tab shows a failed deploy as failed.
When a deploy the window was showing ends, the window says "Deploy finished. 2 changes saved while it ran are ready to deploy." (the count is the records your saves changed meanwhile) or "Deploy finished. Nothing new to deploy." A failed deploy never says it finished; the window keeps listing the saves made while it ran.
A workbench's image is built as part of the deploy, and the deploy waits for the build as long as it keeps making progress. If the build makes no progress for 15 minutes (for example, it is still waiting for a build machine), the deploy stops and changes nothing: "This workbench's image build made no progress for 15 minutes (it may still be waiting for a build machine), so this deploy stopped waiting for it and changed nothing. Deploy again later: if the build finishes, its image is reused, so it does not build again."
| Outcome |
|---|
| Deploy finished. |
| Deploy finished, and some things were kept. Each one says why below. |
| Deploy stopped before it finished. What it had already done was not undone. |
Watching each step
While a deploy runs, the window lists every record it sets up, grouped by kind in the order OpenX runs them, with the removals first. A line above the list counts the steps, for example "7 of 15 steps done · 2 min 41 s" (the time so far, never a time left), and a Now: line names what is working, for example "Now: Walk orders and database-17 · 1 min 12 s" (records of one kind are set up at the same time). Each row has one of six states:
| State | Means |
|---|---|
| Waiting | Its turn has not come yet |
| Working | It is being set up now, with the time so far |
| Done | It is set up |
| Failed | Azure or OpenX refused it |
| Not run (an earlier step failed) | An earlier step failed, so OpenX did not run it |
| Not recorded | A deploy from before OpenX recorded its steps: what happened is not known |
A step that waits on Azure's own checks (IoT, for example) lists its stages under its row. Closing and reopening the window, refreshing the page or a teammate opening it all show the same list.
When a step fails, the window says where the deploy stopped, for example Deploy stopped at: Database walk-orders-db, then:
- our sentence saying what went wrong;
- Next: what to do, for example "Next: Deploy again in a few minutes.";
- What Azure said: Azure's own code and HTTP status, for example "What Azure said: PreconditionFailed (HTTP 412).", followed by Azure's own words in quotes when it gave any;
- Reference and an ID on its own line, with a Copy button: quote it if you contact us.
Azure's words are cleaned on the server before they are stored: every name, ID, address, key and token is removed, a name OpenX gave a part of your workspace is shown as that part's name in brackets, for example "[data store walk-test-store]", and words that cannot be cleaned are left out, so you may see the code alone. Other Cloud windows show a failed save's reference after its sentence, "(reference: …)".
A step can fail to start, for example when the store is busy at that moment. It doesn't stay Queued: OpenX settles it on its own within about a minute and a quarter, and the step says "This step did not start, so nothing was changed." The deployment then reads as failed in Recent activity, and the newest failed deployment offers Deploy again, which does what the window's Deploy button does and is held when that button is. An older failure or a running deploy offers nothing. If the step that did not start was the last one, recording what is live, the deployment reads "Deployed, but the record of what is live was not saved" instead, with no Deploy again: your parts were deployed, and the next deploy rewrites the record.
Only one deploy, or one setup window's save, runs at a time per workspace.
Rights
Reading the review and deploying need Workspace.Deploy. Some parts of a deploy need more: retiring a
license plan needs Licenses.Manage, and access changes need an owner or Workspace.Access.Manage. Owners
hold Workspace.Deploy and Licenses.Manage with no access card.
Thinky and agents
Deploying is a person's act. Thinky and agents can only propose; there is no deploy or accept tool over MCP, and Greenfield never deploys.
Messages you may see
| Code | Message |
|---|---|
DEPLOY_NOT_ALLOWED | "You do not have permission to deploy this workspace." |
DEPLOY_PLAN_CHANGED | The list changed since you opened the window: confirm the list, then deploy again |
MOVE_HELD | A record would move to your private cloud and its kind cannot move yet. Nothing was deployed |
DEPLOY_IN_PROGRESS | A deploy or a setup window is already running for the workspace. Wait for it to finish, then try again |
DEPLOY_DELETES_NOT_STAGED | "Deploy tears down only what is on the removal list. Save the removal first, then deploy." |
| The window | "Deploy stopped at: …" with the step's details (see Watching each step); "The deploy did not go through." and the reason when it was refused before any step ran; or, with no deploy running, "We could not read what this deploy would do." |
| Lost track | "We stopped checking this deploy because its status could not be read. Reopen Deploy to check again." |
TIP
The first deploy after OpenX started tracking what is live lists everything as new: "After this deploy, the list will only show what actually changed."
Next steps
- What Save, accept and Deploy each do -> Save, accept and Deploy
- Removing things -> Removals
- Your private cloud -> Landing Zone
On fathym.com: OpenX →