Custom Script code for contineous clone in vmss?

Muhammad Farrukh 116 Reputation points
2022-12-21T12:20:33.837+00:00

Hi
I have created VMSS with 1 min instance and 3 max vms in VMSS.
I need power shell code that will clone my base machine in VMSS with continuous synchronization of data with newly created vms in VMSS **
e.g i have 1 instance in **VMSS
and when it scale out and 3 more instances are created.
When i install some application let's say IIS manager on base machine it should be replicated to other created vms. Similarly if after some time i put some txt file or some code into my base machine it should also be replicated to other created vms.
I also want upon creation of new vm in vmss all data should be deployed to them as of base machine.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
0 comments No comments
{count} votes

Accepted answer
  1. JimmySalian-2011 42,486 Reputation points
    2022-12-21T12:29:24.403+00:00

    Hi,

    I think you will need some sort of automation expert to write up the runbook and scripts, as the requirement is wide not sure if someone can do this over the forum.
    However I suggest you explore the Azure Automation runbook and codes to start with, on top of that you will need PS scripts to deploy your applications, data etc. automation-tutorial-runbook-textual

    Hope this helps.
    JS

    ==
    Please Accept the answer if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.