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

EnterpriseArchitect 4,916 Reputation points
2020-07-08T11:32:55.547+00:00

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,476 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,204 questions
0 comments No comments
{count} votes

Accepted answer
  1. Leon Laude 85,691 Reputation points
    2020-07-08T11:43:40.613+00:00

    Hi,

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

    11565-ip-address-pricing.png

    More information here:

    Public IP Address pricing
    https://azure.microsoft.com/en-us/pricing/details/ip-addresses

    You can use the REST API below to list all public IP addresses:
    https://learn.microsoft.com/en-us/rest/api/virtualnetwork/publicipaddresses/listall

    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,
    Leon

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. EnterpriseArchitect 4,916 Reputation points
    2020-07-08T12:43:14.673+00:00

    @Leon,

    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.