Move Distributed On-Premises App to Azure: Ensuring High Availability during Maintenance

Ensure High Availability of App1 during Azure Maintenance

Question

You plan to move a distributed on-premises app named App1 to an Azure subscription.

After the planned move, App1 will be hosted on several Azure virtual machines.

You need to ensure that App1 always runs on at least eight virtual machines during planned Azure maintenance.

What should you create?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C

An update domain is a logical group of underlying hardware that can undergo maintenance or be rebooted at the same time. As you create VMs within an availability set, the Azure platform automatically distributes your VMs across these update domains. This approach ensures that at least one instance of your application always remains running as the Azure platform undergoes periodic maintenance.

http://www.thatlazyadmin.com/azure-fault-update-domains/

To ensure that App1 always runs on at least eight virtual machines during planned Azure maintenance, the best option is to use an Azure Virtual Machine Scale Set (VMSS).

A Virtual Machine Scale Set is an Azure compute resource that allows you to deploy and manage a set of identical VMs. VMSS scales automatically based on demand or a schedule, and it can provide high availability and resiliency during planned or unplanned maintenance events.

Option A is the correct answer as it creates a single VMSS with 10 virtual machine instances. This option provides redundancy to ensure that App1 is always running on at least eight virtual machines during planned Azure maintenance.

Option B creates an Availability Set with three fault domains and one update domain. While this option provides high availability by distributing VMs across different physical hardware, it does not guarantee that App1 will always run on at least eight virtual machines during planned Azure maintenance.

Option C creates an Availability Set with ten update domains and one fault domain. This option also provides high availability, but it does not guarantee that App1 will always run on at least eight virtual machines during planned Azure maintenance.

Option D creates a VMSS with 12 virtual machine instances. While this option provides redundancy, it exceeds the requirement of running App1 on at least eight virtual machines during planned Azure maintenance and may result in unnecessary costs.

Therefore, option A is the best choice for ensuring that App1 always runs on at least eight virtual machines during planned Azure maintenance.