region.md 2.0 KB


title: mz region description: The mz region command manages regions in your organization. menu: main:

parent: cli-reference
weight: 1

The mz region command manages regions in your organization.

enable

Enable a region.

mz region enable [options...]

{{< warning >}} You cannot disable a region with mz. To disable a region, contact support. {{< /warning >}}

Arguments

Argument Environment variables Description
--region=<REGION> MZ_REGION Use the specified region.
--profile=<PROFILE> MZ_PROFILE Use the specified authentication profile.

Examples

Enable the aws/us-east-1 region:

$ mz region enable --region=aws/us-east-1
Region enabled.

list, ls

List all regions.

mz region {list,ls}

Arguments

Argument Environment variables Description
--profile=<PROFILE> MZ_PROFILE Use the specified authentication profile.

Examples

$ mz region list
Region                  | Status
------------------------|---------
aws/us-east-1           | enabled
aws/eu-west-1           | enabled

show

Show detailed status for a region.

mz region show [options...]

Arguments

Argument Environment variables Description
--region=<REGION> MZ_REGION Use the specified region.
--profile=<PROFILE> MZ_PROFILE Use the specified authentication profile.

Examples

Show the status of the aws/us-east-1 region:

$ mz region show --region=aws/us-east-1
Healthy:      yes
SQL address:  2358g2t42.us-east-1.aws.materialize.cloud:6875
HTTP URL:     https://2358g2t42.us-east-1.aws.materialize.cloud

Global flags

{{% cli-global-args %}}