Purpose of protection policy in scale set and its usage during troubleshooting

Varma 1,190 Reputation points
2024-05-09T17:15:51.8+00:00

I navigated instances of scaleset--> there if we select instance, there is option "Protection policy"

User's image

1.

what is the exact purpose of "protection policy" ?

2.

how we can use this "protection policy" in troubleshooting scaleset instances

because we received information from security team mentioning seeing alerts with respect to these instances mentioning rapid7 software is there even though it is not there in the instances.

  1. how it can be useful to debug the issue?

Please suggest.

Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
353 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 23,811 Reputation points Microsoft Employee
    2024-05-09T17:45:27.18+00:00

    Hello, @Varma !

    What is the purpose of "Protection Policy" for Azure Virtual Machine Scale Sets?

    "Protection Policy" applies instance protection for Azure Virtual Machine Scale Set instances. This allows instances to be treated differently than the rest of the scale set instance. You can protect from scale-in and from scale set actions.

    1. What is the purpose of "Protection Policy"?

    As your application processes traffic, there can be situations where you want specific instances to be treated differently from the rest of the scale set instance. For example, certain instances in the scale set could be performing long-running operations, and you don't want these instances to be scaled-in until the operations complete. You might also have specialized a few instances in the scale set to perform additional or different tasks than the other members of the scale set. You require these 'special' VMs not to be modified with the other instances in the scale set. Instance protection provides the additional controls to enable these and other scenarios for your application.

    2. How can we use this for troubleshooting?

    Instance protection provides extra controls that would allow you to have specialized VMs in the scale set that perform different tasks than the other members of the scale set. Using this, you can create special scenarios to troubleshoot issues with the specialized VMs.

    3. How can it be useful to debug the issue?

    You can use protection policy to isolate the specific instances that appear to be affected by this issue for further investigation. You can closely monitor these instances to identify if there is any unexpected behavior or security issues.

    Additional reading:


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image