This tutorial is intended to show what the Infrastructure as Code (IaC) is, why we need it, and how it can help you manage your infrastructure more efficiently.
It is practice-based, meaning I don't give much theory on what Infrastructure as Code is in the beginning of the tutorial, but instead let you feel it through the practice first. At the end of the tutorial, I summarize some of the key points about Infrastructure as Code based on what you learn through the labs.
This tutorial is not meant to give a complete guide on how to use a specific tool like Ansible or Terraform, instead it focuses on how these tools work in general and what problems they solve.
The tutorial was inspired by Kubernetes the Hard Way tutorial. I used it as an example to structure this one.
See my presentation at DevOpsDays Silicon Valley in which I talk more in depth about the tutorial.
This tutorial was created in 2018 and wasn't being kept up to date. Therefore, some of the instructions may not work due to updated APIs, obsolete repositories, etc. I apologize for that, but I currently don't have time to update this tutorial. So if you find that something is broken and you find a fix, please submit a PR.
When submitting a PR, make sure you include a description for it, i.e. what's broken and a test plan for the fix.
Also, note that some of things need to be updated in several different repositories at the same time. Main repositories used in this tutorial:
The target audience for this tutorial is anyone who loves or/and works in IT.
By the end of this tutorial, you'll make your own repository looking like this one.
NOTE: you can use this example repository in case you get stuck in some of the labs.
This tutorial assumes you have access to the Google Cloud Platform. While GCP is used for basic infrastructure requirements the lessons learned in this tutorial can be applied to other platforms.
Infrastructure as Code Talk This repo contains the sample code for the talk Infrastructure-as-code: running microservices on AWS with Docker,Terraform, and ECS.It includes a couple sample Dockerized m
Code as Policies 是一种以机器人为中心的语言模型生成的程序在物理系统上执行的表述。CaP 扩展了 PaLM-SayCan,使语言模型能够通过通用 Python 代码的完整表达来完成更复杂的机器人任务。通过 CaP,Google 建议使用语言模型,通过少量的提示来直接编写机器人代码。实验证明,与直接学习机器人任务和输出自然语言动作相比,CaP 输出代码表现更好。CaP 允许单一系统执
Microservices infrastructure 是一个为快速部署全球分布式服务的现代平台。 基础平台包括可以用来管理集群和资源节点数量的控制节点。容器可以自动在 DNS 上注册,从而使其他服务能够定位到它们 一旦 WAN 配置好了,每个集群可以通过 DNS 或者 Consul API 在其他数据中心定位服务。 平台架构: 单数据中心: 多数据中心: 控制节点: 资源节点: Core Co
Infrastructure模式 经由无线基地台(access point),让PSP™主机与网络联机的模式。与网络联机前,需先新建网络联机。 准备必需的物品 新建网络联机 - 标准设置 - 进阶设定 使用公众无线LAN服务 将移动电话等Bluetooth®(蓝牙)装置当作调制解调器使用 选项选单 测试联机 机器认证
VMware Infrastructure (vSphere) Java API 提供了一个全功能的Java 类库用来控制和管理 VMware 虚拟机和服务器的。2.0 版本包含一个高性能的Web服务。
问题内容: 在升级到Swift 1.2之前,我可以编写以下行: 现在它迫使我写这一行: 我的问题是,如果我被迫如上所述编写代码,难道我不能只编写下面的代码,它会做同样的事情吗?在imageDetails的所有值中都可以得到相同的结果吗? 问题答案: as关键字用于进行上下转换: 从派生类到基类的转换可以在编译时检查,并且永远不会失败。 但是,向下转换可能会失败,因为您无法始终确定特定的类别。如果您