Docs menu

Cloud Connections

Goal: Connect the Azure subscription your workspace builds in.

This window opens as a panel: it floats at the right at first, docks anywhere, and keeps your place when you move it. See Node editors and work windows as panels.

Cloud -> Cloud Connections is always in the menu. It is the first step: Landing Zone appears once a cloud is connected, and the rest of the Cloud menu once the landing zone is provisioned.

A workspace connects one cloud today. Microsoft Azure is the only provider that connects; the Amazon Web Services and Google Cloud tiles say Coming soon and open a short "what is coming" panel, with no dates.

Before you start

Nothing else in the workspace is needed. What the window offers depends on your rights:

You holdYou see
Workspace.Infrastructure.ManagedManaged Azure Subscription
Workspace.Infrastructure.PrivateBring Your Own Cloud
NeitherUpgrade needed with See plans, and neither way to connect

Upgrade needed says: "Your plan does not include managed or private Azure connections." Under it, a line names the cheapest plan that includes them ("The Pro plan includes them."), or says that no plan includes them yet. Which plans include them is read from the plans themselves, so the line always matches what a plan would give you.

Click See plans to open your plans over this window, without leaving it. The plan that includes managed or private Azure is marked "Includes managed or private Azure connections". Choose it and pay as in Current License. When the plans window closes, whether you bought a plan or not, you are back in Cloud Connections where you were, and the window reads your rights again: a plan you just bought shows its Azure choices straight away, with no sign-out and no reload. Closing the plans window (its X, or Escape) never closes Cloud Connections. The plans are also described in Get a Workspace.

The rights decide only whether you can add a new connection. A cloud that is already connected stays yours to manage whatever your plan: Recheck connection, Sign in with Microsoft, Renew Connection (on the same subscription; Renew never moves the workspace to another one) and Back to Overview all work without either right. Adding a new connection still needs them: without them Create Managed Subscription is not offered, and Connect a different subscription instead shows Upgrade needed, with Back to Overview under it to return to your connected cloud.

To bring your own subscription you sign in with a Microsoft account that can reach it. If Microsoft says an administrator must approve OpenX in that directory, the window offers Approve access in Azure for an administrator to use.

Bring your own subscription

  1. In Bring Your Own Cloud, click Sign in with Microsoft. The sign-in opens in a popup; allow popups for the workspace.
  2. Choose a directory: one button per Azure directory your sign-in reaches. Change directory takes you back to the list.
  3. Pick how to connect, from three tabs, and finish with that tab's button:
TabWhat it asksButton
Select SubscriptionA subscription you already have in that directoryConnect Subscription
Create SubscriptionSubscription Name, whether it is a Dev/Test workload, and a Billing ScopeCreate Subscription
Manual (IDs + Secret)Name, Description, Tenant ID, Subscription ID, Application ID, Application Auth KeyConnect Subscription

The button is what connects: there is no separate Save. When it is connected the window shows Connected to Microsoft Azure with the name, subscription and tenant.

A managed subscription

Managed Azure Subscription creates a subscription that Fathym runs for you. Click Create Managed Subscription; nothing is sent until you confirm:

Create a billable Azure subscription?

This creates a real, billable Azure subscription (DevTest) for this workspace. Once it is created, it cannot be deleted for 90 days.

Yes, create the subscription starts it; Cancel backs out.

Once a cloud is connected

The Microsoft Azure tile shows the connection's state, its subscription and tenant (masked to their last four characters), and two icons: Recheck this connection now and Renew the credential or switch tenants. The window checks the connection when it opens.

StateMeans
ConnectedAzure accepted the stored credential
CheckingThe check is running
Connection failedAzure rejected the stored credential. Nothing new can be provisioned until it is renewed
Couldn't checkThe check could not run, so the credential was not tested. This is not a failure

Renew the credential

The credential expires. As the date gets close, the window says so, and the Cloud Connections menu item shows a badge until it is renewed. Once it has expired:

This connection's credential expired on (date). Azure will reject anything this workspace tries to provision until you use Renew Connection.

OpenX does not renew it on its own; a person does. In the renew view:

ButtonWhat it does
Renew ConnectionWhen the app registration is OpenX's own: adds a new secret in one click, keeping the same ids. A managed cloud needs no Azure sign-in; a cloud you connected yourself asks you to sign in to Azure first
Reconnect CloudWhen the app registration is not OpenX's: you reconnect through Microsoft
Connect a different subscription insteadGoes back to choosing a directory and subscription
Back to OverviewReturns to the summary

Replace credentials, on the connected card, starts the connect steps again as if no cloud were stored.

A managed cloud renews with one button. The window says: "This cloud was created for this workspace, so the identity that created it issues the new secret, with no Microsoft sign-in." Press Renew Connection and the renew starts; there is no sign-in step, and the cloud stays managed. On a cloud you connected yourself, the same button first asks you to sign in to Azure: "Sign in to Azure so Renew can replace this connection's key."

Renew tries the new key before it turns the old one off. The new key is tried first, and the old key is turned off only once the new one works. If the new key is not accepted in time, the old key stays in place, so a renew never leaves the cloud without a working key, and the renew says:

The new key was not accepted in time, so the connection keeps its current key. Try Renew again later.

Press Renew Connection again later; a new key that was slow to arrive is cleaned up by a later good renew. When the renew works, the window says: "Renewed. Everything built on this cloud uses the new key on its next call; there is nothing to deploy."

When a key is rejected or expired

The workspace checks each connected cloud's key itself, not only while this window is open, and keeps the answer for a few minutes. When Azure rejects the key, or it has expired, you see it in three places, and each points to Renew Connection:

  • The Cloud Connections menu item shows a badge with the number of clouds that need you. Hover it and it says "1 cloud needs attention" or "2 clouds need attention". The count is of clouds, so a cloud proposal waiting on you can raise the badge but never changes the number in that sentence.
  • A record that lives on your workspace's own cloud shows an attention notice in the Inspector: why it could not be read, what to do, and a Renew Connection button that opens this window. If the cloud is not connected, the button reads Open Cloud Connections. The Inspector's health line above it says when the check ran, as "Checked 3 minutes ago"; hover for the exact time in UTC.
  • get_workspace carries a CloudStatus for the workspace with the same words. See get_workspace.

A check that could not run, such as a network error, is not a rejected key: it says Couldn't check, shows no badge and no notice, and nothing is known about the key. The steps are in A cloud key was rejected.

A workspace does not move between subscriptions or directories. Once connected, a different subscription, tenant or application id is refused, and so is a billing scope. To refresh an expired credential, use Renew Connection.

Save and Deploy

This window has no Save; its own buttons do the work. Connect Subscription, Create Subscription, Renew Connection and Yes, create the subscription each build at once: the window starts a commit that runs the cloud connection's setup in Azure, and follows it in its Latest deployment panel. It does not wait for Deploy. While it runs, another setup window's save and a Deploy are refused (DEPLOY_IN_PROGRESS), and a canvas Save is refused while the commit is still queued; wait for it to finish.

A cloud connection cannot be removed from the workspace.

Rights

The two rights above decide only what the window offers; connecting itself checks no access right. Connecting your own subscription uses your own Microsoft sign-in.

Thinky and agents

Thinky, or an agent connected over MCP, can propose a cloud connection: its name and description, and the subscription, tenant and billing scope until the cloud is connected. It can propose either an existing subscription (a subscription and its tenant) or a new subscription to be created under a billing scope (a billing scope and no subscription). The agent never sees your real ids: it proposes codes for this workspace, and this window turns them into your own ids from your own Azure sign-in. It can never propose the secret, anything only you set at connect, anything the connection writes for itself, or any other field:

CodeWhen
CREDENTIAL_IN_PROPOSALThe proposal names the connection's secret: "It is created when the person connects in the Cloud Connections window."
IDENTITY_ALREADY_STOREDThe proposal changes the subscription, tenant or billing scope of a cloud that is already connected
PERSON_ONLY_FIELDA field only you set when connecting, such as the application id
ACTUATOR_OWNED_FIELDThe connection's own id or its secret's id or expiry: "is written by the Clouds actuator when the connection is made, so it can never be proposed."
UNKNOWN_CLOUD_FIELDAny other field: "is not a proposable Cloud field. Allowed: Name, Description, SubscriptionID, TenantID, BillingScope."

A pending proposal shows over the normal Connect form: "An agent has proposed a cloud connection for this workspace", with what it proposes. After your Azure sign-in, the form opens filled from the proposal: the proposed directory is chosen, and the proposed subscription is selected (or, for a new subscription, Create Subscription opens with the proposed billing scope). "Change anything you like: Accept proposal and Connect accepts the proposal, then connects with what the form holds. Only your connect makes the connection." In place of the standard button, each tab's button reads Accept proposal and Connect: one press accepts the proposal, then connects. A proposed id your own Azure does not hold is left for you to pick, and the form says so.

A proposal accepted anywhere else, such as the Proposals panel or the canvas, is saved as a cloud that is not connected yet. This window then opens on the same Connect form, filled from what was saved, with the standard button. When the workspace already has a working cloud, the proposal shows at the top of the window with Accept Proposal, and "accepting only records the proposed name and description." Reject Proposal rejects it: "Nothing is created in Azure, and every change in its bundle is rejected." Accepting takes the whole bundle the proposal came in.

Messages you may see

CodeMessage
(sign-in)"Your Azure session has expired. Sign in again to connect your cloud." The window returns to the sign-in step
GRAPH_CONSENT_REQUIRED"An administrator of this directory needs to approve OpenX before it can connect. Approve access, then connect again."
CONNECT_TIME_ONLY_FIELDThe workspace is already connected to another subscription, tenant or application, "and that cannot be changed here." Use Renew Connection
CLOUD_CONNECT_FAILED"The Azure cloud could not be connected. Try again; if it keeps happening, contact support."
MANAGED_SUBSCRIPTION_FAILED"The managed subscription could not be started. Try again; if it keeps happening, contact support."
DEPLOY_IN_PROGRESSA setup window or a Deploy is already running for the workspace. Wait for it to finish, then try again
CLOUD_CHECK_UNREACHABLE"Could not reach the service that checks this connection, so the credentials were not tested. Try again in a moment."
CLOUD_NOT_CONFIGURED"This cloud is not configured for the workspace."
CLOUD_TOKEN_EMPTY"Failed to retrieve Azure access token." Renew the connection
CLOUD_VALIDATION_FAILEDMicrosoft's own reason the credential was rejected. Renew the connection

TIP

The connection is the base for everything else in Cloud. Next, create your private landing zone in Landing Zone.

Next steps

On fathym.com: OpenX in your cloud →

On this page