The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

launch-types.md 2.9 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Bubble Launch Types
  2. ===================
  3. There are different ways to launch a Bubble, depending on what you're trying to do.
  4. First we'll discuss how to set the Launch Type, then look at what the different options are and what
  5. they mean.
  6. # Setting the Launch Type
  7. How you set the Launch Type depends on whether you use the web interface or the [CLI/API](https://github.com/getbubblenow/bubble-docs/blob/master/api/README.md).
  8. ### Via Web UI
  9. Launch Type is called "Bubble Type" in the web interface.
  10. On the Bubble launch screen, click the "Launch with Advanced Settings" link.
  11. The first drop-down option is "Bubble Type".
  12. ### Via the API
  13. When using the API, set the `launchType` property in the JSON object that creates the Bubble.
  14. # What Makes Launch Types Different?
  15. The two key distinguishing characteristics of each Launch Type are its **Mode** and how it handles **Cloud Services**.
  16. ### Bubble Mode
  17. The mode can be either `sage` or `node`.
  18. A `sage`, also called a launcher, is a Bubble that launches other Bubbles.
  19. You don't connect devices to a sage/launcher. You just launcher other Bubbles with it.
  20. A `node`, also often just called a Bubble, is a regular Bubble that acts as a VPN and you connect devices to it.
  21. ### Cloud Services
  22. When it needs to use cloud services, a Bubble can either:
  23. * Delegate the call back to its launcher (a "cloud Bubble")
  24. * Call the cloud service directly (a "standalone Bubble")
  25. What are the pros/cons of each approach?
  26. If you don't want your cloud credentials stored in your node, use delegated cloud services.
  27. Alternatively, if you're starting a launcher or don't want cloud services mediated via a launcher,
  28. you'll want your Bubble to call cloud services directly.
  29. # Launch Types in Detail
  30. Bubble supports the following Launch Types:
  31. ## Regular
  32. * **Packer Image**: `node`
  33. * **Mode**: `node` (cloud)
  34. * **Cloud Services**: delegated to the `sage` that launched it
  35. * **Scenario**: Launching a [cloud Bubble](launch-node-from-remote.md) from a [Remote Launcher](remote-launcher.md)
  36. ## Fork Launcher
  37. * **Packer Image**: `sage`
  38. * **Mode**: `sage`
  39. * **Cloud Services**: cloned from launcher, called directly
  40. * **Scenario**: Creating a [Remote Launcher](remote-launcher.md) from a [Local Launcher](local-launcher.md)
  41. ## Fork Bubble
  42. * **Packer Image**: `node`
  43. * **Mode**: `node` (standalone)
  44. * **Cloud Services**: cloned from launcher, called directly
  45. * **Scenario**: Creating a [standalone Bubble](launch-node-from-local.md) from a [Local Launcher](local-launcher.md)
  46. ### Local Launchers
  47. The [Local Launcher](local-launcher.md) is a special case, since it bootstraps everything else.
  48. Nonetheless, using the same bullet points as above can be informative:
  49. ## Local Launcher
  50. * **Packer Image**: none
  51. * **Mode**: `sage`
  52. * **Cloud Services**: supplied during [activation](activation.md), called directly
  53. * **Scenario**: The first step before launching any other kind of Bubble