Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Regional


Twilio's Global Infrastructure enables you to ensure that your application's Twilio data remains within the corresponding territory at all times, and that your commands execute with the shortest possible round trips to Twilio's servers. Twilio Regions are supported by the CLI as well, so you can continue to use the CLI without worrying about data residency.

In addition to Regions, you can control which geographic location your network request enters and exits Twilio's platform by defining an Edge Location. The Edge Location used by the CLI can be controlled either by setting it as a configuration, or with an environment variable.


Profile settings

profile-settings page anchor

You can specify the target Region for a profile using the --region flag:


_10
twilio login --region au1


The Edge Location used by the CLI can be controlled by setting it as a configuration:


_10
twilio config:set --edge=sydney


You can also specify the target Region, Edge, or both by using environment variables:


_10
export TWILIO_REGION=au1


_10
export TWILIO_EDGE=sydney

(information)

Info

Values set by environment variables take precedence over any settings defined by the active profile and/or configuration.


Rate this page: