Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding public IP for existing virtual machine scale set

I have an existing virtual machine scale set. Currently I have one virtual machine there. I would like to update the scale set and add a public IP to the virtual machine or somehow create a load balancer that will allow me to "access" the virtual machine from the outside. I am new to azure so I have no idea how it all works.

Any ideas/help will be appreciated, Thanks!

like image 839
Lordi Avatar asked Dec 21 '25 21:12

Lordi


1 Answers

You can create a load balancer with the public IP, then add the virtual machine scale set into the backend pool of the load balancer. Finally, create the NAT rules for each instance. Create the load balancer following the steps in Create a Basic Load Balancer by using the Azure portal.

like image 74
Charles Xu Avatar answered Dec 23 '25 13:12

Charles Xu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!