Book Image

Infrastructure as Code for Beginners

By : Russ McKendrick
4 (1)
Book Image

Infrastructure as Code for Beginners

4 (1)
By: Russ McKendrick

Overview of this book

The Infrastructure as Code (IaC) approach ensures consistent and repeatable deployment of cloud-based IaaS/PaaS services, saving you time while delivering impeccable results. Infrastructure as Code for Beginners is a practical implementation guide that helps you gain a clear understanding of the foundations of Infrastructure as Code and make informed decisions when implementing it. With this book, you’ll uncover essential IaC concepts, including planning, selecting, and implementing the right tools for your project. With step-by-step explanations and real-world examples, you'll gain a solid understanding of the benefits of IaC and the scope of application in your projects. You'll learn about the pros, cons, and best practices of different IaC tools such as Terraform and Ansible, and their use at different stages of the deployment process along with GitHub Actions. Using these tools, you'll be able to design, deploy, and secure your infrastructure on two major cloud platforms, Microsoft Azure and Amazon Web Services. In addition, you'll explore other IaC tools such as Pulumi, AWS CloudFormation, and Azure Bicep. By the end of this book, you’ll be well equipped to approach your IaC projects confidently.
Table of Contents (15 chapters)
1
Part 1: The Foundations – An Introduction to Infrastructure as Code
5
Part 2: Getting Hands-On with the Deployment
9
Part 3: CI/CD and Best Practices

Index

As this ebook edition doesn't have fixed pagination, the page numbers below are hyperlinked for reference only, based on the printed edition of this book.

A

admin host 39

admin virtual machine 66-69

Admin Virtual Machine role 80

Amazon EC2 86, 89

Amazon Machine Image (AMI) 97

Amazon Web Services (AWS) 85-87

Ansible 29, 30, 126

best practices 168-171

code, reviewing 73

code, writing 89-91

example 30-33

infrastructure, deploying 73, 89-91

running, with GitHub Actions 155-157

troubleshooting tips 172

versus Terraform 32

Ansible deployments

versus Terraform deployments 126-129

Ansible playbook

Auto Scaling group 104

EC2 instance 104

EFS instance 104

Elastic load balancer 104

RDS instance 104

running 81, 102, 103

security group 105

Virtual Private Cloud 106

Ansible playbook roles 91

Admin Virtual Machine role 80

AWS ASG role 100, 101

AWS Database role 96

AWS...