《Terraform实战》封面

Terraform实战

Terraform : Up & Running

Yevgeniy Brikman · 初版 2017 年

2人推荐
3位读者提及
3次提及

Terraform 已成为 DevOps 领域的一大核心工具,用于在包括 AWS、Google Cloud 和 Azure 在内的各类云及虚拟化平台上以基础设施即代码(IAC)的方式进行定义、启动与管理。这本注重实战的图书是快速上手并精通 Terraform 的绝佳途径。Gruntwork 联合创始人 Yevgeniy (Jim) Brikman 通过数十个代码示例,带你逐步领略如何利用 Terraform 简洁直观的声明式编程语言,仅凭寥寥几条命令便实现基础设施的部署与管理。无论你是初涉此道的开发者、有志成为 DevOps 的工程师,还是资深的

Hacker News 上怎么说

  • 我给客户写过类似的代码(有一次还专门为一个“通用后端”模块执行了从裸机+shell 脚本迁移到 EKS 的过程),但出于某些倒霉又显而易见的原因,我一份也不能公开发布。不过仅供参考,我认为 IaC 本身就免不了大量的 copy-pasta(复制粘贴),有时你最好的抽象也只不过是把 copy-pasta 从实现代码转移到了调用处,这往往会……

    I've written code like that for clients (and specifically executed a transition from bare metal+shell scripts to EKS for a "generic backend" module once), but I can't publish any of it for unfortunate obvious reasons. But FWIW I think it's inherent to IaC to involve a lot of copy-pasta, sometimes your best abstraction will just lead to shifting the copy-pasta from code to call-sites, which tends t

  • ……manifests 而不是 terraform 文件(kubectl provider 能帮我们做到这点)* 把 flux 管理委托给 flux-cli * 自动解封 Vault 以捕获并保护 vault token。然后是一份推荐阅读清单:* 《Terraform: Up & Running》* 《Building Microservices》* 《Site Reliability Engineering》。这份清单更偏战术层面,因为系统不是我们搭建的,我们当时只是在对他们现有的架构做审计。

    …manifests and not terraform files (kubectl provider gives us this) * Delegate flux management to flux-cli * Auto-unseal Vault to capture and protect the vault token Then a list of recommended reading: * Terraform Up and Running * Building Microservices * Site Reliability Engineering This list is more tactical since we didn't build the system, we were auditing their current setup.

  • > 他拿了我那本《Terraform: Up & Running》的 PDF,上传到了一个 GenAI 工具里,然后让工具按照书里的指导生成 Terraform 代码 这太荒谬了——AI 根本不需要被喂一本 Terraform 的书才能学会怎么写 Terraform。塞爆 context,扔进去几百页 OCR 出来的通用教程文本根本没有任何帮助。 带来……的模型

    > he took a PDF of my book Terraform: Up & Running, uploaded it into a GenAI tool, and asked the tool to follow the guidance in the book to generate Terraform code This is ridiculous - AI doesn't need to be fed a PDF of a Terraform book to know how to Terraform. Blowing out context with hundreds of OCR'd pages of generic text on how to terraform isn't going to help anything. The model that is br

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助