a497444cd7 | ||
---|---|---|
ARM Template | ||
Ansible | ||
Challenges | ||
Slides | ||
Terraform | ||
images | ||
.DS_Store | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
Contrib.md | ||
LICENSE | ||
LICENSE-CODE | ||
README.md | ||
SECURITY.md |
README.md
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:
-
Click the link on the top left to go to Azure Portal
-
Sign in using the Azure Credentials provided in the
Environment Details
tab -
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
-
Select
Bash
-
Since you have no storage mounted, click
Show advanced settings
to create a storage account in the 1st resource group. -
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.
-
Under
Resource group
, make sure you selectIoC-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 |