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

Azure Resource Manager Templates

Azure Resource Manager Templates

Introduction and guide for a training about Azure Resource Manager Templates

Miguel Cruz

February 13, 2018
Tweet

More Decks by Miguel Cruz

Other Decks in Programming

Transcript

  1. AGENDA 1. What is Azure Resource Manager anyway 2. What

    are ARM Templates 3. Syntax 4. Deployment 1. Strategies 2. Tools 5. Limitations 6. Alternatives 7. Best Practices 8. Exercises 9. Resources
  2. WHAT IS AZURE RESOURCE MANAGER ANYWAY o Azure’s engine to

    manage infrastructure o Resources grouped in groups aka Resource Groups o Under the hood everything is decoupled by resource providers and exposed through apis
  3. o Infrastructure as Code o Version controlled o Automated deployment

    o Security (developers don’t need creation permissions) o You can’t choose anyway, there is no alternative ☺ BENEFITS OF USING ARM
  4. o All in one file o Multiple non-linked files o

    Multiple linked files DEPLOYMENT STRATEGIES
  5. o No logic o Linked templates madness o Lack of

    documentation o Code usability o Deleting a resource group vs Deleting indidivual resources LIMITATIONS
  6. o Clean up auto-generated json o Standarize resource namings o

    Keep credentials out of versión control o Deploy infrastructure together with code BEST PRACTICES
  7. o ARM Template syntax guide: link o ARM Template functions:

    link o ARM Template Examples: link o ARM API reference: link o Azure Resource Explorer: link RESOURCES