Skip to main content

System and Network Requirements

Sauce Connect Proxy system requirements vary, depending on the number of parallel tests you plan to run.

Keep in mind that these are guidelines. Most environments have their own workload requirements for optimal performance. Test and profile your own environment using these recommendations as a baseline.

What You'll Need#

  • Minimum 2 core x 8 GB Machine
  • We strongly recommend using the cURL command line or an equivalent tool to ensure that any error messages you receive are precise and actionable. If you're not familiar with the tool, review their docs here and then install cURL on your local machine.
  • For Unix-based systems, you may need to increase your open file limit if you plan to run a high number of parallel tests (i.e., ulimit -n 8192).

Verifying Sauce Connect Network Routes on Your Host Machine#

As an important step prior to downloading Sauce Connect Proxy, you or your systems administrator will need to verify that Sauce Connect Proxy can make the required network requests.

  1. Log into the machine that will be hosting your Sauce Connect Proxy tunnels. This is the machine where you'll eventually be placing and running the downloaded Sauce Connect Binary.

  2. Use cURL (or equivalent tool) to reach your Site Under Test. If you are relying on API to support a website or mobile app, you can cURL that as well. You should get a 200 OK HTTP response. If you do NOT see a 200 OK HTTP response, then Sauce Connect Proxy will not be able to reach it either.

  3. Use cURL (or equivalent tool) to reach the below URLs, as needed:

    If you can get a 200 OK response from all URLs above, you are ready to start Sauce Connect! As an alternative, you can use Nethelp to quickly connect to multiple resources and save the output.

Configuring Your System to Use Sauce Connect#

Select a cloud provider from the tables below to view the recommended system requirements:

Amazon Web Services (AWS)#

Parallel TestsMachine TypeMemoryProcessorBandwidthRecommended SC Tunnels
0-99EC2 m4.large8 GB2450 Mbps1
100-199EC2 m4.xlarge16 GB4750 Mbps1
200-399EC2 m4.xlarge16 GB4750 Mbps2
400-599EC2 m4.xlarge16 GB4750 Mbps3
600-799EC2 m4.xlarge16 GB4750 Mbps4
800+EC2 m4.xlarge16 GB4750 Mbps6

Google Compute Engine (GCE)#

Parallel TestsMachine TypeMemoryProcessorBandwidthRecommended SC Tunnels
0-99GCE n1-standard-27.5 GB2450 Mbps1
100-199GCE n1-standard-415 GB4750 Mbps1
200-399GCE n1-standard-415 GB4750 Mbps2
400-599GCE n1-standard-415 GB4750 Mbps3
600-799GCE n1-standard-415 GB4750 Mbps4
800+GCE n1-standard-415 GB4750 Mbps6

Tips for optimizing your tests running through Sauce Connect tunnels:

  • If you're running 100 or more parallel tests, we recommend a minimum network bandwidth of 750 Mbps to support the high volume of network traffic.
  • If you're running 200 or more parallel tests, we recommend launching more than one tunnel and using the High Availability Sauce Connect Proxy Setup.
  • When running a high volume of parallel tests on Unix-based operating systems, you may need to increase your open file limit (for example, ulimit -n 8192).
  • For best performance, stability, and security, we recommend using a dedicated server (see Sauce Connect Proxy Network Security).

Setting Up Sauce Connect on Your Test Device Network#

Sauce Connect Proxy must be set up on the same network as your test devices. It does not, however, need to be set up on the same machine as the website or app you're testing.

What Not to Do: Common Mistakes in Sauce Connect Proxy Network Configurations illustrates some examples of network architectures in which Sauce Connect will not be able to create a tunnel or will be too slow to carry out effective testing.

Configuring Your Network to Use Sauce Connect#

Firewall Restrictions#

Before getting started with Sauce Connect, we recommend checking with your network administrator about updating firewall or proxy settings on your organization's network. Firewall restrictions may interfere with testing.

During Sauce Connect Proxy tunnel startup, the Sauce Connect client that runs on your network needs to make three types of outbound connections:

  1. To request a new Sauce Connect tunnel: Communication to the Sauce Labs REST API tunnels endpoint.
  2. To validate the REST API certificate: Communication to third-party web sites of Certificate Authorities.
  3. To establish the tunnel: Communication to Sauce Connect Tunnel VMs in the Sauce Labs cloud.

When your tests are running through a Sauce Connect tunnel, the client on your network needs to make two types of outbound connections:

  1. To pass status information: Communication to the Sauce Labs REST API tunnels endpoint.
  2. To connect with the site or app under test: Communication to the sites or apps you specify in your tests.

Allowlisting for Restricted Networks#

If you're testing in a restricted network setting, you may need to allowlist the Sauce Labs domains below to allow outbound communication to Sauce Labs Selenium and Appium endpoints. Allowlisting for inbound traffic coming into your network is not necessary. To check if your setup is successful, see Validating Your Basic Sauce Connect Proxy Setup.

You'll need to use the set of domains for your corresponding Sauce Labs Data Center: US Data Center (US-West-1**), Headless Data Center (US-East-1), or European Data Center (EU-Central-1). The Data Center you're connected to is indicated in your navigation menu.

Sauce Connect download file contents

For more information on our Data Centers and how to choose the right one for you, see Data Center Endpoints.

REST API Endpoints#

The Sauce Labs REST API is a requirement for using Sauce Connect Proxy. Select your relevant Data Center:

Virtual Device Cloud/Real Device Cloud + Sauce Connect
https://saucelabs.com/rest/v1

Sauce Connect Tunnel Service Domains#

The following domains must be allowlisted for outbound communication from you network in order to make connections to Sauce Connect tunnels. Select your relevant Data Center:

Virtual Device Cloud/Real Device Cloud + Sauce Connect
*.miso.saucelabs.com
Recommended Wildcard Allowlisting

*.miso.saucelabs.com will cover all virtual and real device cloud data centers except for Headless.

  • For US-West-1 (Virtual Device Cloud/Real Device Cloud + Sauce Connect): *.miso.saucelabs.com

Transport Layer Security (TLS) Requirements#

Here are the Sauce Connect Proxy network requirements for TLS and SSL traffic:

  • TLS version 1.2 or higher
  • TLS/SSL library (e.g., OpenSSL)
  • Network port 443, through which all traffic between your site and a Sauce Labs tunnel endpoint must pass

Certificate Management#

Public key certificates are used to manage the security of Sauce Connect Proxy communication to both the Sauce Labs API and to the Virtual Machine hosting your tests in the Sauce Labs cloud. For information on saucelabs.com certificate authentication, see Sauce Connect Proxy Certificate Handling.