Installation: Self-Hosted
Install a self-hosted Burla instance inside your private cloud.
Quick version:
Simply run
pip install burla
then runburla install
If you're missing anything the command will tell you what to do!
Instructions:
Ensure gcloud
is setup and installed:
If you haven't, install the gcloud CLI, and login using application-default credentials.
Also, ensure gcloud
is pointing at the project you wish to install Burla inside:
To view your current gcloud project run:
gcloud config get project
To change your current gcloud project run:
gcloud config set project <NEW-PROJECT-ID>
Then install Burla with:
pip install burla
burla install
That's it!
Burla install requires that your user account have permission to run the following commands:
gcloud services enable ...
gcloud compute firewall-rules create ...
gcloud secrets create ...
gcloud firestore databases create ...
gcloud run deploy ...
If you're missing any permissions, burla install
will tell you which ones you need!
To see the exact required IAM permissions, check out the CLI documentation for burla install
.
Next steps:
Run
burla dashboard
to login to your new cluster dashboard. You will need to login using the same email you used to authenticategcloud
. This ensures that only you the installer are allowed to access your new self-hosted Burla instance. To add other users, simpy add their email to the list of authorized users in the settings tab.Hit the ⏻ Start button in your dashboard to turn the cluster on. By default this will start one 4-CPU node. If inactive for >5 minutes this node will shut itself off.
Run the example!
from burla import remote_parallel_map
def my_function(my_input):
print("I'm running on remote computer in the cloud!")
remote_parallel_map(my_function, [1, 2, 3])
Questions? Schedule a call with us, or email [email protected]. We're always happy to talk.
Last updated