Op werkdagen voor 23:00 besteld, morgen in huis Gratis verzending vanaf €20

Terraform - Up and Running

Writing Infrastructure as Code

Paperback Engels 2022 9781098116743
Verkooppositie 3274Hoogste positie: 625
Verwachte levertijd ongeveer 8 werkdagen

Samenvatting

Terraform has become a key player in the DevOps world for defining, launching, and managing infrastructure as code (IaC) across a variety of cloud and virtualization platforms, including AWS, Google Cloud, Azure, and more. This hands-on third edition, expanded and thoroughly updated for version 1.0 and beyond, shows you the fastest way to get up and running with Terraform.

Gruntwork cofounder Yevgeniy (Jim) Brikman walks you through code examples that demonstrate Terraform's simple, declarative programming language for deploying and managing infrastructure with a few commands. Veteran sysadmins, DevOps engineers, and novice developers will quickly go from Terraform basics to running a full stack that can support a massive amount of traffic and a large team of developers.

- Compare Terraform with Chef, Puppet, Ansible, CloudFormation, Docker, and Packer
- Deploy servers, load balancers, and databases
- Create reusable infrastructure with Terraform modules
- Test your Terraform modules with static analysis, unit tests, and integration tests
- Configure CI/CD pipelines for both your apps and infrastructure code
- Use advanced Terraform syntax for loops, conditionals, and zero-downtime deployment

Specificaties

ISBN13:9781098116743
Taal:Engels
Bindwijze:paperback
Aantal pagina's:368
Uitgever:O'Reilly
Druk:3
Verschijningsdatum:20-10-2022
Hoofdrubriek:IT-management / ICT
ISSN:

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Geef uw waardering

Zeer goed Goed Voldoende Matig Slecht

Over Yevgeniy Brikman

Yevgeniy (Jim) Brikman loves programming, writing, speaking, traveling, and lifting heavy things. He is the co-founder of Gruntwork, a company that helps startups get up and running on AWS with DevOps best practices and world-class infrastructure. He's also the author of "Hello, Startup: A Programmer's Guide to Building Products, Technologies, and Teams," a book published by O'Reilly Media that has a 4.9/5.0 rating on Amazon and 4.5/5.0 rating on GoodReads. Previously, he worked as a software engineer at LinkedIn, TripAdvisor, Cisco Systems, and Thomson Financial and got his BS and Masters at Cornell University. For more info, check out ybrikman.com.

Andere boeken door Yevgeniy Brikman

Inhoudsopgave

Preface
Who Should Read This Book
Why I Wrote This Book
What You Will Find in This Book
Changes from the Second Edition to the Third Edition
Changes from the First Edition to the Second Edition
What You Won’t Find in This Book
Open Source Code Examples
Using the Code Examples
Conventions Used in This Book
O’Reilly Online Learning
How to Contact O’Reilly Media
Acknowledgments

1. Why Terraform
The Rise of DevOps
What Is Infrastructure as Code?
Ad Hoc Scripts
Configuration Management Tools
Server Templating Tools
Orchestration Tools
Provisioning Tools
The Benefits of Infrastructure as Code
How Terraform Works
How Terraform Compares to Other IaC Tools
Configuration Management Versus Provisioning
Mutable Infrastructure Versus Immutable Infrastructure
Procedural Language Versus Declarative Language
General-Purpose Language Versus Domain-Specific Language
Master Versus Masterless
Agent Versus Agentless
Paid Versus Free Offering
Large Community Versus Small Community
Mature Versus Cutting Edge
Using Multiple Tools Together
Conclusion

2. Getting Started with Terraform
Setting Up Your AWS Account
Install Terraform
Deploy a Single Server
Deploy a Single Web Server
Deploy a Configurable Web Server
Deploying a Cluster of Web Servers
Deploying a Load Balancer
Cleanup
Conclusion

3. How to Manage Terraform State
What Is Terraform State?
Shared Storage for State Files
Limitations with Terraform’s Backends
Isolating State Files
Isolation via Workspaces
Isolation via File Layout
The terraform_remote_state Data Source
Conclusion

4. How to Create Reusable Infrastructure with Terraform Modules
Module Basics
Module Inputs
Module Locals
Module Outputs
Module Gotchas
File Paths
Inline Blocks
Module Versioning
Conclusion

5. Terraform Tips and Tricks: Loops, If-Statements, Deployment, and Gotchas
Loops
Loops with the count Parameter
Loops with for_each Expressions
Loops with for Expressions
Loops with the for String Directive
Conditionals
Conditionals with the count Parameter
Conditionals with for_each and for Expressions
Conditionals with the if String Directive
Zero-Downtime Deployment
Terraform Gotchas
count and for_each Have Limitations
Zero-Downtime Deployment Has Limitations
Valid Plans Can Fail
Refactoring Can Be Tricky
Conclusion

6. Managing Secrets with Terraform
Secret Management Basics
Secret Management Tools
The Types of Secrets You Store
The Way You Store Secrets
The Interface You Use to Access Secrets
A Comparison of Secret Management Tools
Using Secret Management Tools with Terraform
Providers
Resources and Data Sources
State Files and Plan Files
Conclusion

7. Working with Multiple Providers
Working with One Provider
What Is a Provider?
How Do You Install Providers?
How Do You Use Providers?
Working with Multiple Copies of the Same Provider
Working with Multiple AWS Regions
Working with Multiple AWS Accounts
Creating Modules That Can Work with Multiple Providers
Working with Multiple Different Providers
A Crash Course on Docker
A Crash Course on Kubernetes
Deploying Docker Containers in AWS Using Elastic Kubernetes Service (EKS)
Conclusion

8. Production-Grade Terraform Code
Why It Takes So Long to Build Production-Grade Infrastructure
The Production-Grade Infrastructure Checklist
Production-Grade Infrastructure Modules
Small Modules
Composable Modules
Testable Modules
Versioned Modules
Beyond Terraform Modules
Conclusion

9. How to Test Terraform Code
Manual Tests
Manual Testing Basics
Cleaning Up After Tests
Automated Tests
Unit Tests
Integration Tests
End-to-End Tests
Other Testing Approaches
Conclusion

10. How to Use Terraform as a Team
Adopting IaC in Your Team
Convince Your Boss
Work Incrementally
Give Your Team the Time to Learn
A Workflow for Deploying Application Code
Use Version Control
Run the Code Locally
Make Code Changes
Submit Changes for Review
Run Automated Tests
Merge and Release
Deploy
A Workflow for Deploying Infrastructure Code
Use Version Control
Run the Code Locally
Make Code Changes
Submit Changes for Review
Run Automated Tests
Merge and Release
Deploy
Putting It All Together
Conclusion

A. Recommended Reading
Books
Blogs
Talks
Newsletters
Online Forums

About the Author

Managementboek Top 100

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Terraform - Up and Running