Public IP address in Azure, does it cost more to use it ?

EnterpriseArchitect 5,116 Reputation points

Does assigning static Public IP address for VM, Webserver or any other service in Azure mean I must pay higher cost other than the resource consumption?
if yes, how can I get this pricing and details?

I need to know which Public IP address is assigned to my Azure tenancy in all of my subscriptions.
if it is can be exported to CSV files that'd be greatly appreciated.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,608 questions
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,315 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Laude 85,716 Reputation points


    All Instance level public IP addresses are charged depending on what type of IP address you use:


    More information here:

    Public IP Address pricing

    You can use the REST API below to list all public IP addresses:

    Or you can use Azure CLI to scan all public IPs:
    Scan all public IP in Microsoft Azure using Azure CLI and Nmap

    Best regards,

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. EnterpriseArchitect 5,116 Reputation points


    Thanks for the update. Does the PowerShell script exports only the IP address on my Azure instances or tenant?
    I assume it is safe to execute without any downtime or issue.