Deploying Complex and Large Scale Azure Environments –

Slides:



Advertisements
Similar presentations
Luke Notley Migrating from AWS to Azure Seamlessly CLD32 1.
Advertisements

Andrew Hennessy Automating Server Application migrations to the Cloud – Goodbye Server INF21 3.
Reid Purvis – DC & Cloud Infrastructure Tech Specialist Shivam Garg – Principal PM Manager Backing up applications born in the Cloud: Deep Dive on IaaS.
James Bannan Freddy vs JSON: Azure Resource Manager CLD44 3.
Orin Thomas 30 Bad Habits of Server Administrators INF32 3.
Building a Microservices solution using Docker,
Basil Apostolou & Craig Pringle The why and how of hybrid cloud CLD22 3.
James Bannan The Cloud That Chuck Norris Built: Resilient Architecture in Azure ARC44 3.
Rick Claus Architect like a PRO for Performance and Availability of your Microsoft Azure VMs ARC43 6.
A deep dive into Azure AD B2C
3 Ways to Integrate Business Systems to Partners
Azure Stack and Hybrid Deployment
Azure ARM Templates CLD321 Aaron Saikovski
Serverless in Office 365 Build services with Azure Functions
Making of the Ignite Bot
What's New in System Center Configuration Manager, Current Branch and Intune INF324a Steven Hosking.
Building ARM IaaS Application Environment
30 Tips and Tricks for Managing and Running Ubuntu/Bash/Windows Subsystem for Linux WIN321B Orin Thomas.
Conversation As a Platform - Part 1
Now, let’s implement/trial Windows Defender Advanced Threat Protection
Enterprise Security in Practice
“Introduction to Azure Security Center”
Deploying Linux on Microsoft Public and Private cloud
Hadoop in the Enterprise
Building Business Application with Office 365 and Other Line Business Systems
Power BI Architecture, Best Practices, and Performance Tuning
Using Azure Key Vault for Encrypting and Securing your Cloud Workloads
Developing Hybrid Apps on Microsoft Azure Stack
Migrating your IaaS infrastructure from ASM to ARM without downtime
Need for Speed: Why Applications With No Database and No Services are Fast ARC334 Nick Randolph – Built to Roam.
Mastering Connectivity to O365
VMware to Azure & Azure to Azure DR Using ASR
Building a Continuous Delivery Pipeline for ASP.NET Core Apps
Jenkins and Azure OPEN322 Michael Friedrich.
Design and Implement Cloud Data Platform Solutions
Azure IaaS 101.
02 | Design and implement database
Azure Infrastructure as a Service
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Enterprise security for big data solutions on Azure HDInsight
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Darren Neimke and Jonathan Ruckert
Microsoft Virtual Academy
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Microsoft /12/2018 8:06 AM BRK2103 Deliver more features faster with a modern development and test solution Claude Remillard Group Program Manager.
Build vNext in VSO and TFS 2015
What’s new in Visual Studio in 2015?
Build and maintain applications with Azure Resource Manager
Microsoft Virtual Academy
Microsoft Virtual Academy
Rob Farley, LobsterPot Solutions
TechEd /28/ :51 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Application Insights:
Modern cloud PaaS for mobile apps, web sites, API's and business logic apps
M318.
Securely pass passwords into your deployment
Microsoft Build /14/2019 8:42 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Microsoft Build /18/2019 1:15 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Deep Dive into Azure API Apps and Logic Apps
4/6/2019 1:27 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
UI test automation of MVC apps with Microsoft Edge WebDriver
Chris Henley & Ben DiQual
Empower your users with Azure Active Directory Premium
A - E Cloud Enterprise Symbols
Route web traffic using Azure CLI
Microsoft Virtual Academy
Securing ASP.NET in an Azure Environment
Making Windows Azure Relevant to IT Professionals
Ready Pre-day Azure Monitoring Workshop
Presentation transcript:

Deploying Complex and Large Scale Azure Environments – Microsoft Ignite 2016 4/18/2018 1:17 PM Deploying Complex and Large Scale Azure Environments – Tales from the Trenches CLD334a Aaron Saikovski Specialist Solution Architect – Microsoft Cloud Technologies Rackspace Australia T: @RuskyDuck72 E: aaron.saikovski@rackspace.com © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Agenda Quick Intros Storage Large Scale Deployments Networking 4/18/2018 1:17 PM Agenda Quick Intros Large Scale Deployments Subscriptions Tagging Storage Networking Automation Monitoring Questions © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM About me © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Large Scale Azure Deployments 4/18/2018 1:17 PM Large Scale Azure Deployments © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM Subscriptions © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Subscriptions One Subscription per environment -> Dev, Test, Prod 4/18/2018 1:17 PM Subscriptions One Subscription per environment -> Dev, Test, Prod MSA and AzureAD Accounts -> subscriptions Enterprise Agreement (EA) - > Consolidated billing Restrict access to Prod (Yes Devs we are looking at you  ) TIP#1: Use named accounts (AzureAD) instead of MSA and use MFA!!! TIP#2: Use billing alerts at the subscription level to manage spend © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Subscriptions 4/18/2018 1:17 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Key Subscription Limits 4/18/2018 1:17 PM Source: https://docs.microsoft.com/en-us/azure/azure-subscription-service-limits#subscription-limits © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM Tagging © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Tagging Key:Value pairs -> name resources 4/18/2018 1:17 PM Tagging Key:Value pairs -> name resources Link resources -> cost centre, business unit etc Group common resources Resource -> 15 tags Max. Names -> Max. 512 characters Value ->Max. 256 characters. © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Tagging..cont Examples: Azure “Classic” mode doesn’t support tagging 4/18/2018 1:17 PM Tagging..cont Examples: Environment: Dev, Test, Prod Build date Cost centre Owner Azure “Classic” mode doesn’t support tagging TIP#3: Automated shutdown of resources without tags. Save $$$ © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM Tagging Source: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-using-tags © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM Storage © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Quick Storage Recap 4/18/2018 1:17 PM Source: https://docs.microsoft.com/en-us/azure/storage/storage-redundancy © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Storage Accounts Don’t overload storage accounts 4/18/2018 1:17 PM Storage Accounts Don’t overload storage accounts Plan Pricing Tiers -> Performance Premium storage -> Production workloads Avoid single storage accounts Standard storage -> MAX 500 IOPs per disk Premium -> MAX 5000 IOPS per disk (P30) TIP#4: Enable encryption when provisioning. Not after! © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Storage Account Naming 4/18/2018 1:17 PM Storage Account Naming Naming of storage accounts -> Storage load balancing Eg. ‘devstorageacct001’, ‘devstorageacct002’ Traffic bound to a partition server -> Rebalance -> performance hit! Can have a big performance hit on VM workloads TIP#5: Prefix storage accounts with a 3 digit hash (Unique) Source: https://docs.microsoft.com/en-us/azure/storage/storage-performance-checklist © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Storage Account Naming 4/18/2018 1:17 PM Storage Account Naming Same cluster Unique cluster © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM Networking © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM Networking Planning!!! Overlapping IP ranges -> ExpressRoute, S2S VPN Deploy and Redeploy -> Iterate Keep it simple Single VNet vs VNet Peering GatewaySubnet -> /27 Address Space TIP#6: Avoid Network Security Groups (NSGs) at the NIC level © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Network Security Groups (NSGs) 4/18/2018 1:17 PM Network Security Groups (NSGs) Recommended!! © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM Automation © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Automation Automate everything -> ARM, PowerShell, CLI 4/18/2018 1:17 PM Automation Automate everything -> ARM, PowerShell, CLI No manual changes ARM is incremental Tag resources Resource groups & Tags for cost optimisation Layer the deployment © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Automation..cont Store ARM templates in a private repository 4/18/2018 1:17 PM Automation..cont Store ARM templates in a private repository Linked templates vs. layered ARM templates Azure Automation for scheduled tasks TIP#7: Keep your Azure PowerShell and SDK tools up to date TIP#8: Lock ResourceGroups with ‘CanNotDelete’ lock level TIP#9: Don’t store passwords in .param files -> use KeyVault!! Bonus Tip: Staggered Automation runbook schedules -> PowerShell © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Automation..Tips and Tricks 4/18/2018 1:17 PM Automation..Tips and Tricks Use "location": "[resourceGroup().location]" as default resource location Use subscription().id, resourceGroup().id for unique identifiers in variables Use listKeys for dynamic value lookups: …"[listKeys(resourceId('Microsoft.Cache/Redis', parameters('redisCacheName')), '2014-04-01').primaryKey © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Automation..Tips and Tricks..cont 4/18/2018 1:17 PM Automation..Tips and Tricks..cont Use outputs for debugging: "outputs": { "RedisSessionStateHost": { "type": "string", "value": "[concat(parameters('redisCacheName'), '.redis.cache.windows.net')]" } © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM Monitoring © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Monitoring OMS (Log Analytics) -> default used by Rackspace 4/18/2018 1:17 PM Monitoring OMS (Log Analytics) -> default used by Rackspace Support -> subscription level Lots of metrics are captured Automated alerting -> Support ticket Example Key VM metrics Malware signatures update status Realtime protection CPU average greater than 95 percent average over 5 minutes Operating System Disk C = has less than 500 MB free space Recovery vault backup failures © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Monitoring..cont Include PaaS workloads – App Services, DocDB etc 4/18/2018 1:17 PM Monitoring..cont Include PaaS workloads – App Services, DocDB etc AppInsights -> URL monitoring -> multiple test locations Webhooks -> Azure Functions -> OMS Ingestion TIP#10: OMS has a 15 minute indexing interval © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

OMS Query Samples ARM Deployments: 4/18/2018 1:17 PM ARM Deployments: Type:AzureActivity AND (OperationName="Microsoft.Resources/deployments/write" OR OperationName="Microsoft.Resources/deployments/validate/action") | measure count () by ResourceId, ResourceGroup Malware signatures out of date: Type=ProtectionStatus AND (ProtectionStatusRank=250) AND (TypeofProtection="System Center Endpoint Protection") © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

OMS Query Samples..cont 4/18/2018 1:17 PM SQL Azure: Average CPU utilization percentage greater than 80% over 10 minutes: Type=sqlazure_CL MetricName_s=cpu_percent | measure max(Average_d) as DBCPU by DatabaseName_s interval 10minutes | where DBCPU >=80 © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Key Takeaways TIP#1: Use named accounts (AzureAD) instead of MSA and use MFA!!! TIP#2: Use billing alerts at the subscription level to manage spend TIP#3: Automated shutdown of resources without tags. Save $$$ TIP#4: Enable encryption when provisioning. Not after! TIP#5: Prefix storage accounts with a 3 digit hash (Unique) TIP#6: Avoid Network Security Groups (NSGs) at the NIC level TIP#7: Keep your Azure PowerShell and SDK tools up to date TIP#8: Lock ResourceGroups with ‘CanNotDelete’ lock level TIP#9: Don’t store passwords in .param files -> use KeyVault!! TIP#10: OMS has a 15 minute indexing interval

Questions Microsoft Ignite 2016 4/18/2018 1:17 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Continue your Ignite learning path 4/18/2018 1:17 PM Continue your Ignite learning path Visit Channel 9 to access a wide range of Microsoft training and event recordings https://channel9.msdn.com/ Head to the TechNet Eval Centre to download trials of the latest Microsoft products http://Microsoft.com/en-us/evalcenter/ Visit Microsoft Virtual Academy for free online training visit https://www.microsoftvirtualacademy.com © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/18/2018 1:17 PM Thank you Chat with me in the Speaker Lounge Find me (@RuskyDuck72 or email: aaron.saikovski@rackspace.com) or at the Rackspace booth © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.