Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Infrastructure as Code for Beginners

You're reading from   Infrastructure as Code for Beginners Deploy and manage your cloud-based services with Terraform and Ansible

Arrow left icon
Product type Paperback
Published in May 2023
Publisher Packt
ISBN-13 9781837631636
Length 222 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Russ McKendrick Russ McKendrick
Author Profile Icon Russ McKendrick
Russ McKendrick
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Part 1: The Foundations – An Introduction to Infrastructure as Code
2. Chapter 1: Choosing the Right Approach – Declarative or Imperative FREE CHAPTER 3. Chapter 2: Ansible and Terraform beyond the Documentation 4. Chapter 3: Planning the Deployment 5. Part 2: Getting Hands-On with the Deployment
6. Chapter 4: Deploying to Microsoft Azure 7. Chapter 5: Deploying to Amazon Web Services 8. Chapter 6: Building upon the Foundations 9. Part 3: CI/CD and Best Practices
10. Chapter 7: Leveraging CI/CD in the Cloud 11. Chapter 8: Common Troubleshooting Tips and Best Practices 12. Chapter 9: Exploring Alternative Infrastructure-as-Code Tools 13. Index 14. Other Books You May Enjoy

Summary

In this chapter, we discussed and covered some of the core concepts we will be following throughout the remainder of the book. We talked about my own journey with Infrastructure as Code, which we will be picking up in further chapters.

We discussed some of the common questions that get raised when discussing Infrastructure-as-Code projects, along with some of the positive and negative feedback you may get. Then we went on to talk about the differences between the two deployment approaches.

The first is declarative and imperative, which is how your deployment code is executed and in which order.

The second approach we discussed, pets versus cattle, while not strictly an Infrastructure-as-Code method, does have relevance to the approach you would take to writing your Infrastructure-as-Code scripts.

As we get more hands-on, I will share some of my own challenges and successes with Infrastructure as Code.

Speaking of getting more hands-on, in our next chapter, Chapter 2, Ansible and Terraform beyond the Documentation, we are going to look at two of the most common Infrastructure-as-Code tools and start looking at some actual Infrastructure-as-Code examples, as well as get an idea of how concepts such as declarative and imperative apply to them. Plus, we will be covering some tips and tricks based on my own experience with the two tools.

You have been reading a chapter from
Infrastructure as Code for Beginners
Published in: May 2023
Publisher: Packt
ISBN-13: 9781837631636
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image