Regions and clusters

The DeepAffex Cloud API is internationally accessible, as a network connected mesh of distributed AWS clusters, each of which is hosted within a specific geographic region of the globe.

Within mainland China, the DeepAffex Cloud API operates as a standalone network service, that is excluded from the international network. It is a separate deployment on AWS China that operates entirely within China to service the China market exclusively. This deployment is completely isolated from the global DeepAffex Cloud network — there is no mesh connectivity, no cross-routing, and no data exchange between the China deployment and any other global cluster.

All data processing and (optional) storage for the China cluster remain within mainland China. Both the routing of customer traffic and the processing/storage of measurement results for the China deployment occur on the cn-north cluster hosted entirely within mainland China.

Clusters

Each distinct DeepAffex cluster provides coverage across a designated region. This regional partitioning of service operates according to defined continent-based geolocation rules that use AWS's DNS Traffic Policy Lookup to manage all IP routing of the originating connection to the destination DeepAffex endpoint. The table below summarizes the rules.

Geographic location and associated routing rules

Rule nameCluster nameCluster locationUsed by regionComment
Defaultna-eastNorth America (Northern Virginia, USA)North America, Africa, Australia, AntarcticaThe default rule applied when none of the others apply
Europeeu-centralEurope (Frankfurt, Germany)Europe, Saudi ArabiaFor Saudi Arabia, overrides Asia rule
South Americasa-eastSouth America (Sao Paulo, Brazil)South America
Asiaas-eastAsia (Tokyo, Japan)AsiaExcept Saudi Arabia

Geographic location and associated routing rules (China)

Rule nameCluster nameCluster locationUsed by regionComment
Chinacn-northMainland China (Beijing, China)Mainland ChinaOnly used by Mainland China

Routing Options

Two routing options are available to NuraLogix integration partners who have licensed access to the DeepAffex API.

The details of both these options follow.

China

The mainland China deployment is a standalone environment, completely separate from the global DeepAffex Cloud and excluded from the connected mesh. The routing rules described below do not apply to it.

If you intend to use the DeepAffex Cloud API in mainland China, you should use the China cluster by replacing deepaffex.ai with deepaffex.cn in the URLs mentioned on this page. e.g. https://api.deepaffex.cn, https://dashboard.deepaffex.cn/ etc.

You will need to obtain separate licenses for DeepAffex Cloud API in China. All data processing and results storage for China happens exclusively within China on the cn-north cluster, and that data never leaves China.

Option #1: Default Routing (no region locking)

With this option, you would use the global URL: https://api.deepaffex.ai for all network calls to the DeepAffex Cloud API. Network traffic from each edge device will be routed to the cluster determined using the routing rules described in the table above.

  • Data processing: Data will be processed by the cluster determined by the routing rules.

  • Results storage: If your DeepAffex ORG is configured to store results, they will be stored in the cluster-name encoded in the active Device Token. This is the cluster that was used to obtain the token by registering a license.

Processing and storage clusters can differ

Under default routing, the cluster that processes a measurement (chosen by the geolocation routing rules, based on where the device connects from) is not necessarily the cluster that stores the results (fixed by the cluster encoded in your Device Token at license registration). For example, a device that registered its license against na-east but operates in Europe will be processed by eu-central while its results are stored in na-east. If you need processing and storage to occur in the same region, use Region Locking.

Note: The purpose of the default routing rules is to manage regional requirements for data localization and processing of customer traffic with the DeepAffex Cloud. It's important to recognize that these requirements are often contradictory, imprecise and lack consistency between customers so these routing rules may not satisfy all use-cases. If this default behaviour isn't desirable, please see the Region Locking alternative below.

URLs Where Routing Rules Are Applied

ServiceRouting URL
DeepAffex APIhttps://api.deepaffex.ai
DeepAffex Dashboardhttps://dashboard.deepaffex.ai
Anura Web Enterprise / Web Measurement Servicehttps://awe.nuralogix.ai

Checking Which Rules Apply To You

It's possible to check in advance which region your device will be routed to by calling the following endpoint:

curl https://api.deepaffex.ai/status

You may also visit https://api.deepaffex.ai/status in a browser from the region you want to check.

The response, will contain the "Region" field:

{ ..., "Region":"na-east" }

If you want to check a different location, you may need to use a VPN.

Examples

Some examples of territories and the clusters they resolve to:

OriginRule appliedResolves to cluster
AustraliaDefaultna-east (Virginia, USA)
CanadaDefaultna-east (Virginia, USA)
ColombiaSouth Americasa-east (Sao Paulo, Brazil)
IndiaAsiaas-east (Tokyo, Asia)
JapanAsiaas-east (Tokyo, Asia)
New ZealandDefaultna-east (Virginia, USA)
Saudi ArabiaEuropeeu-central (Frankfurt, Germany)
South AfricaDefaultna-east (Virginia, USA)
SpainEuropeeu-central (Frankfurt, Germany)
UAEAsiaas-east (Tokyo, Asia)

Option #2: Region Locking

With this option, you use a specific DeepAffex cluster URL for all network calls to the DeepAffex Cloud. In this scenario, the integrator can entirely bypass our routing rules and instead lock access to a specific DeepAffex cluster.

  • Data processing: Data will be processed by the specific DeepAffex cluster used.

  • Results storage: If your DeepAffex ORG is configured to store measurement results, then results will be stored by the specific DeepAffex cluster used.

If region locking is a requirement for you, then please use the direct regional URLs shown below. For these URLs, data is processed (and results stored if configured) on the DeepAffex cluster corresponding to the specified URL.

Hong Kong is region-locking only

The as-hk (Hong Kong) cluster is available only through region locking. No default-routing rule resolves to it, so it does not appear in the routing rules or examples above — it can be reached exclusively via its direct regional URL below.

Direct regional URLs

Direct regional URLs (China)