Skip to content

Latest commit

 

History

History
36 lines (33 loc) · 2.57 KB

README.md

File metadata and controls

36 lines (33 loc) · 2.57 KB

DevOps Columbus Azure Demo

This is simply a demo repository that contains everything necessary for speaking at the DevOps Columbus user group. You can find the presentation here.

Prerequisites

Steps

  1. Create new solution and project
  2. Publish to Azure
  3. Store code in source control (GitHub, BitBucket, VSTS)
  4. Setup continuous deployment via Azure portal
    • You can do this in Visual Studio as well
  5. Download resource template and store in source control
  6. Open terminal or command prompt and login to Azure (az login)
    • follow steps to login properly
  7. Ensure directory is set to template file location
  8. Test resource template and parameters by executing a deployment
    • az group deployment create --name {{Name of deployment}} --resource-group {{Resource Group Name}} --template-file template.json --parameters parameters.json
  9. Witness the beauty/power of the resource templates
    1. In the Azure Portal, manually add a new Web App (follow prompts and wait until completed)
    2. In the terminal/command prompt, review the resources for the new one az resource list
    3. Run step 8 again, but with the property --mode Complete
      • The default is --mode incremental
    4. Run step ii and notice that the resource that was created is gone!

Resources