Skip to contentSkip to navigationSkip to topbar
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:

twilio login --region au1

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

twilio config:set --edge=sydney

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

export TWILIO_REGION=au1
export TWILIO_EDGE=sydney
(information)

Info

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

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.