Forum Discussion
Infra as Code vs VMSS
Guys, I always wondered... what is the difference between VMSS and create VMs via IAC?
Which one is better?
Does any of one have more advantages than the other?
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
- Matthias-BraunBrass Contributor
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:
Best regards,
Matthias
- experi18Brass ContributorYeah but, If I create a VMSS it would automatically be created standardised, no?
Why do create even the VMSS via IAC?- Matthias-BraunBrass 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
- experi18Brass ContributorBut think with me: If I do create a VMSS, the machines already will be created standardised?
And easily to increase / delete?
It base on your direction and Cloud strategy say multi-Cloud enablement?
Take a look on below link for guidance and idea:
- experi18Brass ContributorThanks Kidd, I'll take a look!