{"id":2452,"date":"2023-03-06T19:09:00","date_gmt":"2023-03-06T13:39:00","guid":{"rendered":"https:\/\/cloudwithease.com\/?p=2452"},"modified":"2024-01-24T15:42:55","modified_gmt":"2024-01-24T10:12:55","slug":"azure-public-ips","status":"publish","type":"post","link":"https:\/\/cloudwithease.com\/azure-public-ips\/","title":{"rendered":"Azure Public IPs: Azure Virtual Network"},"content":{"rendered":"\n<div class=\"wp-block-rank-math-toc-block has-background\" style=\"background-color:#dbf4f3\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#what-are-azure-public-i-ps\">What are Azure Public IPs?<\/a><\/li><li><a href=\"#azure-public-i-ps-types\">Azure Public IPs: Types<\/a><\/li><li><a href=\"#azure-public-i-ps-sku-options\">Azure Public IPs: SKU options<\/a><\/li><li><a href=\"#difference-between-basic-standard-sku\">Difference between Basic &amp; Standard SKU<\/a><\/li><li><a href=\"#are-you-preparing-for-your-next-interview\">Are you preparing for your next interview?<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<p>Internet is a web of interconnected networks. The communication over the internet happens using the Public IP addresses only. Private networks <a href=\"https:\/\/cloudwithease.com\/on-premise-vs-cloud\/\" target=\"_blank\" rel=\"noreferrer noopener\">be it on-prem <\/a>or on Azure VNETs make use of private IP addresses defined in RFC 1918 for communication and aren\u2019t routable over the internet. In this post we will learn some of the properties of the Azure Public IPs and also understand their usage and some limitations.<\/p><div id=\"cloud-4180412014\" class=\"cloud-content cloud-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1375203873676133\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block; text-align:center;\" data-ad-client=\"ca-pub-1375203873676133\" \ndata-ad-slot=\"8195412531\" \ndata-ad-layout=\"in-article\"\ndata-ad-format=\"fluid\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-are-azure-public-i-ps\"><strong>What are Azure Public IPs?<\/strong><\/h2>\n\n\n\n<p>In order to access the Azure resources i.e., web servers sitting inside a private <a href=\"https:\/\/cloudwithease.com\/azure-virtual-network-vnet\/\" target=\"_blank\" rel=\"noreferrer noopener\">VNET in Azure<\/a> from the internet you will need to assign these Azure resources with a public IP address. This same public IP address can also be used for outbound connections from Azure resources towards the internet. Azure resources that don\u2019t have a public IP address assigned can communicate to the internet via Network address translation service.<\/p>\n\n\n\n<p>A Public IP address in Azure is created as an independent resource which is then bound to another Azure resource. Few resources to which you can assign or unassign a public IP address are as follows:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>Virtual machine network interfaces<\/em><\/li>\n\n\n\n<li><em>Virtual machine scale sets<\/em><\/li>\n\n\n\n<li><em>Public Load Balancers<\/em><\/li>\n\n\n\n<li><em>Virtual Network Gateways (VPN\/ER)<\/em><\/li>\n\n\n\n<li><em>NAT gateways<\/em><\/li>\n\n\n\n<li><em>Application Gateways<\/em><\/li>\n\n\n\n<li><em>Azure Firewall<\/em><\/li>\n\n\n\n<li><em>Bastion Host<\/em><\/li>\n\n\n\n<li><em>Route Server<\/em><\/li>\n<\/ul>\n\n\n\n<p>Public IP assigned can be an <a href=\"https:\/\/ipwithease.com\/ipv4-vs-ipv6\/\" target=\"_blank\" rel=\"noopener\">IPV4 or IPV6<\/a> address.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"azure-public-i-ps-types\"><strong>Azure Public IPs: Types<\/strong><\/h2>\n\n\n\n<p>An Azure Public IP can be dynamic or can be static.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Dynamic Public IPs<\/strong> \u2013 These IPs can change over the lifespan of the Azure Resource and are usually assigned at start or creation of Azure resources. For example, when an Azure VM is powered off and then powered on it will be assigned a new Public IP dynamically and won\u2019t have the same public IP which it had before powering the VM off. Since, there is a cost associated with Public IPs and we don\u2019t retain these IPs while Azure resources are powered Off, this option is more cost effective when compared to static Public IPs.<\/li>\n\n\n\n<li><strong>Static Public IPs<\/strong> \u2013 This type of Public IP doesn\u2019t change over the lifespan of Azure resources and is retained even when the Azure resource is powered off or not in use. It is released only when you delete the resource or change the <a href=\"https:\/\/www.ibm.com\/docs\/en\/zos\/2.4.0?topic=addresses-ip-address-allocation\" target=\"_blank\" rel=\"noreferrer noopener\">IP allocation<\/a> method to dynamic.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"azure-public-i-ps-sku-options\"><strong>Azure Public IPs<\/strong>: <strong>SKU options<\/strong><\/h2>\n\n\n\n<p>The Public IPs from Azure are available in two SKU options:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Basic SKU &#8211;<\/strong> Basic SKU supports both static and dynamic assignments. It doesn\u2019t support Availability Zones. It is recommended use of NSGs for traffic restrictions as it is open to all communication by default. The Basic SKU is available free to use.<\/li>\n\n\n\n<li><strong>Standard SKU &#8211; <\/strong>Standard SKU supports only static assignments. It  supports Availability Zones. Standard IPs are secure by default and closed to inbound traffic. The Standard SKU has many additional features and it is a paid version.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"difference-between-basic-standard-sku\"><strong>Difference between Basic &amp; Standard SKU<\/strong><\/h2>\n\n\n\n<p>Let&#8217;s compare the two SKU options in details by comparing different aspects through a comparison table:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1000\" height=\"594\" data-id=\"2454\" data-src=\"https:\/\/cloudwithease.com\/wp-content\/uploads\/2023\/03\/BASIC-SKU-VS-STANDARD-SKU-TABLE.jpg\" alt=\"BASIC SKU VS STANDARD SKU\" class=\"wp-image-2454 lazyload\" data-srcset=\"https:\/\/cloudwithease.com\/wp-content\/uploads\/2023\/03\/BASIC-SKU-VS-STANDARD-SKU-TABLE.jpg 1000w, https:\/\/cloudwithease.com\/wp-content\/uploads\/2023\/03\/BASIC-SKU-VS-STANDARD-SKU-TABLE-300x178.jpg 300w, https:\/\/cloudwithease.com\/wp-content\/uploads\/2023\/03\/BASIC-SKU-VS-STANDARD-SKU-TABLE-768x456.jpg 768w, https:\/\/cloudwithease.com\/wp-content\/uploads\/2023\/03\/BASIC-SKU-VS-STANDARD-SKU-TABLE-600x356.jpg 600w\" data-sizes=\"(max-width: 1000px) 100vw, 1000px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1000px; --smush-placeholder-aspect-ratio: 1000\/594;\" \/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-text-color\" id=\"are-you-preparing-for-your-next-interview\" style=\"color:#70eb4c\"><strong>Are you preparing for your next interview?<\/strong><\/h2>\n\n\n\n<p>Please check our <em><strong><a href=\"https:\/\/cloudwithease.com\/shop\/\" target=\"_blank\" rel=\"noreferrer noopener\">e-store<\/a><\/strong><\/em> for e-book on <a href=\"https:\/\/cloudwithease.com\/product\/microsoft-azure\/\">Microsoft Azure Interview Q&amp;A<\/a>. All the e-books are in easy to understand PDF Format, explained with relevant Diagrams (where required) for better ease of understanding.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Internet is a web of interconnected networks. The communication over the internet happens using the Public IP addresses only. Private &#8230; <a title=\"Azure Public IPs: Azure Virtual Network\" class=\"read-more\" href=\"https:\/\/cloudwithease.com\/azure-public-ips\/\" aria-label=\"Read more about Azure Public IPs: Azure Virtual Network\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":2455,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pmpro_default_level":"","footnotes":""},"categories":[19],"tags":[59],"class_list":["post-2452","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-cloud","tag-azure","pmpro-has-access"],"_links":{"self":[{"href":"https:\/\/cloudwithease.com\/wp-json\/wp\/v2\/posts\/2452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudwithease.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudwithease.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudwithease.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudwithease.com\/wp-json\/wp\/v2\/comments?post=2452"}],"version-history":[{"count":8,"href":"https:\/\/cloudwithease.com\/wp-json\/wp\/v2\/posts\/2452\/revisions"}],"predecessor-version":[{"id":3674,"href":"https:\/\/cloudwithease.com\/wp-json\/wp\/v2\/posts\/2452\/revisions\/3674"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudwithease.com\/wp-json\/wp\/v2\/media\/2455"}],"wp:attachment":[{"href":"https:\/\/cloudwithease.com\/wp-json\/wp\/v2\/media?parent=2452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudwithease.com\/wp-json\/wp\/v2\/categories?post=2452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudwithease.com\/wp-json\/wp\/v2\/tags?post=2452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}