Skip to content

Deploy Cosmo Tech workspace

Important

Babylon needs a configured Vault instance in order to work properly. Contact the DevOps team if you need to access one!

After creating the Python virtual environment (.venv) to use Babylon, you can now get started.
See 👉 Install Babylon

Deploy with Babylon v5

Export Vault variables

export BABYLON_ORG_NAME="cosmotech" # cosmotech
export BABYLON_TOKEN="vault_root_token"  # hvs.CLxxxxxxxxxxxxxxx
export BABYLON_SERVICE="https://warp.api.cosmotech.com"
Run babylon namespace use command
uuidgen | cut -c1-8 # to generate uuid 
babylon namespace use -c test-v5 -p sphinx -s 220d04f0 
Create a test folder, for example
mkdir test-babylon && cd test-babylon
Run the init command to generate the project structure
babylon init
All the manifest files for a minimal deployment are now ready. Edit them as you need, and then start the deployment process:
babylon apply --organization project/  
babylon apply --solution project/
babylon apply --workspace project/ 
babylon apply --runner project/
You can also test individual Babylon commands: list resources, update security, etc.
babylon api organizations security get-all
babylon api solutions security get --email toto.tata@cosmotech.com 
babylon api workspaces security set-default --role admin
babylon api runners get-all