Support

Floating Licenses

Follow

RStudio Connect version 1.5.4+ and RStudio Server Pro version 1.1+ support floating licenses.


Do I need floating licensing?

Most likely no. By default, RStudio products come with support for activating and deactivating license keys. Floating licenses require additional setup and are only recommended if traditional licenses are not working with your architecture. Floating licenses can be required in environments where servers often shut down without deactivating the license. This scenario is most common with ephemeral backends such as Docker containers. 

How does floating licensing work?

With floating licensing, professional RStudio product servers lease a license from a persistent micro-server. The micro-server manages the license itself, and leases on that license can be acquired and released by the RStudio product servers as needed.  If an RStudio product server is shut down without releasing its license lease, a new RStudio product server can acquire that lease after it has expired, or is manually released.

Screen_Shot_2017-08-14_at_3.19.59_PM.png 

How do I use floating licensing? 

To use floating licensing:

  1. Setup a persistent micro-server. The server can be small (1 core, 2 GB RAM).

  2. Download the appropriate floating license server.

  3. Install the floating license server:

    sudo gdebi <license-server.deb>  # replace with the downloaded deb name

    OR

    sudo yum install --nogpgcheck <license-server.rpm> #replace with the downloaded rpm name

  4. Activate the floating license on the micro-server:

    Online mode, if your license server has an internet connection:
        sudo [connect-license-server | rsp-license-server] activate <product-key>
        sudo [connect-license-server | rsp-license-server] start

    Offline mode, if your license server does not have an internet connection:
        See the instructions in the relevant administration guide, linked below.

  5. Follow the product specific instructions to enable floating licenses:
        RStudio Connect
        RStudio Server Pro 

  6. Ensure that the RStudio product servers can reach the license server to acquire license leases. If your license server is behind a firewall, you may need to open the appropriate port on the license server; see the administration guides linked above for details.

Do I need a new license key to use floating licensing?

Yes.  Please contact support@rstudio.com if you are interested in floating licenses. 

Does floating licensing change how many instances I can use?

No. Floating licensing does not change how many servers or containers can be active at one time. 

Does floating licensing work offline?

Yes. Floating licensing does not replace traditional offline licenses. Both traditional and floating licenses can be activated offline. The RStudio product servers will need network access to the licensing server. 

Comments