Forum Discussion
Infra as Code vs VMSS
- Aug 12, 2024
Hi experi18,
absolutely correct, your VMs within the scale set are built automatically etc.
Nevertheless, in my view it is always sensible to create the infrastructure (resource group, VNet, subnet etc.) including the scale set via IaC.
The advantages are also for small environments: Sustainability, reproducibility, scalability and standardisation.
Please also remember that you need a data centre licence for Windows machines 😉
Regards, Matthias
Hi experi18,
For me, these are different points: The basic VMs and the Scale Set should be provided via infrastructure as code in order to offer a standardised solution.
Terraform documentation on Azure VM Scale Sets:
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/windows_virtual_machine_scale_set.html
Best regards,
Matthias
- experi18Aug 09, 2024Brass ContributorYeah but, If I create a VMSS it would automatically be created standardised, no?
Why do create even the VMSS via IAC?- Matthias-BraunAug 12, 2024Brass Contributor
Hi experi18,
absolutely correct, your VMs within the scale set are built automatically etc.
Nevertheless, in my view it is always sensible to create the infrastructure (resource group, VNet, subnet etc.) including the scale set via IaC.
The advantages are also for small environments: Sustainability, reproducibility, scalability and standardisation.
Please also remember that you need a data centre licence for Windows machines 😉
Regards, Matthias
- experi18Aug 12, 2024Brass Contributor
Matthias-Braun thanks a lot for the support on this!
- experi18Aug 09, 2024Brass ContributorBut think with me: If I do create a VMSS, the machines already will be created standardised?
And easily to increase / delete?