Upgrade to Pro — share decks privately, control downloads, hide ads and more …

December 2020: ARM Template For The Win & Bicep by Marcel Zehner (Video in description)

December 2020: ARM Template For The Win & Bicep by Marcel Zehner (Video in description)

Video recording available here: https://youtu.be/TiyLjZdzLQg

In this session, Microsoft RD & Azure MVP will shed some light on ARM-templates-based Azure deployments. ARM templates use a declarative approach to deploy and maintain Azure-based services. Using JSON files allows you to describe services, configurations or relations. Wait what? JSON-files? Are you worried about writing those beasts yourself? Stay calm as Marcel will introduce you to a brand new language that makes the development of ARM templates much easier.

Bio:
I am a cloud and community champion operating out of Switzerland. I support community conferences and events around the globe with my Microsoft cloud expertise. I am a Microsoft Regional Director and a long-time Microsoft MVP and head of the Microsoft community events "Experts Live Europe" and "Experts Live Switzerland".

More information about me can be found on http://about.me/marcelzehner.

0754d30f3acc99a940aebdcd49d5af97?s=128

Azure Zurich User Group

December 09, 2020
Tweet

Transcript

  1. ARM Templates For The Win! Marcel Zehner | SoftwareONE Microsoft

    Regional Director Microsoft Azure MVP marcelzehner.ch @marcelzehner
  2. ▪ SoftwareONE ▪ Bern-Switzerland ▪ Microsoft Regional Director ▪ Microsoft

    Azure MVP ▪ IT & tech geek ▪ Speaker & blogger ▪ Community champion ▪ Experts Live EU & CH
  3. Azure Resource Manager & ARM Templates Overview Introduction to BicepLang

    What to expect
  4. What NOT to expect Infra as Code overview ARM Templates

    Deep Dive Code management & pipelines Full DevOps story
  5. Azure Resource Manager & ARM Templates

  6. Azure Resource Manager ▪ Deployment and management service for Azure

    ▪ Consistent management layer ▪ Create, update and delete resources ▪ Used by ▪ Azure Portal, Azure CLI ▪ PowerShell Scripts ▪ Etc. ▪ Can accept ARM templates
  7. Azure Resource Providers Azure Resource Types Azure Portal, Marketplace, Scripts,

    ARM Templates etc. Azure Resource Provider Operations
  8. ARM Templates ▪ Declarative approach ▪ JSON files ▪ Initial

    provisioning ▪ Service maintenance ▪ Lifecycle management
  9. Define resources with dependencies Parametrize, submit values at deployment time

    Hardcode or calculate values used in resources section Output data from a deployment
  10. 2 Approaches ▪ Single template ▪ Normal or nested ▪

    Linked templates
  11. Deployment Scopes ▪ Resource Group ▪ Subscription ▪ Management Group

    ▪ Tenant
  12. Applying ARM Templates ▪ Portal ▪ PowerShell ▪ Azure CLI

    ▪ More advanced approaches (e.g. pipelines)
  13. Live Demo

  14. Introduction to BicepLang

  15. Issues with ARM Templates ▪ Complex to develop ▪ Not-so-easy

    to read ▪ [{,,}{,,(),,(,,)}]{,,},(),{}(,)] ⚔ ▪ Lots of code needed
  16. BicepLang ▪ New domain-specific language (DSL) ▪ Describe and deploy

    infrastructure to Azure ▪ Transparent abstraction for JSON ARM templates ▪ Easy-to-write/read
  17. Bicep Config Files ARM Templates Azure Resource Manager Azure Resources

    Compile Handover Deploy
  18. Bicep Tooling ▪ VS Code Extension ▪ Write and validate

    Bicep configs ▪ .bicep files ▪ Bicep CLI ▪ Build ARM template from Bicep config ▪ Decompile ARM template to Bicep config
  19. Live Demo

  20. Takeaways Azure is cool ARM templates are cool Bicep is

    cool Learn all of these
  21. marcelzehner.ch @marcelzehner youtube.com/MarcelZehner

  22. ARM Templates For The Win! Marcel Zehner | SoftwareONE Microsoft

    Regional Director Microsoft Azure MVP marcelzehner.ch @marcelzehner