

 Amazon Redshift will no longer support the use of Python UDFs after June 30, 2026. We will start enforcing it in phases. For more information on the details of Python end of life and migration options, see the [ blog post ](https://amazonaws-china.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/) that was published on June 30, 2025. 

# Resizing a Multi-AZ data warehouse
<a name="resize-maz"></a>

You can resize a Multi-AZ data warehouse and specify a number of nodes or node type that is different from the current configuration of the data warehouse. 

## Using the console
<a name="maz-resize-console"></a>

1. Sign in to the Amazon Web Services Management Console and open the Amazon Redshift console at [https://console.amazonaws.cn/redshiftv2/](https://console.amazonaws.cn/redshiftv2/).

1. On the navigation menu, choose **Provisioned clusters dashboard**, and choose **Clusters**. The clusters for your account in the current Amazon Web Services Region are listed. A subset of properties of each cluster is displayed in columns in the list.

1. Choose the cluster you want to resize the Multi-AZ data warehouse. The cluster details page appears.

1. For **Actions**, choose **Resize**. The Resize cluster page appears.

1. Follow the instructions on the page. You can resize the cluster now, once at a specific time, or increase and decrease the size of your cluster on a schedule.

1. Under **New configurations**, choose one of the RG or RA3 node types from the Node type drop-down list.

1. Click **Resize cluster**. 

## Using the Amazon Command Line Interface
<a name="maz-resize-cli"></a>

**To resize a Multi-AZ data warehouse using the Amazon Command Line Interface**
+ From the Amazon CLI, use the `resize-cluster` command to change the number of nodes for a single Availability Zone as follows.

  ```
  aws redshift resize-cluster \
      --cluster-identifier test-maz-11
      --cluster-type multi-node 
      --node-type rg.4xlarge
      --number-of-nodes 6
  ```