Skip to main content

Data Center Endpoints

The data center you use with Sauce Labs determines:

  • The location of the servers where your tests are run
  • Where related artifacts are stored
  • Your ability to run headless tests, meaning tests run on a browser that does not have a user interface

What You’ll Need#

Access to Data Centers#

Your data center is determined based on your license type and your company's needs:

  • Free-trial users and self-service users select their data center when they sign up for Sauce Labs.
  • Enterprise plan users select one or more data centers as part of their contract with Sauce Labs.

To see your data center, check the upper-right corner of the Sauce Labs user interface. Options include:

Data Center Endpoints#

URLs vary based on the services you're using, your data center, and the types of tests you need to run.

US West Data Center#

NameDetails
US West OnDemand Endpoints
Desktop Browser and Virtual Device Cloudhttps://ondemand.us-west-1.saucelabs.com/wd/hub
RDC on Saucehttps://ondemand.us-west-1.saucelabs.com/
US West REST API
Virtual Devices and Desktopshttps://api.us-west-1.saucelabs.com/v1
RDC on Saucehttps://api.us-west-1.saucelabs.com/v1/rdc
Sauce Connect ProxyVirtual and Real Devices on Sauce: https://saucelabs.com/rest/v1/
Team Managementhttps://api.us-west-1.saucelabs.com/team-management/v1/
IP Ranges162.222.72.0/21
66.85.48.0/21

EU Central Data Center#

note

Depending on the framework or driver you use, you might need to make additional changes to your tests to run them in the EU-Central data center. See Running Tests on EU Central for details.

NameDetails
EU Central OnDemand Endpoints
Desktop Browser and Virtual Device Cloudhttps://ondemand.eu-central-1.saucelabs.com/wd/hub
RDC on Saucehttps://ondemand.eu-central-1.saucelabs.com/
EU Central REST API
Virtual Devices and Desktopshttps://api.eu-central-1.saucelabs.com/v1
RDC on Saucehttps://api.eu-central-1.saucelabs.com/v1/rdc
Sauce Connect ProxyVirtual and Real Devices on Sauce: https://eu-central-1.saucelabs.com/rest/v1
Team Managementhttps://api.eu-central-1.saucelabs.com/team-management/v1/
IP Ranges185.94.24.0/22

APAC Southeast Data Center#

NameDetails
APAC Southeast OnDemand Endpoints
Desktop Browser and Virtual Device Cloudhttps://ondemand.apac-southeast-1.saucelabs.com/wd/hub
RDC on Saucehttps://ondemand.apac-southeast-1.saucelabs.com/
APAC Southeast REST API
Virtual Devices and Desktopshttps://api.apac-southeast-1.saucelabs.com/v1/
RDC on SauceN/A
Sauce Connect ProxyVirtual and Real Devices on Sauce: https://saucelabs.com/rest/v1/
Team Managementhttps://api.apac-southeast-1.saucelabs.com/team-management/v1/
IP Ranges34.87.251.80/28

Headless US-East Data Center#

For more information on Sauce Headless, including full test walkthroughs, see Sauce Headless Testing in the Cross-Browser Cloud.

NameDetails
Headless US-East OnDemand Endpoints
Desktop Browser and Virtual Device Cloudhttps://ondemand.us-east-1.saucelabs.com/wd/hub
RDC on SauceN/A
Headless US-East REST API
Virtual Devices and Desktopshttps://us-east-1.saucelabs.com/rest/v1
RDC on SauceN/A
Sauce Connect ProxyVirtual and Real Devices on Sauce: https://us-east-1.saucelabs.com/rest/v1
Team ManagementN/A
IP RangesN/A

Data Center Location - Real Device Cloud#

For real device testing, the location of your data center determines the format of some of the information you will see. Devices in US data centers default to EN-US, and will display information like date, currency, and temperature using US standard terms (i.e., MM/dd/yyyy, $, and F°), while devices in EU data centers default to EN-UK, and will display information like date, currency, and temperature using UK standard terms (i.e., dd/MM/yyyy, £, and C°).

note

This information only applies to real device testing. For all others, the default location will be EN-US, regardless of location.

Restricted Access#

If you attempt to use a data center that you don't have access to:

  • In the UI:
    • If you have a free-trial or self-service license, you can see the full list of data centers but can only select the one you have access to.
    • If you have an enterprise plan, you can select any data center but you won't have any concurrent sessions available for data centers you don't have access to.
  • When running an automated test, you'll see an error message indicating that you don't have access.

Access to Real Devices#

Real devices are kept in our data center, behind locked racks and doors. Other security measures include:

  • WiFi APIs are password protected with WPA2 security protocol, so only our devices can connect to the subnet.
  • Devices must have proper proxy information in order to have network connectivity.
  • Access management is handled by Sauce Labs, and only specific individuals are allowed access to our devices, with logs that track all access attempts.

Automated Tests and APIs#

When you run automated tests or make API calls, your data center by default is US West. If you want to use a different data center, you'll need to specify it in the test code or API call.

In addition, if you want to run automated tests on real devices, you need to specify the correct real device endpoint based on your data center. For details, see Endpoints.

See the Sauce Labs REST API documentation for information about accessing real device endpoints.

Authorization Credentials#

The URL hostname and authorization credentials for APIs are different for each data center:

Sauce Data CenterAuthorization Credentials
US West virtual devices and desktops cloudUsername and access key can be found in Sauce Labs under ACCOUNT > User settings.
EU Central virtual devices and desktops cloudUsername and access key can be found in Sauce Labs under ACCOUNT > User settings.
APAC Southeast virtual devices and desktops cloudUsername and access key can be found in Sauce Labs under ACCOUNT > User settings.
US West real devices cloudUsername and access key can be found in Sauce Labs under ACCOUNT > User settings.
EU Central real devices cloudUsername and access key can be found in Sauce Labs under ACCOUNT > User settings.
APAC Southeast real devices cloudN/A

Running Tests on EU Central#

If you use any of the following and your data center is EU Central, you need to make changes to your tests and/or framework to run those tests in the EU data center.

FrameworkChange
Java with JUnit or TestNGSet SAUCE_REST_ENDPOINT=https://eu-central-1.saucelabs.com/ as a system/environment variable, otherwise test status will not be set.
ProtractorUpdate to version 5.4.2 or later of Protractor and set sauceRegion: 'eu' in your config file.
WebDriverIOUpdate to version 4.14.1 or later, or 5.0.0 or later, of WebDriverIO and set region: 'eu' in your wdio.conf file.

Single Sign-On (SSO) Configuration#

If you're using SSO with Sauce Labs, your data center determines the appropriate URLs for:

  • Signing/Encryption Certificate - This URL shows the certificate metadata you need to provide to your service provider to authenticate with Sauce Labs.
  • Entity AssertionConsumeURL - This URL is the endpoint where your service provider gets SAML assertions from Sauce Labs.

For details about setting up SSO for Sauce Labs, see Setting Up Single Sign-On.

Data CenterSigning/Encryption Certificate/Entity IDEntity AssertionConsumeURL
US Westhttps://saucelabs.com/sso/metadatahttps://saucelabs.com/sso/acs
EU Centralhttps://eu-central-1.saucelabs.com/sso/metadatahttps://eu-central-1.saucelabs.com/sso/acs
Headless US-Easthttps://us-east-1.saucelabs.com/sso/metadatahttps://us-east-1.saucelabs.com/sso/acs

Changing Your Data Center#

If you have access to more than one data center, you can switch data centers by clicking the data center name in the upper-right corner. This drops down a list of options available to you.

Changing your data center changes what you can see and do in the Sauce Labs UI:

  • Live tests you run in the UI.
  • Results for live tests and automated tests you run on the data center.
  • Organization-wide concurrency settings specific to the data center.
  • Teams associated with the data center.
  • Sauce Connect Proxy tunnels connected to the data center.

Data Center Status#

To check on the status of your data center, see the Sauce Labs Systems Status page.

Maintenance Windows#

To view planned maintenance windows for your data center, see Maintenance Windows.