{"id":23397,"date":"2023-04-13T09:00:00","date_gmt":"2023-04-13T16:00:00","guid":{"rendered":""},"modified":"2025-06-16T16:54:27","modified_gmt":"2025-06-16T23:54:27","slug":"manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2","status":"publish","type":"post","link":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/","title":{"rendered":"Manage your APIs with Azure API Management&#8217;s self-hosted gateway v2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Our industry has seen an evolution in how we run software. Traditionally, platforms were running in on-premises datacenters but started to transition to the cloud. However, not all workloads can move or customers want to have resiliency across clouds and edge which introduced multi-cloud scenarios.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With our self-hosted gateway capabilities, customers can use our existing tooling to extend to their on-premises and multi-cloud APIs with the same role-based access controls, API policies, observability options, and management plane that they are already using for their Azure-based APIs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"new-to-the-self-hosted-gateway-how-does-it-work\">New to the self-hosted gateway, how does it work?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When deploying an&nbsp;<a href=\"https:\/\/azure.microsoft.com\/en-us\/products\/api-management\/?ef_id=_k_0d22c366ff4f1a4fa157a7481772ff83_k_&amp;OCID=AIDcmm5edswduu_SEM_k_0d22c366ff4f1a4fa157a7481772ff83_k_&amp;msclkid=0d22c366ff4f1a4fa157a7481772ff83\">Azure API Management<\/a>&nbsp;instance in Azure customers get three main building blocks:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"wp-block-list-item\"><strong>A developer portal<\/strong>&nbsp;(also called&nbsp;<em>user plane<\/em>) for allowing internal and external users to find documentation, test APIs, get access to APIs, and see basic usage data among other features.<\/li>\n\n\n\n<li class=\"wp-block-list-item\"><strong>An API gateway<\/strong>&nbsp;(also called&nbsp;<em>data plane<\/em>), which contains the main networking component that exposes API implementations, applies API policies, secures APIs, and captures metrics and logs of usage among other features.<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Finally, a&nbsp;<strong>Management Plane<\/strong>, which is used through the Azure Portal, Azure Resource Manager (ARM), Azure Software Development Kits (SDKs), Visual Studio and Code extensions, and command-line interfaces (CLIs) that allow to manage and enforce permissions to the other components. Examples of this are setting up APIs, configuring the infrastructure, and defining policies.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/98491b23-2705-4750-b44e-8bc57c127671.webp\" alt=\"Architecture diagram depicting the components and features of Azure API Management Gateway.\" title=\"Picture1\"\/><figcaption class=\"wp-element-caption\"><em>Figure 1: Architecture diagram depicting the components and features of Azure API Management Gateway.<\/em><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the case of the self-hosted gateway, we provide customers with a container image that hosts a version of our API Gateway. Customers can run multiple instances of this API Gateway in non-Azure environments and the only requirement is to allow outbound communications to the Management Plane of an Azure API Management instance to fetch configuration and expose APIs running in those non-Azure environments.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/6089b9f1-900d-4e70-8ff2-317cff50e346.webp\" alt=\"Architecture diagram depicting the components of a distributed API Gateway solution using the self-hosted gateway.\" title=\"Picture2\"\/><figcaption class=\"wp-element-caption\"><em>Figure 2: Architecture diagram depicting the components of a distributed API Gateway solution using the self-hosted gateway.<\/em><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"supported-azure-api-management-tiers\">Supported Azure API Management tiers<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The self-hosted gateway v2 is now generally available and fully supported. However, the following conditions apply:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"wp-block-list-item\">You need an active Azure API Management instance; this instance should be on the Developer tier or Premium tier.\n<ul class=\"wp-block-list\">\n<li class=\"wp-block-list-item\">In the developer tier, in this case the feature is free for testing, with limitations of one active instance.<\/li>\n\n\n\n<li class=\"wp-block-list-item\">In the Premium tier, you can run as many instances as you want. Learn more about pricing at our&nbsp;<a href=\"https:\/\/azure.microsoft.com\/en-us\/pricing\/details\/api-management\" target=\"_blank\" rel=\"noreferrer noopener\">pricing table<\/a>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Azure API Management will always provision an API Gateway in Azure, which we typically call our managed API gateway.\n<ul class=\"wp-block-list\">\n<li class=\"wp-block-list-item\">Be aware that there are differences in features between our various API gateway offerings. Learn more about the differences in&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/api-management\/api-management-gateways-overview\" target=\"_blank\" rel=\"noreferrer noopener\">our documentation<\/a>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"pricing-and-gateway-deployment\">Pricing and gateway deployment<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the case of the self-hosted gateway, we can define a self-hosted gateway by assigning a name to our gateway, a location (which is a logical grouping that aligns with your business, not an Azure region), a description, and finally what APIs we want to expose in this gateway. This allows us to do physical isolation of APIs at the gateway level, which is only possible in the self-hosted gateway at this moment.&nbsp;<strong>This combination of location, APIs, and hostname is what defines a self-hosted gateway deployment, this \u201cself-hosted gateway deployment\u201d should not be confused with a Kubernetes \u201cdeployment\u201d object.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, using a single deployment, where the same APIs are configured in all locations:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/e636d709-01de-4bf4-a49c-fe903814582a.webp\" alt=\"Architecture diagram describing the pricing model for a single deployment of a self-hosted gateway.\" title=\"Picture3\"\/><figcaption class=\"wp-element-caption\"><em>Figure 3: Architecture diagram describing the pricing model for a single deployment of a self-hosted gateway.<\/em><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">However, you can also create multiple self-hosted gateway deployments to have more granular control over the different APIs that are being exposed:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/18d7d8df-ed8a-460f-9b63-26b5e7ec68d9.webp\" alt=\"Architecture diagram describing the pricing model for two deployments of a self-hosted gateway.\" title=\"Picture4\"\/><figcaption class=\"wp-element-caption\">Figure 4: Architecture diagram describing the pricing model for two deployments of a self-hosted gateway.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"supportability-and-shared-responsibilities\">Supportability and shared responsibilities<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Another important aspect is the support, in the case of the self-hosted gateway, the infrastructure is not necessarily managed by Azure, therefore as a customer you have more responsibilities to ensure the proper functioning of the gateway:<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td><strong>Microsoft Azure<\/strong><\/td><td><strong>Shared Responsibilities<\/strong><\/td><td><strong>Customers<\/strong><\/td><\/tr><tr><td><strong>Managed service service level agreements (SLA),&nbsp;<\/strong>for the management plane, access to configuration and ability to receive telemetry.<\/td><td><strong>Securing self-hosted gateway communication with Configuration endpoint:&nbsp;<\/strong>the communication between the self-hosted gateway and the configuration endpoint is secured by an access token, this token expires automatically every 30 days and needs to be updated for the running containers.<\/td><td><strong>Gateway hosting,&nbsp;<\/strong>deploying, and operating the gateway infrastructure: virtual machines with container runtime or Kubernetes clusters.<\/td><\/tr><tr><td><strong>Gateway maintenance,&nbsp;<\/strong>bug fixes and patches to container image.<\/td><td><strong>Keeping the gateway up to date:&nbsp;<\/strong>regularly updating the gateway to the latest version and latest features.<\/td><td><strong>Network configuration,&nbsp;<\/strong>necessary to maintain management plane connectivity and API access.<\/td><\/tr><tr><td><strong>Gateway updates,&nbsp;<\/strong>performance, and functional improvements to container image.<\/td><td>&nbsp;<\/td><td><strong>Gateway SLA,&nbsp;<\/strong>capacity management, scaling, and uptime<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td><strong>Keeping the gateway up to date,&nbsp;<\/strong>regularly updating the gateway to the latest version and latest features.<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td><strong>Providing diagnostics data to support,&nbsp;<\/strong>collecting, and sharing diagnostics data with support engineers<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td><strong>Third party open-source software (OSS ) software components,&nbsp;<\/strong>adding additional layers like Prometheus, Grafana, service meshes, container runtimes, Kubernetes distributions, proxies are customer responsibility.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"new-features-and-capabilities-of-v2-and-v1-retirement\">New features and capabilities of v2 and v1 retirement<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When using the latest versions of our v2 container image, tag 2.0.0 and or higher, you would be able to use the following features:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"wp-block-list-item\"><strong>Opentelemetry metrics:<\/strong>&nbsp;the self-hosted gateway can be configured to automatically collect and send metrics to an OpenTelemetry Collector. This allows you to bring your own metrics collection and reporting solution for the self-hosted gateway. Here you can find a list of&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/api-management\/how-to-deploy-self-hosted-gateway-kubernetes-opentelemetry#metrics\" target=\"_blank\" rel=\"noreferrer noopener\">supported metrics<\/a>.<\/li>\n\n\n\n<li class=\"wp-block-list-item\"><strong>New image tagging:<\/strong>&nbsp;we provide&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/api-management\/self-hosted-gateway-overview#container-images\" target=\"_blank\" rel=\"noreferrer noopener\">four tagging strategies<\/a>&nbsp;to meet your needs regarding updates, stability, patching, and production environments.<\/li>\n\n\n\n<li class=\"wp-block-list-item\"><strong>Helm chart:<\/strong>&nbsp;a&nbsp;<a href=\"https:\/\/artifacthub.io\/packages\/helm\/azure-api-management\/azure-api-management-gateway\" target=\"_blank\" rel=\"noreferrer noopener\">new deployment<\/a>&nbsp;option with multiple variables for you to configure at deployment time like backups, logs, OpenTelemetry, ingress, probes, and also Distributed Application Runtime (DAPR) configurations. This helm chart together with our sample Yaml files can be used for automated deployments with continuous integration and continuous delivery (CI and CD ) tools or even Gitops tools.<\/li>\n\n\n\n<li class=\"wp-block-list-item\"><strong>Artifact registry:<\/strong>&nbsp;you can find all our artifacts in our centralized Microsoft Artifact Registry for all the container images&nbsp;<a href=\"https:\/\/mcr.microsoft.com\/en-us\/product\/azure-api-management\/gateway\/about\" target=\"_blank\" rel=\"noreferrer noopener\">provided<\/a>&nbsp;by Microsoft.<\/li>\n\n\n\n<li class=\"wp-block-list-item\"><strong>New EventGrid events:<\/strong>&nbsp;a new batch of supported EventGrid events related to the self-hosted gateway operations and configurations. The full list of events can be found&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/event-grid\/event-schema-api-management?tabs=event-grid-event-schema#available-event-types\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Please remember that we will be&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/api-management\/breaking-changes\/self-hosted-gateway-v0-v1-retirement-oct-2023\" target=\"_blank\" rel=\"noreferrer noopener\">retiring support<\/a>&nbsp;for the v1 version of our self-hosted gateway, so this is the perfect time to upgrade to v2. We also provide a&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/api-management\/self-hosted-gateway-migration-guide?tabs=azure-cli\" target=\"_blank\" rel=\"noreferrer noopener\">migration guide<\/a>&nbsp;and a guide for running the&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/api-management\/how-to-self-hosted-gateway-on-kubernetes-in-production\" target=\"_blank\" rel=\"noreferrer noopener\">self-hosted gateway in production<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our industry has seen an evolution in how we run software. Traditionally, platforms were running in on-premises datacenters but started to transition to the cloud. However, not all workloads can move or customers want to have resiliency across clouds and edge which introduced multi-cloud scenarios.<\/p>\n","protected":false},"author":42,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ms_queue_id":[],"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","_alt_title":"","footnotes":"","msx_community_cta_settings":[]},"categories":[1498,1485,1556,1461],"tags":[],"audience":[3055],"content-type":[1481],"product":[1499],"tech-community":[],"topic":[],"coauthors":[1783],"class_list":["post-23397","post","type-post","status-publish","format-standard","hentry","category-integration","category-internet-of-things","category-mobile","category-web","audience-developers","content-type-thought-leadership","product-api-management","review-flag-1-1680286581-825","review-flag-2-1680286581-601","review-flag-3-1680286581-173","review-flag-4-1680286581-250","review-flag-alway-1680286580-106","review-flag-free-1680286579-836","review-flag-new-1680286579-546"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Manage your APIs with Azure API Management | Microsoft Azure Blog |<\/title>\n<meta name=\"description\" content=\"With our self-hosted gateway capabilities, customers can use our existing tooling to extend to their on-premises and multi-cloud APIs with the same role-based access controls, API policies, observability options, and management plane that they are already using for their Azure-based APIs. Learn more.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Manage your APIs with Azure API Management | Microsoft Azure Blog |\" \/>\n<meta property=\"og:description\" content=\"With our self-hosted gateway capabilities, customers can use our existing tooling to extend to their on-premises and multi-cloud APIs with the same role-based access controls, API policies, observability options, and management plane that they are already using for their Azure-based APIs. Learn more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Azure Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/microsoftazure\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-13T16:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-16T23:54:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/98491b23-2705-4750-b44e-8bc57c127671.webp\" \/>\n<meta name=\"author\" content=\"Fernando Mejia\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@azure\" \/>\n<meta name=\"twitter:site\" content=\"@azure\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fernando Mejia\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/\"},\"author\":[{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/fernando-mejia\/\",\"@type\":\"Person\",\"@name\":\"Fernando Mejia\"}],\"headline\":\"Manage your APIs with Azure API Management&#8217;s self-hosted gateway v2\",\"datePublished\":\"2023-04-13T16:00:00+00:00\",\"dateModified\":\"2025-06-16T23:54:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/\"},\"wordCount\":1133,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/98491b23-2705-4750-b44e-8bc57c127671.webp\",\"articleSection\":[\"Integration\",\"Internet of things\",\"Mobile\",\"Web\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/\",\"name\":\"Manage your APIs with Azure API Management | Microsoft Azure Blog |\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/98491b23-2705-4750-b44e-8bc57c127671.webp\",\"datePublished\":\"2023-04-13T16:00:00+00:00\",\"dateModified\":\"2025-06-16T23:54:27+00:00\",\"description\":\"With our self-hosted gateway capabilities, customers can use our existing tooling to extend to their on-premises and multi-cloud APIs with the same role-based access controls, API policies, observability options, and management plane that they are already using for their Azure-based APIs. Learn more.\",\"breadcrumb\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#primaryimage\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/98491b23-2705-4750-b44e-8bc57c127671.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/98491b23-2705-4750-b44e-8bc57c127671.webp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog home\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integration\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/integration\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Manage your APIs with Azure API Management&#8217;s self-hosted gateway v2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"name\":\"Microsoft Azure Blog\",\"description\":\"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.\",\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\",\"name\":\"Microsoft Azure Blog\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"width\":512,\"height\":512,\"caption\":\"Microsoft Azure Blog\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/microsoftazure\",\"https:\/\/x.com\/azure\",\"https:\/\/www.instagram.com\/microsoftdeveloper\/\",\"https:\/\/www.linkedin.com\/company\/16188386\",\"https:\/\/www.youtube.com\/user\/windowsazure\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/b2603da1afac705823964361ce9072c0\",\"name\":\"Kristin Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/295fa37b6bb2bbf59603c38b6ac7a7b4b86cd0f736387182fa9d0117f52cdf5e?s=96&d=mm&r=gb83eb8c5c3f8feea9763b473dabe8524\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/295fa37b6bb2bbf59603c38b6ac7a7b4b86cd0f736387182fa9d0117f52cdf5e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/295fa37b6bb2bbf59603c38b6ac7a7b4b86cd0f736387182fa9d0117f52cdf5e?s=96&d=mm&r=g\",\"caption\":\"Kristin Gallagher\"},\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/kristingallagher\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Manage your APIs with Azure API Management | Microsoft Azure Blog |","description":"With our self-hosted gateway capabilities, customers can use our existing tooling to extend to their on-premises and multi-cloud APIs with the same role-based access controls, API policies, observability options, and management plane that they are already using for their Azure-based APIs. Learn more.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/","og_locale":"en_US","og_type":"article","og_title":"Manage your APIs with Azure API Management | Microsoft Azure Blog |","og_description":"With our self-hosted gateway capabilities, customers can use our existing tooling to extend to their on-premises and multi-cloud APIs with the same role-based access controls, API policies, observability options, and management plane that they are already using for their Azure-based APIs. Learn more.","og_url":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/","og_site_name":"Microsoft Azure Blog","article_publisher":"https:\/\/www.facebook.com\/microsoftazure","article_published_time":"2023-04-13T16:00:00+00:00","article_modified_time":"2025-06-16T23:54:27+00:00","og_image":[{"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/98491b23-2705-4750-b44e-8bc57c127671.webp","type":"","width":"","height":""}],"author":"Fernando Mejia","twitter_card":"summary_large_image","twitter_creator":"@azure","twitter_site":"@azure","twitter_misc":{"Written by":"Fernando Mejia","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#article","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/"},"author":[{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/fernando-mejia\/","@type":"Person","@name":"Fernando Mejia"}],"headline":"Manage your APIs with Azure API Management&#8217;s self-hosted gateway v2","datePublished":"2023-04-13T16:00:00+00:00","dateModified":"2025-06-16T23:54:27+00:00","mainEntityOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/"},"wordCount":1133,"commentCount":0,"publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/98491b23-2705-4750-b44e-8bc57c127671.webp","articleSection":["Integration","Internet of things","Mobile","Web"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/","name":"Manage your APIs with Azure API Management | Microsoft Azure Blog |","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#primaryimage"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/98491b23-2705-4750-b44e-8bc57c127671.webp","datePublished":"2023-04-13T16:00:00+00:00","dateModified":"2025-06-16T23:54:27+00:00","description":"With our self-hosted gateway capabilities, customers can use our existing tooling to extend to their on-premises and multi-cloud APIs with the same role-based access controls, API policies, observability options, and management plane that they are already using for their Azure-based APIs. Learn more.","breadcrumb":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#primaryimage","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/98491b23-2705-4750-b44e-8bc57c127671.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2023\/04\/98491b23-2705-4750-b44e-8bc57c127671.webp"},{"@type":"BreadcrumbList","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/manage-your-apis-with-azure-api-management-s-selfhosted-gateway-v2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog home","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/"},{"@type":"ListItem","position":2,"name":"Integration","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/integration\/"},{"@type":"ListItem","position":3,"name":"Manage your APIs with Azure API Management&#8217;s self-hosted gateway v2"}]},{"@type":"WebSite","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","name":"Microsoft Azure Blog","description":"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.","publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization","name":"Microsoft Azure Blog","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","width":512,"height":512,"caption":"Microsoft Azure Blog"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/microsoftazure","https:\/\/x.com\/azure","https:\/\/www.instagram.com\/microsoftdeveloper\/","https:\/\/www.linkedin.com\/company\/16188386","https:\/\/www.youtube.com\/user\/windowsazure"]},{"@type":"Person","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/b2603da1afac705823964361ce9072c0","name":"Kristin Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/295fa37b6bb2bbf59603c38b6ac7a7b4b86cd0f736387182fa9d0117f52cdf5e?s=96&d=mm&r=gb83eb8c5c3f8feea9763b473dabe8524","url":"https:\/\/secure.gravatar.com\/avatar\/295fa37b6bb2bbf59603c38b6ac7a7b4b86cd0f736387182fa9d0117f52cdf5e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/295fa37b6bb2bbf59603c38b6ac7a7b4b86cd0f736387182fa9d0117f52cdf5e?s=96&d=mm&r=g","caption":"Kristin Gallagher"},"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/kristingallagher\/"}]}},"msxcm_display_generated_audio":false,"msxcm_animated_featured_image":null,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Azure Blog","distributor_original_site_url":"https:\/\/azure.microsoft.com\/en-us\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/23397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/comments?post=23397"}],"version-history":[{"count":2,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/23397\/revisions"}],"predecessor-version":[{"id":41980,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/23397\/revisions\/41980"}],"wp:attachment":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/media?parent=23397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/categories?post=23397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tags?post=23397"},{"taxonomy":"audience","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/audience?post=23397"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/content-type?post=23397"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/product?post=23397"},{"taxonomy":"tech-community","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tech-community?post=23397"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/topic?post=23397"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/coauthors?post=23397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}