Skip to content

For cloud operators ​

This page is for the cloud operator who installs Vibedata into a cloud account. Decide the choices below and collect the values before you start. It lists choices and values only. The Cloud Installer wizard and the Azure Marketplace form show the steps.

Use this page for a team installation on Azure, AWS or Google Cloud. For a single-machine install, see Local Docker Deployment. For the install steps, see Install Vibedata. After the install, the Vibedata Owner configures Vibedata: see Set up your org.

Choose your cloud and way to install to see only what applies to you. Your choice carries over to the other Setting up Vibedata pages.

Ways to install ​

The Cloud Installer installs on Azure, AWS and Google Cloud. An operator runs it as a wizard on their own machine.

On Google Cloud, the Cloud Installer runs the same lifecycle as on Azure and AWS: install, repair, upgrade, backup, a setting or address change, stop and start, recovery, teardown and import.

The Azure Marketplace offer installs on Azure only. An operator fills in the Marketplace form, and the install runs inside the Azure account.

What the operator machine needs ​

This section applies to the Cloud Installer.

The installer comes as one bundle. It carries its own Node runtime and the tools it runs: Pulumi, Helm, kubectl and cosign. You do not install Node or those tools. A web browser is needed for the wizard and for cloud sign-in.

On Azure, the machine needs the Azure CLI (az) on the PATH. The installer does not bundle it. Sign in to Azure in the wizard. The infrastructure engine keeps its own Azure sign-in through the CLI, and the installer runs az login for it when needed. You finish that second sign-in in a browser. Both sign-ins must be the same operator. Without the CLI the checks report that it is not installed.

On AWS, the machine needs nothing else. The installer calls AWS through its own libraries and signs in with AWS IAM Identity Center. It does not call the AWS CLI.

On Google Cloud, the machine needs the Google Cloud CLI (gcloud) on the PATH. The installer uses the Google login already on the machine, or starts the Google sign-in in the browser. Without the CLI, the sign-in says it is not installed and links to Google's install page.

Cloud account and roles ​

Azure, with the Cloud Installer ​

The operator signs in to Azure in the wizard. The checks are read-only. They report each missing permission and the role that covers it. The smallest built-in roles are:

RoleWhat the install uses it forNeeded when
ContributorCreate the resource group, network, cluster, storage, vault and identitiesAlways
Role Based Access Control AdministratorGive the cluster identity access to storage and the vaultAlways
Key Vault Secrets OfficerWrite the generated Vibedata secrets into the vaultAlways
DNS Zone ContributorPoint the domain at Azure Front Door and prove domain ownershipThe domain's DNS zone is in the subscription

As your data grows, you can make the file share bigger in the Azure portal. The installer keeps the size you set.

Azure, with the Marketplace offer ​

The account that creates the application needs Contributor or Owner on the subscription. The form switches on the Azure services that the install needs, for example Virtual machines, Kubernetes, Network and Storage.

AWS, with the Cloud Installer ​

ValueWhat the install uses it for
AWS access portal URLThe IAM Identity Center start URL. The wizard signs in with it and finds the Identity Center region.
Account and permission-set roleThe account and role that the installer assumes for the run. Attach the installer's published IAM policy, aws-iam-policy.json, to this role, on the account that Vibedata goes into.

The wizard checks the policy with one real call per AWS service. It reports any missing action by name.

The published policy includes organizations:DescribeOrganization. The check uses it to learn whether the account is inside an AWS Organization. Without it, the install still works, and the check lists what it cannot test.

Google Cloud, with the Cloud Installer ​

ValueWhat the checks use it for
ProjectThe project Vibedata goes into. The wizard lists the projects your Google account can reach.
Installer roleYour Google Cloud admin creates the installer's custom role from gcp-installer-role.yaml and grants it to you on the project.

The checks name each missing permission as Google writes it. A project with no billing account is blocked. A Google service that is off is listed, and is blocked only when you may not turn it on. If another Vibedata installation already runs in the project, you see a warning: both installations get the same Google identity, so each can read the other's secrets. Use one project for each installation, or accept the warning to go on.

The install builds, in one zone of your region: a network with Cloud NAT, a GKE cluster with private nodes, a shared disk (Filestore Zonal, 1 TiB), a private backup bucket, Vibedata's secrets in Secret Manager, a protected store, and an HTTPS load balancer with a certificate Google manages. Nothing in the cluster has a public address; only the load balancer reaches Vibedata.

As your data grows, you can make the shared disk bigger in the Google Cloud console. The installer keeps the size you set.

For the address, you choose:

  • A free Google Cloud address, <name>.endpoints.<project>.cloud.goog. You set up nothing.
  • A domain you own. If its DNS is in Cloud DNS in the same project, the installer writes the record. If it is somewhere else, the installer shows one A record for you to add, and waits for it.

On a first install, Google can take up to an hour to issue the certificate. The run waits and says so.

The installer acts with your Google sign-in, which lasts one hour. If a build runs past it, or your company makes you sign in again sooner, the build stops. Sign in again and run it again: it carries on from what is there.

After the install:

  • A backup goes to the installation's private backup bucket. The installer keeps the newest two.
  • Stop scales the nodes to zero, so they stop billing. The GKE control plane, the Filestore share, Cloud NAT and the load balancer keep billing. Start brings the nodes back. You can start right after a stop.
  • You can move between the free address and your own domain, in both directions. Google issues a new certificate for the new address, which can take up to an hour. The run waits.
  • An installation built before these actions existed needs one Repair before its first backup or upgrade. The Repair turns on the bucket mount the backup uses.
  • Recovery builds a new cluster and a new Filestore share beside the current ones, in the same zone, and restores the last backup into them. The load balancer moves to the new cluster only after it passes its checks. The old cluster stays until you remove it with Remove replaced clusters. A recovery does not cover an outage of the whole zone.
  • Teardown removes the clusters and the load balancer. By default it keeps the secrets, the backup bucket, the Filestore share and the network. The Filestore share and the storage of both buckets keep billing, and the screen says so before you approve. Remove everything also deletes those, except the protected store: Google keeps it 7 years after the last write. Both choices delete the free address, because the load balancer's address goes too. After a teardown, the installer checks that nothing it did not keep is left in the project. On your own domain in Cloud DNS, it also checks that the A record is gone.
  • Import finds an installation by its vibedata-installation-id label in the project you pick. It records the installation and changes nothing in Google Cloud. A project whose Kubernetes Engine API is off has no installation to find. Recovery needs a backup, so take a backup first after an import. Teardown is offered. After an import, check both allowed address lists: they still hold the address of the machine that ran the last install.
  • You can check for drift on the installation's Checks tab. The check compares the installer's record with what Google Cloud holds, and changes nothing. Just after an import, the check says the installer has not read the installation yet. Run a Repair first, then check again.
  • The installer keeps its state on your machine. To share it with your team, move it to a Cloud Storage bucket you own, as gs://bucket/folder. The bucket cannot be one of the installation's own buckets. To move the installation to another machine, hand it off.
  • The installer's role gained the delete and list permissions that recovery, teardown and import need. If your admin created the custom role from an earlier gcp-installer-role.yaml, they must update the role from the new file.

On the Target screen, Google Cloud offers the same choices as Azure and AWS: your own network, your own key, allowed address ranges and labels. Each is described below. It does not offer private storage access, because storage on Google Cloud is already private. Each choice has an (i) tip that names the rights it needs.

Cloud policy ​

Before anything is created, the checks ask your cloud whether your company's policy allows each resource the install creates, with the settings you chose. Each resource is Allowed, Blocked or Unverified.

  • Blocked: a policy refuses the resource. The row names the policy and the fix. Fix it, then run the checks again.
  • Unverified: the check could not prove the answer. Read the item and accept it to carry on.

Each fix belongs to one of three groups:

GroupWhat to do
Change an install choiceChange a choice in the wizard or on the form, for example tags, private storage, your own key, region or VM size.
Ask your cloud adminAsk for an exemption from the named policy for this installation.
Not supported by VibedataThe policy requires something Vibedata cannot do. Ask for an exemption.

On Azure, the check asks Azure Policy about every resource.

On AWS, only the VPC, the Elastic IP address and the node disk can be tested before they exist. In an account inside an AWS Organization, the checks list the other resources as one Unverified item with their settings, so your admin can compare them with your rules.

On Google Cloud, Google cannot say in advance whether a resource would be allowed, so the check reads the organization policy that applies to the project for each resource the install creates. A rule with a condition, or a custom rule, makes the result Unverified. A fix can name three install choices: another region, Encrypt with my own key when a policy requires your own key on disks, Filestore or buckets, and your own network when a policy refuses Cloud NAT. A policy that requires your own key on secrets, or on the GKE cluster itself, is for your Google Cloud admin.

The Marketplace form runs the same check on its Policy check step, before you select Create. A Blocked resource stops Create until you fix it. An Unverified resource does not stop Create. The form cannot check a policy that depends on the resource group, so it shows that resource as Unverified.

After Create, the install checks again inside the managed resource group, before it builds the cluster. If a policy blocks a resource, the application ends as Failed. Azure shows only a general failure message on the application. To read the reason, open the managed resource group, then Deployments, then the studio-install deployment script. Its error names the resource, the policy and the fix.

Network ​

Choose whether the install builds a network or uses subnets you already have.

ChoiceWhat happens
Build a new network (default)The install creates the network.
Use subnets you already haveThe install puts the cluster in your subnets and creates no network of its own.

Existing subnet on Azure ​

Give the full Azure subnet ID. The subnet must meet these rules:

  • At least 256 addresses (/24, or a lower number such as /23).
  • In the same region as the install.
  • A network security group on the subnet.
  • A Microsoft.Storage service endpoint.
  • No delegation.
  • With private storage, private endpoint network policies off.

The install adds two rules to the security group, allow-frontdoor-origin and deny-internet-origin, and role assignments on the network.

Deleting the Marketplace application leaves them in place. Remove them yourself after a delete.

With the Marketplace offer, also prepare one user-assigned managed identity, the network identity:

  • Role Based Access Control Administrator on the virtual network and on the subnet's network security group.
  • Managed Identity Operator on the identity itself.

The subnet must allow outbound HTTPS to these hosts. The install pulls one image from each registry and tests the other hosts from inside the cluster. It stops if one is blocked.

PurposeHosts
Sign-in and chartslogin.microsoftonline.com, github.com
Image registriesghcr.io, registry-1.docker.io with auth.docker.io, and quay.io, with the hosts they download from
dbt packageshub.getdbt.com, codeload.github.com
AI model providersThe address of each AI model provider that you turn on in Vibedata. The install cannot test these.

The Marketplace offer also needs marketplaceapi.microsoft.com and terms-api-214345144905.us-central1.run.app.

Existing subnets on AWS ​

Give two private and two public subnet IDs. They must meet these rules:

  • All four are in one VPC. The private and public subnets are in the same two zones.
  • The VPC has DNS resolution and DNS hostnames turned on.
  • Each private subnet has at least 256 addresses, with at least 128 free, and an outbound route that does not go to an internet gateway, such as a NAT gateway.
  • Each public subnet has at least 8 free addresses and a route to an internet gateway.
  • No subnet is in zone use1-az3, usw1-az2 or cac1-az3.

The cluster, its nodes and the storage go in the private subnets. The load balancer that CloudFront reaches goes in the public subnets.

The private subnets must allow outbound HTTPS to github.com, to hub.getdbt.com and codeload.github.com for dbt packages, and to the image registries ghcr.io, registry-1.docker.io with auth.docker.io, and quay.io, with the hosts they download from. The install tests them from inside the cluster and stops if one is blocked. Also allow the address of each AI model provider that you turn on in Vibedata. The install cannot test these.

Existing network on Google Cloud ​

Choose the Existing network and the Existing subnet from the lists, or type their names. They must meet these rules:

  • Both are in the install's project. The subnet is in the install's region. A network shared from another project is not offered.
  • The subnet has at least 32 addresses (/27, or a lower number such as /26). GKE adds the cluster's pod and service ranges to it.
  • The subnet has a way out to the internet. The nodes get no public address, so this is a Cloud NAT that covers the subnet, a default route to your own firewall, or a default route your Cloud Router learns over BGP.

The subnet must allow outbound HTTPS to github.com, hub.getdbt.com and codeload.github.com for dbt packages, secretmanager.googleapis.com, storage.googleapis.com, and the image registries ghcr.io, registry-1.docker.io with auth.docker.io, and quay.io, with the hosts they download from. The install tests them from inside the cluster and stops if one is blocked. Also allow the address of each AI model provider that you turn on in Vibedata. The install cannot test these.

The install then creates no network, subnet, Cloud Router or Cloud NAT. It adds one firewall rule to your network, which lets only Google's load balancer reach Vibedata. The checks stop before the plan when a rule is not met, and say what to change. The network cannot change after the first install.

Storage access on Azure ​

ChoiceWhat happens
A public address, firewalled to the cluster (default)Only the cluster's subnet can reach the storage.
A private address onlyThe storage has no public address. A backup from outside the network needs the installer to run inside the network.

Customer-managed key ​

Azure, AWS and Google Cloud encrypt Vibedata's storage and node disks by default. The key then belongs to the cloud. You can use your own key instead.

With the Cloud Installer, choose Encrypt with my own key on the Target screen.

With the Marketplace offer, choose Encrypt with my own key (customer-managed) in the form.

The choice is off by default. With your key, the install encrypts Vibedata's storage, the node disks and the disks that Kubernetes creates.

With the Cloud Installer, choose the key before the first install. After that, the key cannot change, be removed, or be added. An import reads the key back from the installation. The installer writes nothing on your key, vault or identity. Before each plan, it checks the key and the signed-in account's rights, and it stops with what to change.

Azure, Cloud Installer ​

ItemRequirement
Key VaultIn the same subscription and region. Purge protection is on. The firewall lets trusted Microsoft services through.
KeyAn existing RSA key in the vault. It is enabled and has not expired. The install creates no key. Give the key address without a version, so Azure follows each new version.
IdentityOne user-assigned managed identity with Key Vault Crypto Service Encryption User on the vault or on the key.
Rights of your accountReader on the Key Vault and Managed Identity Operator on the identity.

The Target screen lists the Key Vaults, keys and identities in the region. Choose from the lists, or give the Key Vault id, Key address and Identity id.

AWS, Cloud Installer ​

The Target screen lists the KMS keys in the region. Choose from the KMS key list, or give the KMS key ARN.

ItemRequirement
KMS keyA symmetric KMS key in the install's region and account. You created it (not an AWS-managed key), and it is enabled. Give the key ARN, not an alias.
Key policyKeep the statement that gives your account kms:*. Let AWSServiceRoleForAutoScaling use the key and create grants on it, so the nodes can start. A grant on the key works in place of a policy statement.
Auto Scaling roleIf the account never used Auto Scaling, create the service-linked role autoscaling.amazonaws.com first.
Rights of your accountkms:DescribeKey, kms:GetKeyPolicy, kms:ListGrants, kms:CreateGrant, kms:GenerateDataKeyWithoutPlaintext and kms:Decrypt on the key. The published IAM policy for the operator includes them.

The key covers both file systems, the protected store, the node disks and the database disk. The installer gives the EBS driver role and the Vibedata backend role use of this one key.

Google Cloud, Cloud Installer ​

The Target screen lists the enabled keys in the project and region. Choose from the Cloud KMS key list, or give the key's full name.

ItemRequirement
KeyA Cloud KMS key for encryption in the install's region, with an enabled primary version. It can be in another project. Give the key, not one of its versions, so the resources follow the key as you rotate it.
Service agentsThe project's Compute Engine, Cloud Storage and Filestore service agents hold Cloud KMS CryptoKey Encrypter/Decrypter on the key or its key ring. If one is missing, the checks give the command that grants it.
Cloud KMSTurned on in the install's project.
Rights of your accountcloudkms.cryptoKeys.get, cloudkms.cryptoKeys.getIamPolicy and cloudkms.keyRings.getIamPolicy on the key. The published installer role gives them for a key in the install's project.

The key covers the Filestore share, the backup bucket, the protected store, the node disks and the database disk. Secrets keep Google's own key.

Azure, Marketplace offer ​

Prepare these before you start:

ItemRequirement
Key VaultIn the same subscription and region. Soft delete and purge protection are on.
KeyAn existing RSA key in the vault. The install creates no key. Azure follows each new version, so a key rotation in your vault reaches Vibedata.
Key identityA user-assigned managed identity with Key Vault Crypto Service Encryption User on the vault.
Application identityA second user-assigned managed identity with Managed Identity Operator on the key identity. Give it no role on the vault.

Keep the key ​

Vibedata never reads or copies the key. If you disable or delete the key, nobody can read Vibedata's data until you enable it again. Keep the identities and their roles, and the key policy, while Vibedata runs, because Repair, Upgrade and Recover need them.

Allowed address ranges ​

An address range is an IPv4 or IPv6 CIDR, such as 203.0.113.0/24 or 2001:db8::/32. Separate several ranges with commas.

FieldTakesEmpty meansAlways admitted
Addresses allowed to reach StudioIPv4 and IPv6Anyone can reach Vibedata's sign-in pageThe address that runs the install, and the cluster's outbound address
Addresses allowed to manage the clusterIPv4 onlyThe Kubernetes API stays openThe address that runs the install

Every other address is blocked from Vibedata.

The Marketplace form has the first field only, named Addresses allowed to reach Studio.

If you limit who can reach Vibedata on AWS with your own public subnets, add your network's outbound address to the list.

On AWS, CloudFront serves Vibedata over IPv4 only, so list your IPv4 ranges. IPv6 ranges are ignored.

On Google Cloud, the list of addresses allowed to reach Vibedata is a Cloud Armor policy on the load balancer. If your network leaves through your own firewall, add the firewall's outbound address to the list. With a list of addresses allowed to manage the cluster, the cluster's API answers on its IP address only, and only to the listed addresses and the address of the last install or Repair. If you run the installer from a new address, run Repair first. On an installation built by an earlier installer, the checks ask you to run Repair before you add or remove this list.

Bootstrap key ​

The bootstrap key is the key that the first person uses to sign in to Vibedata. They use it to connect the Identity Provider and to make the first Vibedata Owner. See Set up your org. It is not the steady-state administrator identity.

The Cloud Installer generates the key into your cloud's secret store and keeps no copy. After the install, reveal or copy it on the result screen with your own cloud sign-in.

With the Marketplace offer, you choose the key in the form. Use 16 to 128 characters, with no spaces. Do not start it with [. Mix at least three of: lower case, upper case, digits, symbols. Tick I have saved this bootstrap key in a safe place. Azure does not show the key again and Vibedata cannot recover it.

Other choices ​

The Target screen groups its choices into Basics, Cluster, Access and domain, Networking, Security, Tags and Welcome email. Networking, Security, Tags and Welcome email are optional.

ChoiceValues
AddressAn address from the cloud, which needs no DNS setup, or a domain you own. A domain you own needs a DNS record that you control.
Node sizeA virtual machine size that your cloud account may run in the chosen region.
Number of nodesThree or more. Vibedata runs two backend and two frontend replicas on separate hosts.
What to installVibedata only, the smallest install, or Add observability, which adds Grafana, metrics, logs and traces and needs more capacity.

The Marketplace form offers x64 node sizes with 4 or more vCPU and 16 GB or more, and no burstable, GPU or HPC sizes.

On the Marketplace form, What to install is the "Observability" choice on the Size step: "Core only" or "Core plus observability".

ChoiceValues
TagsOne name=value per line, for the tags your cloud policies require. The installer puts them on every resource. A tag name or value cannot contain a comma or an equals sign. A resource takes at most 50 tags, and Vibedata adds its own: one on Azure, and up to four on AWS.

On AWS, the load balancer, the database disk and the node instances carry only Vibedata's own tags, not yours.

On the Marketplace form, add tags in the tags field on the Network and access step. They go on the application and on every resource the install creates.

ChoiceValues
LabelsOne name=value per line, for the labels your cloud policies require. The installer puts them on every resource. A name starts with a lowercase letter. Names and values hold only lowercase letters, digits, _ and -, at most 63 characters. At most 58 labels. Choose them before the first install: they cannot change after it.
ChoiceValues
Welcome emailOptional. Leave it empty and Vibedata sends no email.

What happens during the install ​

One approval covers the whole run: approving the plan in the Cloud Installer, or selecting Create on the Marketplace form. The run goes in this order:

  1. Build. The install creates the cloud resources, or reuses what you chose to keep.
  2. Connect. The install connects the public address. Until Vibedata opens, the address does not show Vibedata yet.
  3. Install. The install puts Vibedata into the cluster, and opens it once every companion application is healthy. A half-built installation is never put in front of users.
  4. Check. The install checks Vibedata through its public address, including the first sign-in.

Vibedata stays in Maintenance Mode until every companion application is healthy. Users see the maintenance page. If a companion does not become healthy, the run ends degraded and the page stays up.

Fix the cause, build the plan again and run it. Checking again does not open Vibedata.

With the Marketplace offer, Azure then marks the application Failed. The reason is in the error of the studio-install deployment script in the managed resource group. Fix the cause. Then, in the Cloud Installer, import the application's managed resource group and run Repair on it. To get the Cloud Installer, see Download the Cloud Installer; on Azure it also needs the Azure CLI (az).

For a first Marketplace install, sign-in stays closed until the installation is confirmed. The sign-in page shows Installing Vibedata, or Installation failed when the install failed. Sign-in opens by itself when the install succeeds.

When every check passes, the result screen says Every check passed. Sign in with the bootstrap key.

When the install succeeds, Azure marks the application Succeeded, and the sign-in page opens.

Open Vibedata and sign in with the bootstrap key. Then continue with Set up your org.