本篇主要提供Terraform构建与运行电子书的pdf版本下载,本电子书下载方式为百度网盘方式,点击以上按钮下单完成后即会通过邮件和网页的方式发货,有问题请联系邮箱ebook666@outlook.com
Terraform已经成为
Devops领域中跨各种云
计算和虚拟化平台,包括
AWS、Google Cloud、
Azure等,定义、启动和
管理基础设施即代码(laC)
的关键角色。在这本实用
的第2版中,编者们扩充
了内容并 新到了
Terraform 0.12及以上版
本,为你展示 快的构建
和运行方式。
Gruntwork公司的联合
创始人Yevgeniy
(Jim)Brikman将用代码示
例为你演示Terraform的
简单声明式编程语言,通
过一些命令部署和管理基
础设施。无论是经验丰富
的系统管理员、Devops
工程师还是新手开发人员
,都能很快地将
Terraform从基础提升到
能运行一个支持海量流量
和庞大开发团队的完整技
术栈(full stack)。
·探索从Terraform 0.
9到Terraform 0.12的变
化,包括后端、工作区和
一级表达式(first-class
expressions)
·学习如何编写生产级
的Terraform模块
·深入研究Terraform
代码的手动和自动测试
·对ELTerraform与
Chef、Puppet、Ansible、
CloudFormation和Salt
Stack的差异
·部署服务器集群、负
载均衡器和数据库
·使用Terraform管理
基础设施的状态
·使用Terraform模块
创建可重用的基础设施
·使用 Terraform
语法实现不停机部署
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