Regions & endpoints
Lightning Cloud is deployed per region. Each region has its own API endpoint, and tokens are region-specific: a token issued for sea1 is rejected by iad1.
| Region | API endpoint | CLI login flag |
|---|---|---|
sea1 |
https://api.sea1.voltagepark.com |
--region sea1 (default) |
iad1 |
https://api.iad1.voltagepark.com |
--region iad1 |
dfw2 |
https://api.dfw2.voltagepark.com |
Not supported by the CLI yet. Contact support to get a token for this region. |
ord1 |
https://api.ord1.voltagepark.com |
--region ord1 |
Use the endpoint for the region where your fleet is deployed. If you're unsure, the fleet's region is shown in the console.
Working with multiple regions
The Lightning Cloud CLI caches one token per region, so you can be logged into several regions at once:
harbor auth login --region sea1
harbor auth login --region iad1
# Call iad1
export API_URL=https://api.iad1.voltagepark.com
export TOKEN=$(harbor auth token --region iad1)
curl "$API_URL/v1/fleets" -H "Authorization: Bearer $TOKEN"Console
The console at cloud.voltagepark.com is global. Sign in once and switch between regions in the console.
Was this page helpful?
Thanks for the feedback.