Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
Mastering Terraform

You're reading from   Mastering Terraform A practical guide to building and deploying infrastructure on AWS, Azure, and GCP

Arrow left icon
Product type Paperback
Published in Jul 2024
Publisher Packt
ISBN-13 9781835086018
Length 494 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Mark Tinderholt Mark Tinderholt
Author Profile Icon Mark Tinderholt
Mark Tinderholt
Arrow right icon
View More author details
Toc

Table of Contents (27) Chapters Close

Preface 1. Part 1: Foundations of Terraform FREE CHAPTER
2. Chapter 1: Understanding Terraform Architecture 3. Chapter 2: Using HashiCorp Configuration Language 4. Chapter 3: Harnessing HashiCorp Utility Providers 5. Part 2: Concepts of Cloud Architecture and Automation
6. Chapter 4: Foundations of Cloud Architecture – Virtual Machines and Infrastructure-as-a-Services 7. Chapter 5: Beyond VMs – Core Concepts of Containers and Kubernetes 8. Chapter 6: Connecting It All Together – GitFlow, GitOps, and CI/CD 9. Part 3: Building Solutions on AWS
10. Chapter 7: Getting Started on AWS – Building Solutions with AWS EC2 11. Chapter 8: Containerize with AWS – Building Solutions with AWS EKS 12. Chapter 9: Go Serverless with AWS – Building Solutions with AWS Lambda 13. Part 4: Building Solutions on Azure
14. Chapter 10: Getting Started on Azure – Building Solutions with Azure Virtual Machines 15. Chapter 11: Containerize on Azure – Building Solutions with Azure Kubernetes Service 16. Chapter 12: Go Serverless on Azure – Building Solutions with Azure Functions 17. Part 5: Building Solutions on Google Cloud
18. Chapter 13: Getting Started on Google Cloud – Building Solutions with GCE 19. Chapter 14: Containerize on Google Cloud – Building Solutions with GKE 20. Chapter 15: Go Serverless on Google Cloud – Building Solutions with Google Cloud Functions 21. Part 6: Day 2 Operations and Beyond
22. Chapter 16: Already Provisioned? Strategies for Importing Existing Environments 23. Chapter 17: Managing Production Environments with Terraform 24. Chapter 18: Looking Ahead – Certification, Emerging Trends, and Next Steps 25. Index 26. Other Books You May Enjoy

Building the solution

Now that we have a solid design for our solution, we can begin building it. As we discussed in the previous section, because we’ll be using Azure serverless offerings such as Azure Storage and Azure Functions to host our application, we will need to make some changes to our application code. This is something that we never had to do in Chapters 10 and 11 as we were able to deploy our application to the cloud by packaging it in either a VM image (using Packer) or in a container image (using Docker). Therefore, to build our solution, we need to write some Terraform code and update our application code in C#.

Terraform

As we discussed in our design, our solution is made up of two application components: the frontend and the backend. Each has a code base of application code that needs to be deployed. Unlike previous chapters, where we had operating system configuration as well, now that we are using serverless offerings, this is no longer our responsibility...

lock icon The rest of the chapter is locked
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