# How to Use an Existing Public IP and Subnet for Ray Cluster on Azure

**URL:** <https://discuss.ray.io/t/how-to-use-an-existing-public-ip-and-subnet-for-ray-cluster-on-azure/21952>\
**Category:** Ray Clusters\
**Created:** [March 4, 2025, 12:29pm UTC](https://discuss.ray.io/t/how-to-use-an-existing-public-ip-and-subnet-for-ray-cluster-on-azure/21952 "2025-03-04T12:29:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![gramhagen](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/gramhagen/32/1172_2.png) [@gramhagen](https://discuss.ray.io/u/gramhagen)\
**Post date:** [March 12, 2025, 3:50pm UTC](https://discuss.ray.io/t/how-to-use-an-existing-public-ip-and-subnet-for-ray-cluster-on-azure/21952/3 "2025-03-12T15:50:52Z")

</div>

Suggestion here is as close to this as I know of:

> [@How to Use an Existing Public IP and Subnet for Ray Cluster on Azure?](https://discuss.ray.io/t/how-to-use-an-existing-public-ip-and-subnet-for-ray-cluster-on-azure/21951):
>
> Hi everyone, I’m setting up a Ray cluster on Azure, and I want to use an existing subnet, virtual network, and public IP instead of letting Ray create new ones. Here’s what I’ve done so far in my YAML configuration: yaml provider: type: azure location: Central India resource\_group: BCS\_Dev\_RG subscription\_id: \<MY\_SUBSCRIPTION\_ID\> available\_node\_types: ray.head.default: node\_config: azure\_arm\_parameters: vmName: ray-head-node …

---

_[View the full topic](https://discuss.ray.io/t/how-to-use-an-existing-public-ip-and-subnet-for-ray-cluster-on-azure/21952)._
