Beginning HCL Programming, 1st ed.
Using Hashicorp Language for Automation and Configuration

Authors:

Language: English
Cover of the book Beginning HCL Programming

Subject for Beginning HCL Programming

Approximative price 52.74 €

In Print (Delivery period: 15 days).

Add to cartAdd to cart
Publication date:
183 p. · 17.8x25.4 cm · Paperback

Get started with programming and using the Hashicorp Language (HCL). This book introduces you to the HCL syntax and its ecosystem then it shows you how to integrate it as part of an overall DevOps approach.

Next, you?ll learn how to implement infrastructure as code, specifically, using the Terraform template, a set of cloud infrastructure automation tools. As part of this discussion, you?ll cover Consul, a service mesh solution providing a full-featured control plane with service discovery, configuration, and segmentation functionality. You?ll integrate these with Vault to build HCL-based infrastructure as code solutions.  

Finally, you?ll use Jenkins and HCL to provision and maintain the infrastructure as code system. After reading and using Beginning HCL Programming, you'll have the know-how and source code to get started with flexible HCL for all your cloud and DevOps needs.  

What You Will Learn

  • Get started with programming and using HCL
  • Use Vault, Consul, and Terraform
  • Apply HCL to infrastructure as code
  • Define the Terraform template with HCL
  • Configure Consul using HCL
  • Use HCL to configure Vault
  • Provision and maintain infrastructure as code using Jenkins and HCL

Who This Book Is For

Anyone new to HCL but who does have at least some prior programming experience as well as knowledge of DevOps in general. 

1 Introduction to HCL
Define the history of HCL, the basic syntax and, show the basic configuration syntax and the basic usage of the HCL
2 The Hashicorp ecosystem
Show the different software create by Hashicorpt like Vault, Consul, Terraform
3 Introduction to Go
A small introduction on the Go language, we use Go to define the configuration template described in the book
4 Infrastructure As Code
Define what is the Infrastructure as Code and how we can do that
5 Introduction to the Cloud and DevOps
In this chapter, we have a short introduction to the Cloud and the DevOps
6 Use HCL for Terraform
We start to use the HCL for define Terraform template
7 Consul HCL
In this chapter we introduce the HCL for Consul, we learn how to configure Consul using the HCL
8 Vault HCL
Use the HCL for configure Vault
9 Infrastructure as Code with HCL
Design the Infrastructure as Code use the Hashicorp language, in particular, we use Terraform, Vault and Consul
10 Provisioning and Maintain the Infrastructure as Code
In this chapter, we see how to use Jenkins and the HCL for provisioning and maintain the infrastructure as code

Pierluigi Riti is a senior DevOps engineer at Coupa Software and Sunchronoss Technologies. Prior to that, he was a senior software engineer at Ericsson and Tata. His experience includes implementing DevOps in the cloud using Google Cloud Platform as well as AWS and Azure. Also, he has over ten years of extensive experience in more general design and development of different scale applications particularly in the telco and financial industries. He has quality development skills using the latest technologies including Java, J2EE, C#, F#, .NET, Spring .NET, EF, WPF, WF, WinForm, WebAPI, MVC, Nunit, Scala, Spring, JSP, EJB, Struts, Struts2, SOAP, REST, C, C++, Hibernate, NHibernate, Weblogic, XML, XSLT, Unix script, Ruby, and Python.

David Flynn is an Associate Analyst in Employee Access Business Operations at Mastercard. He is an Electronic Engineer with experience in telecommunications, networks, software, security and Financial Systems. David started out as a Telecommunications  Engineer working on Voice, data and wireless systems for Energis and later Nortel Networks supporting systems such as Lucent G3r, Alcatel E10 & Nortel Passport. He then did some time in Transport and Private security abroad before retraining in Computing, Cyber Security and Cloud Systems plus doing Cyber Security & Telecomm research for the Civil Service. He has completed separate Diplomas in Computing and Cloud focusing on Windows, C# , Google, AWS and Powershell amongst other technologies. David also has worked as a C# Engineer. More recently David has worked for various fintech companies including Bank Of America Merril Lynch focusing on technical & Application Support encompassing such technologies as Rsa Igl, Rsa SecurID, IBM Tam/Isam, Postgres/Oracle databases, Mainframe, Tandem, CyberArk, MaxPro and Active Directory.

The first book on the Hashicorp Language (HCL)

Covers cloud computing, DevOps, and related subjects

Written by an industry expert