I wanted to disable the Instance Metadata Service on the VM's. Even though, we run the URL within the VM itself, http://169.254.169.254/metadata/instance?api-version=2021-02-01, I don't want my machine share it's details at any cost.
Is there a way, I can disable this service in Azure, other cloud providers had provided the option to disable the Metadata Service for their VM's
There is no option of disabling the Metadata Service in the Azure Portal and went through the KB article: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/instance-metadata-service?tabs=linux no mention of disabling the Metadata Service.


