Regions
Lizard runs services, addons and Sandboxes in regions such as US East (us-east-1) and EU West (eu-west-lim-a). You pick the region when you create a resource; without --region, lizard add creates it in us-east-1. Put a service and its databases in the same region to keep latency low. lizard regions lists the regions open to your account.
List regions
lizard regions
lizard regions --jsonChoose a region
Pass --region <code> when creating a service or addon:
lizard add -r your-org/your-app --region <code>
lizard add postgres --region <code>
lizard up --region <code> # new services onlyProjects have no default region. Without --region, lizard add creates resources in us-east-1, and lizard up creates a new service in the region of the API server that handles the request. Pass --region to choose.
Co-locate stateful resources. Put a service and the addons it talks to (Managed Postgres, Managed Redis, Managed Object Storage) in the same region to keep latency low and avoid cross-region data charges. Private networking also works only inside one region.
Generated domains
Each service gets a generated domain with automatic TLS: <name>-<suffix>.onlizard.com for new services, while older services keep <words>.<region>.onlizard.com. Managed Object Storage uses a gateway host per region: s3-us-east-1.onlizard.com for us-east-1 and s3-eu-west-1.onlizard.com for eu-west-lim-a. To attach your own hostname, see Networking.
Updated