技术教育社区
www.teccses.org

Terraform构建与运行(第2版)(影印版)

封面

作者:YevgeniyBrikman

页数:339

出版社:东南大学出版社

出版日期:2020

ISBN:9787564188931

电子书格式:pdf/epub/txt

内容简介

Terraform已经成为DevOps领域中定义、启动和管理基础设施(IaC)的关键角色,这些基础设施横跨各种云计算和虚拟化平台,包括亚马逊AWS、谷歌云、微软Azure等等。在本书第二版,我们扩充了内容,并有效更新到了Terraform 0.12及以上版本,为你展示很快的启动和运行方式。

作者简介

叶夫根尼·布里克曼(Yevgeniy Brikman),是Gruntwork的联合创始人,这是一家提供Devops服务的公司。他曾是Linkedin、TripAdvisor、Cisco和Thomson Financial的软件工程师,著有《你好,创业公司》(Hello,Startup)一书。欲了解更多信息,请访问ybrikman.com。

目录

Preface
1.WhyTerraform
The Rise of DevOps
What Is Infrastructure as Code
Ad Hoc Scripts
Configuration Management Tools
Server Templating Tools
Orchestrat:ion Tools
Provisioning Tools
The Benefits of lnfrastructure 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
Master Versus Masterless
Agent Versus Agentless
Large Community Versus Small Community
Mature Versus Cutting Edge
Using Multiple Tools Together
Conclusion
2.GeRingStartedwithTerraform
Setting Up Your AWS Account
Install Terraform
Deploy a Single Server
Deploy a Single Web Server
Deploy a Configurable Wleb Server
Deploying a Cluster of Web Servers
Deploying a Load Balancer
Cleanup
Conclusion
3.HowtoManageTerraform 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 Tri(ks: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
Eventual Consistency Is Consistent…Eventually
Conclusion
6.Production-GradeTerraformCode
Why It Takas So Long to Build Production-Grade Infrastructure
The Production-Grade Infrastructure Checklist
Production-Grade Infrastructure Modules
Small Modules
Composable Modules
Testable Modulas
Releasable modules
Beyond Terraform Modules
Conclusion
7.HowtoTestTerraformCode
Manual Tests
Manual Testing Basics
CleaningUpAfterTests
Automated Tests
Unit Tests
Integration Tests
End-to-End Tests
Other Testing Approaches
Conclusion
8.HowtoUseTerraform asaTeam
AdoptingIaCinYourTeam
ConvinceYourBoss
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
Index

下载地址

立即下载

(解压密码:www.teccses.org)

Article Title:《Terraform构建与运行(第2版)(影印版)》
Article link:https://www.teccses.org/1156780.html