bastion service

Anil Kumar Saripadi 60 Reputation points
2025-05-22T19:42:12.4233333+00:00

Hello, We have a bastion resource in my environment but it is using anywhere. I want to make sure it is not using to confirm to management and delete it without any impact

Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
0 comments No comments
{count} votes

Accepted answer
  1. Praveen Bandaru 6,850 Reputation points Microsoft External Staff Moderator
    2025-05-22T20:02:17.5033333+00:00

    Hello Anil Kumar Saripadi

    It looks like you're concerned about your Azure Bastion resource being set to "anywhere" and want to ensure that you're not using it before confirming with management and deleting it.

    Azure Bastion allows for secure RDP and SSH connectivity to your virtual machines without exposing them to public IP addresses, so it’s generally used to enhance security for accessing resources.

    To ensure it's not in use, you might consider checking the following:

    1. Look for any recent connection attempts. If no connections have been made recently, it may not be in active use.
    2. Assess Dependency: Review any services or VMs that might depend on Bastion for connectivity.
    3. Check NSGs to see if Bastion is explicitly allowed access to any VMs; this can indicate it's being used.
    4. Check if there are any dependencies in the bastion. If there are no dependencies, you can delete it.

    Before deleting, it may be wise to confirm with your team if anyone is planning to use that Bastion service in the near future.

    Reference document: https://learn.microsoft.com/en-us/cli/azure/network/bastion?view=azure-cli-latest#az_network_bastion_delete

    Check the reference thread: https://learn.microsoft.com/en-us/answers/questions/256174/how-to-completly-disable-azure-bastion-and-stop-ge


    Hope the above answer helps! Please let us know do you have any further queries. Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.   

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.