There are different ways to launch a Bubble, depending on what you’re trying to do.
First we’ll discuss how to set the Launch Type, then look at what the different options are and what they mean.
How you set the Launch Type depends on whether you use the web interface or the CLI/API.
Launch Type is called “Bubble Type” in the web interface.
On the Bubble launch screen, click the “Launch with Advanced Settings” link. The first drop-down option is “Bubble Type”.
When using the API, set the launchType
property in the JSON object that creates the Bubble.
The two key distinguishing characteristics of each Launch Type are its Mode and how it handles Cloud Services.
The mode can be either sage
or node
.
A sage
, also called a launcher, is a Bubble that launches other Bubbles.
You don’t connect devices to a sage/launcher. You just launcher other Bubbles with it.
A node
, also often just called a Bubble, is a regular Bubble that acts as a VPN and you connect devices to it.
When it needs to use cloud services, a Bubble can either:
What are the pros/cons of each approach?
If you don’t want your cloud credentials stored in your node, use delegated cloud services. Alternatively, if you’re starting a launcher or don’t want cloud services mediated via a launcher, you’ll want your Bubble to call cloud services directly.
Bubble supports the following Launch Types:
node
node
(cloud)sage
that launched itsage
sage
node
node
(standalone)A Local Launcher is a special case, since it bootstraps everything else.
Nonetheless, using the same bullet points as above can be informative:
sage