Automate AWS using Terraform

所在平台: Udemy

课程主页: https://www.udemy.com/course/hashicorp-terraform-associate-certifcation-preparation-guide/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:使用Terraform自动化AWS 概述:在本课程中,您将学习以下内容: 第一部分 - Terraform核心概念 步骤1:基础设施即代码 - 理解基础设施即代码的概念与优势 - 了解基础设施即代码是如何运作的及其类型 步骤2:Terraform实验环境所需工具 - 安装Terraform和Visual Studio Code - 设置AWS账户并安装相关扩展 步骤3:设置认证 步骤4:使用Terraform创建EC2实例 步骤5:理解Provider块 步骤6:理解资源块 - 资源在Terraform中的定义及写法 - 资源依赖性 步骤7:Terraform状态文件 - 理解状态文件及其重要性 步骤8:Provider架构与版本控制 - 理解Provider架构 - 写Terraform程序创建特定版本EC2实例 步骤9:Terraform属性 - 理解属性及如何在运行时访问资源属性 步骤10:Terraform输出 - 添加输出块及如何在运行时访问属性 步骤11:Terraform变量 - 理解变量的使用及其重要性 - 创建允许特定入站规则的安全组实例 步骤12:分配Terraform变量的方法 - 演示不同的变量分配方式 步骤13:Terraform中的数据类型 - 了解所有基本数据类型并完成相关练习 步骤14:自定义验证规则 - 创建只接受特定实例类型的验证规则 步骤15:计数与计数索引 - 演示如何使用计数创建多个IAM用户 步骤16:条件表达式 - 基于用户输入创建EC2实例 步骤17:Terraform局部变量 - 创建和应用标签 步骤18-33:Terraform函数、数据源、调试、格式验证、动态块、资源标记等的深入探讨。 第四部分 - 项目:站对站高可用VPN多云(AWS-AZURE) - 设置Azure与AWS环境并建立连接。 第五部分 - 模拟测试 此课程旨在帮助学生掌握Terraform的基本概念、实践操作以及多云环境下的应用,最终能够熟练使用Terraform管理AWS资源。

课程评论(0条)

课程详情

In this course you will learn following TopicsPART I - Terraform Core Concepts Step 1: Infrastructure As Code 1. Understand Infrastructure As Code 2. Understand Benefits of Infrastructure as Code 3. How Infrastructure as Code Works 4. Types of Infrastructure as Code Step 2: Required Tools For Terraform LAB Environment 1. Install Terraform 2. Install Visual Studio Code 3. Install Visual Studio Code Extension for terraform 4. Setup AWS Account Step 3: Setup Authentication Step 4: Create an EC2 instance Using Terraform Step 5: Understand Provider Block Step 6: Understand Resource Block Step 1: What is Resources in Terraform ? Step 2: Syntax To Write Resource Block Step 3: Resource Dependency Step 7: Terraform State File 1: What is Terraform State File ? 2: What is the Significance of tfstate file 3: How terraform statefile works ? Step 8: Provider Architecture And Versioning 1: Understand Provider Architecture 2: Provider Versioning Exercise 1) Write a terraform program to create an ec2-instance with provider version 3.0 provider Step 9: Terraform Attribute 1: Demo to understand Attribute 2: What is Attribute ? 3: How to Access Resources Attributes Exercise 1. Create an aws s3 bucket using terraform and understand the attribute block of tfstate file Step 10: Terraform Output 1: What is Output block 2 Demo: Add the terraform output block 3: How to Access Resources Attributes at run time Exercise 1. Create an aws s3 bucket using terraform and access the s3 attributes at runtime Step 11: Terraform Variables 1. What is Terraform Variables 2: Why to use variables in terraform 3: LAB: Demo Variable Usage Exercise Create a Security group using terraform and allow inbound rule of 443 and 80 port with same cidr block using variable Step 12: Ways To Assign Terraform Variables Demo To Understand Different Ways to Assign Variable 1. Variable Default Understand how to Pass Explicit Value to Variable Default. 2. Command Line Flag 3. Using terraform.tfvar Files 4. Environment Variable Exercise Write a program to create EC2 instance where each variable values will come from different ways of variable assignment. Step 13: Data Types In Terraform 1.Demo To Understand DataTypes in terraform 2. String 3. Number 4. List 5. Map Exercise Create an EC2 Instance of t3.micro which has latest linux Ubuntu image. Step 14 : Custom Validation Rule 1.Demo To Understand Custom Validation Rule 2. What is Custom Validation 3. How To Create Validation For Variable Exercise Create the validation rule for EC2 instance which only accept t2.nano instance type as input Step 15: Count And Count Index 1.Demo To Understand Count And Count Index 2. Use Case to understand Count and Count index Exercises Create 5 IAM User using Count and Count Index Concept Step 16: Conditional Expression 1.Demo To Understand Conditional Expression 2. Use Case to understand Conditional Expression Exercise Write a tf program where user will specify "STAGE" keyword then an EC2 instance of type "t2.medium" will be created. Step 17: Terraform Locals 1.Demo To Understand Terraform Locals 2. Use Case to understand Terraform Locals Exercise 1. Apply the Below tags to all the EC2 Instance which you have created in previous session. a. ProjectID b. ProjectName 2. ProjectTeam Step 18: Terraform Functions Step 19: Data Sources In Terraform Step 20: Debugging In Terraform Step 21: Terraform Format Step 22: Terraform Validate Step 23 : Load Order and Semantics Step 24: Dynamic Block Step 25 : Resource Tainting Step 26 : Splat Expression Step 27 : Save Terraform Plan To File Step 28: Ways To Retrieve Output Step 29: Terraform Setting Block Step 30 : Terraform Provisioners Overview Step 31: Terraform Module Overview Step 32 : Terraform Workspace Overview Step 33 : Remote State Management How to Collaborate Terraform Code Within Team Why it is required How to do it LAB Exercise 1. Setup the code repository for collaboration Terraform Code Collaboration Challenges What are the challenges How do we mitigate it Exercise 1. Configure Password in separate file and map it. Terraform Code Collaboration correct way Discuss the challenges again Solution for the issue LAB: Implement the solution to mitigate the collaboration challanges State File Locking What is State File Locking Challenges to keep State File in S3 How to mitigate the challenges to keep state File in S3 LAB: Let's Implement the solution State File Management Command What it is Why to use it Commands List list mv pull push rm show LAB: Lets do the Demo Terraform Import What it is ? Why to use it ? How To Use it LAB: Lets do the Demo Exercise 1. Create a Security Group Manually then write terraform code and use import utility to import the manual resource. Step 34: Understand Terraform Cloud and Enterprise capabilities What is terraform cloud Terrform Offerings LAB:Setup Terraform Cloud Step 1: Create the Terrform Free account Step 2: Create an Organization Step 3: Setup the version Control Signup for github verify the email Create a repository Setup the OAuth for application Step 4: Upload your project file to github Step 5: Create Workspace Step 6: Configure the Terraform Environment Variables Step 7: Use Queue Plan to Run Terraform PlanPART II - PROJECT SITE-TO-SITE HIGHLY AVALIABLE VPN MULTI-CLOUD (AWS-AZURE) Step 1 - Azure Setup Laying Out Azure Network One Resource Group One vNet A subnet for the virtual machines named subnet_1 and a subnet for the VPN tunnel with a mandatory name of GatewaySubnet Setup Azure Virtual Gateway Step 2 - AWS Setup Create VPC Create Subnet Internet Gateway Route Table & Route Step 3 - Establishing the Connection Step 4 - Test Multi-Cloud SetupPART III - MOCK TESTS

课程标签

0人关注该课程

主题相关的课程