February 6, 2019

Infrastructure as a Code (IaC) Series #2 – The tools

On the previous and first post about the IaC Series, I wrote about the beginning on the IaC and did describe the tools. On this post I will detail all the tools that I have been using on my IaC projects.

So, before you get started, there are a few tools that you want to make sure that you have to install prior to started working with IaC project. At least for me, these were the steps I took before I started. As mention on the previous post (see HERE), I use the following toolset:

Visual Studio Code – Visual Studio Code is a lightweight code editor that can be used with almost any coding language. You can download VSCode HERE.

Terraform Extension – Mikael Olenfalk’s Terraform extension for Visual Studio Code will provide syntax highlighting and autocomplete that is specific to the Terraform language. You can download the extension HERE. This need to be installed after the Visual Studio Code.

Git – Git is essential to the build and release process, which relies heavily on repositories to handle changes to Terraform code. You can download Git HERE.
The installation it’s very simple and I went with the defaults the majority of the times, although make sure during the Git installation you select the following:

1 – On the Choosing the default editor used by Git window, you choose the Use Visual Studio Code as Git’s default editor

2 – On the Adjusting your PATH environment window, you select the option Git from the command line and also from 3rd-party software

3 – On the Configuring the line ending conversations windows, you select the option Checkout Windows-style, commit Unix-style line endings

If you are not familiar with Git, and how Git works, I highly recommend reading more about its functions and be familiar with how to use them. You can read up on the basics of Git HERE.

PowerShell – PowerShell comes pre-installed with Windows, so you won’t have to download anything, however, make sure you know how to open PowerShell as an administrator. This can be done by typing PowerShell in the start menu, right clicking the PowerShell icon, and selecting Run as Administrator.

AzureRM Powershell – Azure Powershell is a set of modules for Powershell that allows Windows to interface with Azure. To install AzureRM, open PowerShell as an administrator and type in Install-Module -Name AzureRM -AllowClobber. If it asks if you want to install all the modules, select A for yes to all.

Cheers,

Marcos Nogueira
Azure MVP
azurecentric.com
Twitter: @mdnoga

Written by Marcos Nogueira

Marcos Nogueira

With more than 18 years experience in Datacenter Architectures, Marcos Nogueira is currently working as a Principal Cloud Solution Architect. He is an expert in Private and Hybrid Cloud, with a focus on Microsoft Azure, Virtualization and System Center. He has worked in several industries, including Aerospace, Transportation, Energy, Manufacturing, Financial Services, Government, Health Care, Telecoms, IT Services, and Gas & Oil in different countries and continents. Marcos was a Canadian MVP in System Center Cloud & Datacenter Managenment and he has +14 years as Microsoft Certified, with more than 100+ certifications (MCT, MCSE, and MCITP, among others). Marcos is also certified in VMware, CompTIA and ITIL v3. He assisted Microsoft in the development of workshops and special events on Private & Hybrid Cloud, Azure, System Center, Windows Server, Hyper-V and as a speaker at several Microsoft TechEd/Ignite and communities events around the world.

Share

Marcos Nogueira

With more than 18 years experience in Datacenter Architectures, Marcos Nogueira is currently working as a Principal Cloud Solution Architect. He is an expert in Private and Hybrid Cloud, with a focus on Microsoft Azure, Virtualization and System Center. He has worked in several industries, including Aerospace, Transportation, Energy, Manufacturing, Financial Services, Government, Health Care, Telecoms, IT Services, and Gas & Oil in different countries and continents. Marcos was a Canadian MVP in System Center Cloud & Datacenter Managenment and he has +14 years as Microsoft Certified, with more than 100+ certifications (MCT, MCSE, and MCITP, among others). Marcos is also certified in VMware, CompTIA and ITIL v3. He assisted Microsoft in the development of workshops and special events on Private & Hybrid Cloud, Azure, System Center, Windows Server, Hyper-V and as a speaker at several Microsoft TechEd/Ignite and communities events around the world.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: