# Upscaling Elastic Cloud Instance using Azure CLI

**URL:** <https://discuss.elastic.co/t/upscaling-elastic-cloud-instance-using-azure-cli/330947>\
**Category:** Elasticsearch\
**Created:** [April 27, 2023, 11:35am UTC](https://discuss.elastic.co/t/upscaling-elastic-cloud-instance-using-azure-cli/330947 "2023-04-27T11:35:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacob\_Concrete](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jacob_concrete/32/118075_2.png) [@Jacob\_Concrete](https://discuss.elastic.co/u/Jacob_Concrete)\
**Post date:** [April 27, 2023, 11:35am UTC](https://discuss.elastic.co/t/upscaling-elastic-cloud-instance-using-azure-cli/330947/1 "2023-04-27T11:35:27Z")

</div>

Hello,

I am trying to automate a process of Elastic installation on Azure. One of the steps is to upscale Elasticsearch from 2 zone 240GB storage 8GB RAM to 3 zone 870 GB Storage 29GB RAM after the deployment is created with Azure CLI.

The question is, can it be done with Azure CLI? I know there is this command:

```auto
az elastic monitor update

```

But I am not sure what tags I should use with that command to upscale the environment.

I was also thinking of sending an API request, but I am not sure how the JSON should be structured.

Any help appreciated.

---

<div class="post-metadata">

**Author:** ![hemantmalik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hemantmalik/32/110320_2.png) [@hemantmalik](https://discuss.elastic.co/u/hemantmalik)\
**Post date:** [April 27, 2023, 6:40pm UTC](https://discuss.elastic.co/t/upscaling-elastic-cloud-instance-using-azure-cli/330947/2 "2023-04-27T18:40:38Z")

</div>

Hi @Jacob_Concrete, Azure CLI doesn't support the scaling up of Elastic deployments. I can see why the **update** is confusing.

For what you are looking to accomplish, for automating scaling (updates to your deployment created through Azure) you will need to interact [RESTful API](https://www.elastic.co/guide/en/cloud/current/ec-restful-api.html) or use [Elastic Cloud Terraform Provider](https://registry.terraform.io/providers/elastic/ec/latest/docs)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 25, 2023, 6:41pm UTC](https://discuss.elastic.co/t/upscaling-elastic-cloud-instance-using-azure-cli/330947/3 "2023-05-25T18:41:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
