|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/deploy-infra-in-the-cloud-using-terraform/
课程评论:没有评论
**课程概述:** 本课程旨在教授学员如何使用Terraform这一行业标准工具来部署云基础设施和本地基础设施。课程将带领学员深入了解Terraform的核心命令(init, plan, apply, destroy),并探索其高级功能,包括输入输出参数、执行计划和远程后端状态管理。学员将学习编写Terraform模板,以部署各种资源,如Web应用、SQL数据库、虚拟机、存储以及Kubernetes集群等。 此外,课程还涵盖了如何利用Azure DevOps和GitHub Actions来创建DevOps CI/CD管道,实现多环境(开发、测试、生产)的自动化部署。学员还将学习如何通过Atlantis实现Terraform的GitOps。在整个学习过程中,课程将同步讲解在安全性、配置和可伸缩性方面的最佳实践。 **课程内容亮点:** * **Terraform基础:** 深入理解init, plan, apply, destroy等核心命令。 * **模板编写:** 学习创建和部署Terraform模板,包括资源组、Web应用、SQL数据库、VM(Linux/Windows)、AKS集群等。 * **变量与状态管理:** 掌握输入/输出变量、变量文件(.tfvars)、命令行覆盖变量以及远程后端状态。 * **执行计划:** 了解Terraform的执行计划机制。 * **DevOps集成:** 使用Azure DevOps和GitHub Actions构建CI/CD管道。 * **GitOps实践:** 实现Terraform的GitOps,通过Atlantis进行自动化部署。 * **Terraform进阶特性:** 探索Terraform函数(for\_each, for, count, if/else, random等)。 * **最佳实践:** 学习安全性、配置和可伸缩性方面的最佳实践。 * **多云与生态:** 概述多云部署(AWS, GCP),并介绍Terraform与其他工具(Ansible, Pulumi, ARM, CloudFormation)的对比,以及与Kubernetes、Helm、Docker、GIT等相关的Terraform Provider。 **学习目标:** 通过本课程的学习,学员将能够独立使用Terraform高效、安全地部署和管理云基础设施。 **所需环境:** * Terraform * Azure订阅 * Azure CLI * VS Code及Terraform插件 * 任何操作系统
Terraform is becoming the standard when it comes to deploying infrastructure into the cloud or on premise.In this course you will learn how to create and deploy Terraform templates.We will work with the different Terraform commands like init, plan, apply and destroy.We'll explore terraform features like input and output parameters, the execution plan and the remote backend state.We'll write templates for Web Apps, SQL Database, VMs, Storage, Kubernetes clusters and many more.We'll create the DevOps CI/CD pipelines using Azure DevOps and Github Actions to deploy into multiple environments: dev, test and prod.Then we'll implement GitOps for Terraform using Atlantis.Along all these demonstrations you'll also learn the Best practices in terms of security, configuration and scalability.I hope you are ready and excited for this journey!Bring a coffee and lets get started.Current plan:IntroIntro to Terraform (Init, Plan, Apply, Delete)Requirements (Terraform, Azure subscription, Azure CLI, VS Code+TF plugin, any OS)ResourceGroupDeploying Resource Group into AzurePay Attention to Resource RecreationValidate and Format TemplatesWebAppDeploying Web AppAdding Variables FileCreating Variables in.tfvars FilesOverriding Variables in the command lineCreating Output VariablesExecution PlanOverview of Terraform PlanDemoTF_StateWorking with Remote Backend StateInfra DeploymentsDeploying SQL Server with a DatabaseDeploying and configuring Web App and SQL ServerDeploying Linux VMDeploying Windows VM with Azure BastionDeploying AKS clusterDeploying AKS with Managed Identity and ACRTerraform featuresFunctions (for each, for, count, if/else, random, lower, upper, min, max…)DevOps with TerraformDeploy Terraform templates using Azure DevOpsConfiguring the CI/CD pipelinesUpcoming lectures:Data SourceWorkspaces/EnvironmentsTesting TF with TerratestMulticloudDeploy to AWS and GCPGitOps with TF (Atlantis…)TF with ARMTF competitors: Ansible, Pulumi, ARM, Cloud FormationTF Providers for Kubernetes, Helm, Docker, GIT…