question

Azurebegginer avatar image
0 Votes"
Azurebegginer asked ·

Azure Vm scale set - code deployment

Hello,

How do I update the web code for the VMs in a scale set. Do I connect to individual VMs??

Do I update it from visual studio? How do I do at the same time on 10 VMs.

Please advice.

azure-virtual-machines-scale-set
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

vipullag-MSFT avatar image
0 Votes"
vipullag-MSFT answered ·

@NeerajV-6011
You do not need to connect to individual VM's for code deploy in VMSS.

Please check this document for ways to deploy application to VMSS.

You can use, custom images.
Use Custom Script Extension for deploying application.

Check this tutorial on deploying apps to VMSS using Ansible.
Check this blog post which has details on deploying application on VMSS from Visual Studio.




Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.