Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Improve cloud visibility and cost in Microsoft Azure

40 views

Published on

Lessons learned improving visibility and cost in Microsoft Azure

Monday, February 10, 2020

https://www.meetup.com/msdevmtl/events/267787555/

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Improve cloud visibility and cost in Microsoft Azure

  1. 1. Improve visibility and cost in Microsoft Azure
  2. 2. ImprovevisibilityandcostinMicrosoftAzure Stephane Lapointe @s_lapointe Microsoft Azure MVP Cloud Solutions Architect
  3. 3. ImprovevisibilityandcostinMicrosoftAzure Agenda • Typical cloud journey • What is Governance? • Our journey to the cloud • Visibility • Cost • Lessons learned
  4. 4. ImprovevisibilityandcostinMicrosoftAzure
  5. 5. ImprovevisibilityandcostinMicrosoftAzure Traditional Approach to Control Block Dev/Ops from directly accessing the cloud (portal/api/cli) to attain control Developers Operations Cloud Engineers responsible for Cloud environment
  6. 6. ImprovevisibilityandcostinMicrosoftAzure Modern Approach to Control Cloud-native governance -> removing barriers to compliance and enabling velocity Cloud Engineers Developers Operations Management Groups Templates RBAC Blueprints Policies Policy Cost Management
  7. 7. ImprovevisibilityandcostinMicrosoftAzure Things tend to get messy
  8. 8. ImprovevisibilityandcostinMicrosoftAzure Governance = Guardrails
  9. 9. ImprovevisibilityandcostinMicrosoftAzure Management groups Azure policy Blueprints Resource Graph Cost Management
  10. 10. ImprovevisibilityandcostinMicrosoftAzure Our cloud journey
  11. 11. ImprovevisibilityandcostinMicrosoftAzure Our journey to the cloud – • 2013-14 - Clients dev/staging env • 2015 - Clients prod env • 2016 - Cloud first 1 2 3 4 5 6 7 $ CAD/month from 60$ to 34K$
  12. 12. ImprovevisibilityandcostinMicrosoftAzure It grew organically, fast • Unable to explain some increases • Is it still in use? • Who owns what?
  13. 13. ImprovevisibilityandcostinMicrosoftAzure Visibility
  14. 14. ImprovevisibilityandcostinMicrosoftAzure What we did/tried • Ownership mapping • Deprecated resources inventory • New subscription model
  15. 15. ImprovevisibilityandcostinMicrosoftAzure What we did/tried • Tags • Naming convention • Lot of cost management tools • Azure Policy • Azure Resource Graph
  16. 16. ImprovevisibilityandcostinMicrosoftAzure Our subscription model • 2 subs per projects/products • Regular offer for production • Enterprise Dev/Test offer for non-production Using PAYG ? Pay-As-You-Go Dev/Test offer
  17. 17. ImprovevisibilityandcostinMicrosoftAzure Tags Tagging policy is essential in a good governance plan, ours is: • Mandatory tags • Required at resource group • Forced inheritance on child resources
  18. 18. ImprovevisibilityandcostinMicrosoftAzure provide efficient and performant resource exploration ability to query at scale across a given set of subscriptio ns
  19. 19. ImprovevisibilityandcostinMicrosoftAzure Features • Blazing fast • Visibility across your cloud resources • Powerful querying to gain deeper insights • Rich aggregation and parsing of granular properties • Tracking of changes made to resource properties (preview) • Support Azure Delegated Resource Management (Azure Lighthouse) AzureResour ce Graph
  20. 20. ImprovevisibilityandcostinMicrosoftAzure
  21. 21. ImprovevisibilityandcostinMicrosoftAzure
  22. 22. ImprovevisibilityandcostinMicrosoftAzure Cost
  23. 23. ImprovevisibilityandcostinMicrosoftAzure Tools we used • All the free ones! • Azure Consumption Insights in Power BI • ShareGate Overcast • Azure Cost Management
  24. 24. ImprovevisibilityandcostinMicrosoftAzure Bad reasons for increases • Oversized resources • Misconfiguration • Forgotten resources • Human error
  25. 25. ImprovevisibilityandcostinMicrosoftAzure Good reasons for increases • Migration to the cloud • Increased customer demand • New projet / product
  26. 26. ImprovevisibilityandcostinMicrosoftAzure What to pay special attention to • Slow, constant increases • Spikes • Too many regions
  27. 27. ImprovevisibilityandcostinMicrosoftAzure Problems detected because of cost Software bugs • Storage bandwidth • Automated scaling
  28. 28. ImprovevisibilityandcostinMicrosoftAzure Problems detected because of cost Architecture problems • Big scale-up • Multiple scale-up
  29. 29. ImprovevisibilityandcostinMicrosoftAzure Problems detected because of cost Misconfiguration • Database pools • Premium disk snapshots • Application Insights without cap / sampling
  30. 30. ImprovevisibilityandcostinMicrosoftAzure What we learned • Assign resources/cost verifications responsibilities • Perform regular cost trends verification • Free software plumbing has a cost
  31. 31. ImprovevisibilityandcostinMicrosoftAzure What we learned • Document standards & guidelines • Increase employee knowledge • Tagging is essential • Prioritize tagging over naming convention
  32. 32. ImprovevisibilityandcostinMicrosoftAzure Resources • Getting started with Azure Resource Graph webinar • Inherit a tag from the resource group policy • Azure Governance documentation • Azure Resource Graph portal dashboard samples
  33. 33. ImprovevisibilityandcostinMicrosoftAzure Stephane Lapointe Microsoft Azure MVP Cloud Solutions Architect Questions? Don’t hesitate to reach out

×