RStudio Connect Architecture

RStudio Connect is a publishing platform for the work your teams create in R and Python. Share Shiny apps, R Markdown reports, Jupyter Notebooks, and more.

RStudio Connect Architecture

RStudio Connect is a publishing platform for the work your teams create in R and Python. Share Shiny applications, R Markdown reports, Plumber APIs, dashboards, plots, Jupyter Notebooks, and more in one convenient place. Use push-button publishing from the RStudio IDE, scheduled execution of reports, and flexible security policies to bring the power of data science to your entire enterprise.

 

Technical Questions & Answers

System Requirements

Question Answer Reference
What Operating Systems are supported? LINUX System Requirements
Which Linux Distributions are supported? RedHat (6.0+, 7.0+) CentOS (6.0+, 7.0+) Ubuntu (14.04, 16.04 & 18.04), SUSE 12 SP3+, and SUSE 15. System Requirements
What are the minimum hardware requirements? Minimum recommended requirements are 4 GB of RAM and 2 cores Support Document – What are the system requirements for RStudio Connect?
What level of access does Connect need to run and install? Connect requires root access for running and installation System Requirements
Which Web Browsers are supported? Chrome, Safari, Firefox, IE 11 and MS Edge 1 System Requirements
Can I run Connect in High Availability mode? Yes, Connect supports using Postgres for database connections across multiple nodes. HA & Load Balancing
Can I run Connect offline? Yes, it is possible to activate your Connect installation offline. Offline Activation
Can I share the same license among different virtual machines? Yes, the RStudio Connect License Server is required to control the lease of a license shared by virtual machines. Floating Licenses

Installation & Configuration

Question Answer Reference
What are the steps to installing and setting up the server? Download and install R, RStudio Connect and some packages, then configure authentication and email Getting Started
Are there any consideration when using RedHat or CentOS? Yes, for 6.0+ there may be a need to point the OS to the Extra Packages for Enterprise Linux (EPEL) Red Hat/CentOS (6.0+)
We will use Ubuntu 16.04 or RedHat (CentOS) 7+, what will Connect use to start and stop? Connect will use systemd systemd (Red Hat/CentOS 7, Ubuntu 15.04+)
We will use Ubuntu 14.04 or RedHat (CentOS) 6, what will Connect use to start and stop? Connect will use Upstart Upstart (Ubuntu 14.04 through 14.10, RedHat 6)
How do I activate my RStudio Connect license? This is done by running a one line command when using a standard license. Licensing & Activation
How many Connect configuration files will I need to get familiarized with? One, located by default at /etc/rstudio-connect/rstudioconnect.gcfg A migration configuration file is also present for migrating database settings but requires no manual configuration. Editing the Configuration File and Configuration
What port does Connect use to interact with end-users? Connect uses port 3939 by default, but it can be moved to a more standard port like port 80. Sign In!
Does Connect support secure connections? One can enable HTTPS/TLS support in Connect by providing the security keys and certificates to a more standard port like port 80. HTTPS Settings
Can Connect sit behind a proxy? Yes, Connect can live behind proxies if configured to report its proxied address and if the proxy is able to provide some additional HTTP headers to Connect. Running with a Proxy
How do I configure email in Connect? Email is configured via the Setup Tool or manually via the configuration file. Email Sending
What email providers are supported? Connect supports the use of SMTP, Sendmail, or disabling email features. Getting Started - Email

Audit and Security

Question Answer Reference
Does Connect have activity audit capabilities? Yes, Connect tracks over a dozen different administrative activities as well as login events. Audit Logs
Which authentication methods does Connect support? LDAP, Active Directory (AD), SAML 2.0, Google OAuth 2.0, Pluggable Authentication Module (PAM) and Proxied Authentication. Connect also comes with a built in authentication method. Authentication
Does Connect support Kerberos? Yes PAM Sessions
Can I restrict who can login into Connect as a whole? Yes, if using AD or LDAP, Connect will accept a Permitted List of groups that can logon. When using OAuth it is possible to restrict the domain and/or email addresses allowed to login. PermittedLoginGroup (LDAP/AD) & Restricting Access (Oauth2)
Does Connect come with default security roles? Yes, there are 4. They are: Administrator, Publisher, Viewer and Anonymous Authorization

R and Package management

Question Answer Reference
Does Connect support multiple versions of R? Yes, multiple versions of R can be installed in predetermined locations in the server. Connect will automatically either use the same version of R as the content, or will attempt to use a version that’s close. R Version Matching
How does Connect handle different version of R packages? During publishing, Connect identifies the relevant source code and dependencies, including the packages used in the app or document. Package Installation
Does Connect support Private Repositories? Yes, if correctly configured no adjustment to Connect is needed. Private Repositories
How does Connect handle Private Packages? We recommend creating an internal repository, and sharing the package with users and Connect through the repository. Package Management in Connect
Does Connect allow you to use a different service account from the default rstudio-connect? Yes, this is done via the Applications.RunAs property. User Account for R Processes

Content Management & Monitoring

Question Answer Reference
Can I make the URL for published apps reader-friendly? Yes, Connect has a feature called Vanity Paths. Vanity Paths
Can a Publisher give access to a document or app to groups instead of individuals? It depends on the chosen authentication method. Please see the Authentication Method Capabilities section for more information.
Does Connect store server metrics? Yes, they can be viewed in the Connect dashboard. Additional metrics can be exported to Graphite. Historical Metrics

Authentication Method Capabilities

The following is a grid that highlights the main capabilities available by authentication method.

Authentication Method Supported Content access can be granted prior to the first login Group access to content
LDAP and Active Directory – Single Bind
LDAP and Active Directory – Double Bind
SAML 2.0
Google OAuth 2.0 *
PAM
Proxied Authentication
Connect’s built-in authentication
  • Simple Bind: Uses only the user’s own LDAP account for authentication without requiring access to other accounts.
  • Double Bind: Uses an LDAP account to search for users and potentially groups along with the user’s own account for access. For more details see the BindDN and BindPassword section of the Admin Guide.
  • Connect allows users to search for collaborators against the user directory associated with your Google Apps account

Gathering the packages your Data Scientists use most

If you have an idea of what packages your Data Scientists use most this will help RStudio Connect in determining what system libraries need to be installed. Tensorflow and Python are common examples of dependencies you may need installed outside of R packages and libraries.