Guest ArjenHuitema Posted June 21 Posted June 21 [HEADING=1]Introduction[/HEADING] Hello and welcome to another blog post about Azure Landing Zones, the best practice framework for accelerating your cloud adoption journey. In this post, I will share with you some of the latest updates and enhancements that we have made to Azure Landing Zones. One of the main components of Azure Landing Zones is the Azure Monitoring Agent (AMA), which enables you to collect and analyze data from your virtual machines, virtual machine scale sets, and hybrid resources. AMA provides a unified agent experience for Azure Monitor, Azure Security Center, Azure Sentinel, and other services. AMA replaces the legacy Log Analytics agent and Dependency agent, and offers better performance, reliability, and security. We are happy to announce that all the implementation methods, including Terraform and Bicep have been updated and Azure Landing Zones is now exclusively using AMA for all its monitoring scenarios. This means that you can benefit from the latest features and capabilities of AMA, such as the ability to send custom logs and metrics, use Azure Arc to monitor hybrid resources, and leverage Azure Policy to deploy and manage AMA at scale. Terraform upgrade guide [user Guide] Upgrade from v5.2.1 to v6.0.0 Bicep release notes: v0.18.0 Release Notes As MMA is deprecating, as of the 31st of August 2024, please make sure that you are working towards migrating to AMA to avoid falling out of support. We're retiring the Log Analytics agent in Azure Monitor on 31 August 2024 | Azure updates | Microsoft Azure [HEADING=1] [/HEADING] [HEADING=1]Key Updates and Enhancements[/HEADING] Since January 2024, the Portal Accelerator has been utilizing AMA and has received a significant update. Let's explore the specifics of the recent updates. [HEADING=2]Centralization of the User Assigned Managed Identity[/HEADING] One of the most noteworthy advancements is the centralized approach to User Assigned Managed Identities (UAMI). Here are the key highlights: Centralized UAMI: Azure Landing Zones now utilizing a single, centralized UAMI for AMA, enhancing manageability and scalability. Reliability: After the UAMI is created, it's replicated globally, and credential requests happen within the VM/VMSS's region instead of the UAMI region. Therefore, if the VM is in EastUS and the UAMI in WestUS, whenever the VM needs the UAMI credential, the request is completely fulfilled in EastUS. Scalability: Caching is enabled to support large-scale deployments. Managed identity limits for user assigned identity assignment remain the same regardless if you use single UAMI versus serval UAMI since rate limiting is done based on the VM/VMSS receiving the assignment not on the UAMI being assigned. This enables the convenience of managing a single identity that is both scalable and reliable. Protection: Added new custom policy Do not allow deletion of specified resource and resource type that provides a safeguard against accidental removal of the User Assigned Managed Identity used by AMA. Assigned at the Platform Management Group, it blocks delete calls using the deny action effect. [HEADING=2] [/HEADING] [HEADING=2]New Policies and Built-in Initiatives[/HEADING] To support the seamless integration of AMA, several policy updates have been made: Deny Action Delete Policy: A new policy has been introduced that denies the deletion of the UAMI used for AMA, adding an extra layer of security. Policy Initiatives Updates: Built-in policy initiatives for VM Insights, Change Tracking, and Microsoft Defender for Cloud (MDfC) Defender for SQL have been updated to support a single centralized UAMI. Feature Flag: The restriction that enforces a UAMI per subscription is lifted by setting the restrictBringYourOwnUserAssignedIdentityToSubscription feature flag to false, enabling the use of a single centralized UAMI. For more details on the policy changes please review What's New. [HEADING=1] [/HEADING] [HEADING=1]Brownfield Migration Guidance[/HEADING] Migrating existing environments to AMA involves several steps, which are comprehensively covered in the new brownfield migration guidance. Here's a breakdown of the process: [HEADING=2] [/HEADING] Assess current state: Conduct a thorough analysis of your existing environment to identify dependencies and custom configurations. Update Azure Landing Zones: guidance and automation tools help streamline the update process for Azure Landing Zones components Removing MMA and additional steps: It is crucial to be aware of other settings in your environment that may necessitate further considerations and steps when planning to migrate. While the final phase involves removing the Microsoft Monitoring Agent and addressing, you may need to address additional requirements discovered during the initial assessment, we have included references to already existing documentation to help with the next steps [HEADING=1]Automation Tools[/HEADING] To facilitate the transition, we have developed a PowerShell script designed to update Azure Landing Zones portal accelerator deployments to support AMA. This script reduces the manual effort required and ensures a smooth migration process. Several tasks that are automated: Update Policies and Initiatives. Delete outdated Policy Assignments. Deploy a User Assigned Managed Identity for the AMA agent. Deploys Data Collection Rules for VMInsights, ChangeTracking and MDfC Defender for SQL. Assign new Policies and Initiatives. Remove Legacy Solutions Create remediation tasks for the newly assigned Policies and initiatives. Remove obsolete User Assigned Managed Identities (that were deployed with releases starting 2024-01-31 until 2024-04-24) [HEADING=1] [/HEADING] [HEADING=1]Conclusion[/HEADING] The recent updates to Azure Landing Zones, with a focus on the Azure Monitoring Agent, bring significant improvements in manageability, scalability, and security. The comprehensive brownfield migration guidance and automation tools provide a clear pathway for existing environments to transition seamlessly to AMA. By leveraging these enhancements, organizations can better manage their Azure environments and ensure they remain compliant with the latest best practices. Stay tuned for more updates and detailed guides on implementing and optimizing your Azure Landing Zones. Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.