Skip to main content

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

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 (Required) A fully qualified wildcard domain that will resolve to the region's gateway (example: https://*.mydomain.com:443).
--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.
-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