SOLVED

Automation for Installation of Software's Post VM Deployment

Copper Contributor

Hi All,

 

We are doing assessment for migration of on-premise Infra and its services to Azure cloud. We have on-premise self service portal powered by VMware vRealize Automation/Orchestrator to install software's selected by users while requesting VMs. These software's are installed automatically post deployment. 

I am looking for similar solution to automatically install software's post deployment of vms in Azure.

Is there any native solution/service from Azure or other third party application that can be used in Azure.

Any suggestions would be really appreciated.

 

3 Replies

There are several ways to do it, first two are native Azure solutions

 

1.  Azure Custom Script Extension

 

2.  Azure DSC

 

3. A thirdparty tool like Ansible, chef or puppet

Hi,

Thanks for the suggestion. Can these be used with terraform ?

best response confirmed by sc2317 (Copper Contributor)
Solution

Yes the first 2 can be

1. https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_machine_exte...

and you can use below publisher and type for custom script : 

   publisher = "Microsoft.Compute"
   type = "CustomScriptExtension"


2. https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/automation_dsc_confi...

3. You can also use Ansible with Terraform but that is something I don't have experience on .

1 best response

Accepted Solutions
best response confirmed by sc2317 (Copper Contributor)
Solution

Yes the first 2 can be

1. https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_machine_exte...

and you can use below publisher and type for custom script : 

   publisher = "Microsoft.Compute"
   type = "CustomScriptExtension"


2. https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/automation_dsc_confi...

3. You can also use Ansible with Terraform but that is something I don't have experience on .

View solution in original post