Thursday, July 29, 2021

Coming improvements to Azure Monitor Private Links help control its scope and onboarding process

Azure Monitor Private Links are used extensively, to provide a direct, private connection between customer VNets and their monitoring resources - Log Analytics workspaces and Application Insights components. We continuously see more customers and more traffic going to Private Links, and with it also a need to improve how it is controlled and applied to networks and resources.

 

Starting mid-August, we'll roll out two improvements intended to help you both onboard private links, and use it as best fits your needs.

 

Selecting how Private Links apply to your network traffic - an open vs a private mode

Until now, Azure Monitor Private Links acted mostly as "All or Nothing" - it required organizations to onboard all their resources to Private Links, or none at all. Customer feedback showed us that this requirement made onboarding too difficult, and also wasn't truly required for all customers. Many customers wish to use Private Links for some resources, but not limit their Azure Monitor traffic to Private Links alone.

 

starting August 16, 2021, we'll have new controls to allow you to choose how Private Links should apply to your networks:

  • Private Only mode - allowing network traffic to reach only resources added to the network's AMPLS
  • Open mode - allowing network traffic to reach AMPLS resources as well as resources out of the AMPLS. Note that requests sent to resources out of the AMPLS aren't valid Private Link requests (by definition) so they will only go through if the target resource allows query/ingestion from public networks.

While using the open mode, you get these Private Link benefits - 

  • Allowing closed VNets with no internet access to reach Azure Monitor resources through a private IP, over the Microsoft backbone
  • Protecting from data infiltration (foreign data leaking in) by allowing resources (such as workspaces) to accept ingestion only over Private Link connections (meaning from known networks)

However, to fully protect your network and set handle the risk of data exfiltration (org data leaking out), use the Private Only mode, allowing your network to access only specific resources, through a Private Link. External resources won't be reachable to assure your logs remain within the boundaries you set. Before you switch to the Private Only mode, make sure to carefully map your Azure Monitor resources (Log Analytics workspaces and Application Insights components) and add them to the AMPLS. And remember - close your firewall, to make sure only your client on your network can only use Private Links.

 

Where can I see these settings?

These new settings can be set on the Azure Monitor Private Link Scope (AMPLS) to apply to all networks connecting to it, or even for specific networks (using the Private Endpoint Connections on the AMPLS). Note they are split between ingestion and query to give you the flexibility you may need.

You may already be able to see the new settings on your AMPLS but will only be able to set them after August 16.

 

What are the default settings? What happens to my existing setup?

By default, new Private Link setups will use the Open mode - allowing both ingestion and query requests to reach all resources. This means a Private Link will be used when possible (i.e., when the target resource is connected to an AMPLS) but won't drop requests to resources out of the AMPLS, as long as they accept queries/ingestion from public networks.

These setting were selected to allow for an easy onboarding to Azure Monitor Private Links, without force-applying it to all resources in your environment.

 

Existing setups keep their existing behavior, which is:

  • Ingestion has a Private Only mode - ingestion requests are limited to resources in the AMPLS.
  • Query has an Open mode - queries can reach resources out of the AMPLS.

You can of course change these settings on your existing environment to fit your needs.

 

Avoiding configuration errors

Azure Monitor resources have Network Isolation settings that allow them to block queries and log ingestion from public networks (meaning the requests aren't sent over a Private Link). We found that in some cases users chose to block traffic from public networks without connecting the resource to an Azure Monitor Private Link Scope (AMPLS). That effectively meant the resource isn't accessible both publicly and privately. While this configuration is valid, in many cases it's a simple mistake.

 

A change of behavior: Network Isolation settings will be enforced strictly.

Our query mechanism treated this configuration as invalid, and therefore only blocked queries from public networks if the resource was associated with an AMPLS. Starting August 16, 2021, resources that block queries from public networks will stop accepting public queries, even if they're not associated with any AMPLS. Please make sure your workspaces and components don't block queries from public networks without connecting to an AMPLS for Private Link access.

 

Improved Network Isolation experience

In order to avoid configuration errors, the Network Isolation page has been updated to show clearer messages and also alert when users set an irregular configuration.

In addition, we're also alerting on irregular settings through a new banner, notifying you to review your Network Isolation configuration and avoid unintentionally blocking queries. 

Network isolation blade.png

  • Alerting on irregular settings - to help prevent mis-configuration and help prepare, a new banner will alert you if your resource configuration should be reviewed:

Banner.png

 

Feedback

We appreciate your feedback! comment on this blog post and let us know what you think of the this feature.

Posted at https://sl.advdat.com/2TLruzs