Skip to content

Ignite 2019 Infrastructure as Code pre-day docs

License

CC-BY-4.0, MIT licenses found

Licenses found

CC-BY-4.0
LICENSE
MIT
LICENSE-CODE
Notifications You must be signed in to change notification settings

Azure/Ignite2019_IaC_pre-day_docs

Ignite 2019 - Infrastructure as code with Terraform, Ansible, and ARM Pre-Day Workshop

Infrastructure as code (IaC) is an important pillar of modern DevOps and is used by most enterprise customers to safely and efficiently provision and manage their cloud solutions. HashiCorp Terraform and Red Hat Ansible are very popular technologies allowing the practice of IaC - they abstract infrastructure provisioning, making it faster and easier for teams to deploy cloud resources in a variety of scenarios such as hybrid and multi cloud environments. In this workshop, learn about the practice of infrastructure as code, get an overview of Terraform, Ansible, and Azure Resource Manager templates, as well as gain hands-on experience in using these to deploy and provision resources on Azure.

Walk throughs for this workshop can be found in the table below. During the workshop, you will pick a track or tool and work through each of the labs for that tool. If you have extra time during the workship or if you would like to come back and walk through the labs with the other tools after the workshop this table will enable you to do that.

Before you start

Go to the launch URL provided, sign up and enter the activation code.

After you signed up, click the Launch Lab button which will take you automatically to the LabVM RDP in browser.

Setting up Cloud Shell in Azure portal

In the LabVM RDP browser:

  1. Click the link on the top left to go to Azure Portal

  2. Sign in using the Azure Credentials provided in the Environment Details tab

  3. Once signed in, go to Resource Groups under Favorites in the left rail. You should see two resource groups:

    • IoC-01-XXXXXX: this resource group contains all the AnsibleVM, LabVMs, Key Vault etc., lab resources. We recommend to put your Cloud Shell storage in this resource group as well.
    • IoC-02-XXXXXX: use this resource group for all assets created in the labs
  4. click >_ in the top bar Launch Cloud Shell

  5. Select Bash

  6. Since you have no storage mounted, click Show advanced settings to create a storage account in the 1st resource group. Launch Cloud Shell

  7. Specify the region as the same as your resource group. e.g., South Central US. The Create storage button is grey out until you provide unique names for your storage account and file share.

  8. Under Resource group, make sure you select IoC-01-XXXXXX; provide an unique name for each of your storage account and file share. E.g., you can prefix the name with the last 6 digits of your resource group.

Workshop Labs

Lab Name Ansible ARM Template Terraform
Basics Guide Guide Guide
Variables Guide Guide Guide
Helpers Guide Guide Guide
Security Guide Guide Guide
Reusability Guide Guide Guide

Contribution guide

About

Ignite 2019 Infrastructure as Code pre-day docs

Resources

License

CC-BY-4.0, MIT licenses found

Licenses found

CC-BY-4.0
LICENSE
MIT
LICENSE-CODE

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published