diagrid region create
Create a region
Description
Create a new region
diagrid region create <region-id> [flags]
Examples
# Create region
diagrid region create my-region --ingress *.my-region.company.com
# Create region with managed domain
diagrid region create my-region --enable-managed-domain --ingress my-lb.example.com
# Create region with public management API
diagrid region create my-region --enable-public-management-api --enable-managed-domain --ingress *.my-region.company.com
# Create region with managed domain and public management API (no --ingress needed)
diagrid region create my-region --enable-managed-domain --enable-public-management-api
# Create region served on one hostname, with no wildcard DNS record or certificate
diagrid region create my-region --shared-project-endpoint --ingress https://catalyst-api.company.com
Options
--host string A unique host identifier. Only used in multi-host regions for scaling out across Kubernetes clusters.
--location string An informative string describing the region's physical location (e.g. "us-west").
--ingress string The URL the region's gateway is reached at: a wildcard domain (example: https://*.mydomain.com:443), or, with --shared-project-endpoint, one full hostname with no "*." (example: https://catalyst-api.mydomain.com). The port is optional. http:// is accepted but not advised for production. Required unless --enable-managed-domain is set.
--enable-public-management-api Enable an authenticated public endpoint for accessing the region's management API. You can use this if you do not have direct network access to your region from your local machine.
--enable-managed-domain Enable automatic DNS and TLS management for the region. If enabled, your ingress only needs to locally resolve to the region's gateway IP address and Diagrid will provide a public DNS name and certificate.
--shared-project-endpoint Serve the whole region on one hostname, given as --ingress (for example https://catalyst-api.mycompany.com), instead of a wildcard domain. Every project's HTTP and gRPC API, region management, OIDC discovery, the trust bundle and app tunnels are served on it, and the App ID's API token selects the project. Only for self-hosted regions without a managed domain: the region needs one DNS record and one TLS certificate for that hostname, and no wildcard.
--support-plan string Support plan purchased with the region (select or premium; standard is available only on Diagrid-managed dedicated regions). The region's price is set by its size and support plan together, so this is part of what you pay for the region, not a separate add-on. Defaults to select for regions running on your own infrastructure.
-o, --output string Output format, supported [table, yaml, json] (default "table")
-h, --help help for create
Options inherited from parent commands
--api-key string Diagrid Cloud API key
SEE ALSO
- diagrid region - Manage regions