digital@thrayait.com +60162650525, +919043703606

Training Information

Cloud Automation Using Terraform & Python

We are pleased to offer a comprehensive suite of training solutions tailored to meet your needs. Our services encompass both online and offline corporate training options, ensuring flexibility and accessibility for your team's professional development.

Click Here for Enquiry Form

Course Content

Syllabus:

Cloud Automation Using Terraform & Python

Terraform with AWS

what is Infrastructure as Code (IaC)

• Ansible

• Chef

• Puppet

• Terraform

Terraform Setup

• Linux

• MacOS

• Windows

AWS account creation and AWS CLI setup

• AWS acoount creation and access setup

• AWS CLI configration for terraform AWS provider

Understanding AWS services

• EC2

• VPC (IGW, RouteTable, Subnet, SecurityGroup etc.,)

• S3

• Key

• IAM

• EBS

• AMI

• ELB

• AWS Block Storage

Azure Account creation and CLI setup/Configure

• Microsoft Azure Free Trail account. Azure Free trail

• Azure CLI setup and Configure. CLI setup and configure

Understanding Azure services

These Azure services below will be create using terraform. So we need to understand on how to handle the services in different scenarios manually and then autmate the process.

• Azure Virtual Machines

• VirtaulNetwork

• Azure Disk

• Azure Files

• Azure Containers Instances

• Azure Container Registry

• Aure Kubernetes Services (AKS)

• Azure Database for MySQL

• Azure LoadBalancer

Terraform basic commands and HCL syntax

terraform commands

terraform init

terraform validate

terraform plan

terraform apply

terraform destroy

terraform fmt/validate/workspace/state

terraform configuration language syntax

blocks

arguments

attributes

meta-arguments

identifiers

comments

terraform top-level blocks

provider block

resource block

input variable block

output value block

local value block

data source block

modules block

Terraform resources

• Resources Syntax and Behavior

• Resources Meta-Argument - depends_on

• Resources Meta-Argument - count

• Resources Meta-Argument - for_each

• Basics

• Assign When Prompted

• Override default with cli var

• Override with environment variables

• Assign with terraform.tfvars

• Assign with tfvars var-file argument

• Assign with auto tfvars

Terraform Values

• Output values

• Local values

Terraform datasources

• datasource arguments

• lifecycle

Terraform Backends

• Local State Storage

• Remote State Storage

• S3 bucket

Terraform Workspaces

Terraform Provisioners

• File Provisioner

• local-exec Provisioner

• remote-exec Provisioner

Terraform Modules

• Build Local Module

Python Introduction

• Python overview

• Usecases

• Why Python for AWS Intrastructure automation using Boto3

• AWS Console walk through

AWS Service Introduction

EC2

VPC

LB (ELB, ALB, NLB)

SG

ASG

IAM

EBS

AWS S3 Bucket

Setup and Configuration

• Install Python on Linux and Windows

• Python Virtual Environment

Python Data Types

• Variables

• Comments

• Data types

• Numbers

• Strings

• Booleans

• Operators

• Python Output formatting

Python Data Structures

• List

• Sets

• Tuples

• Dictionaries

• Arrays

Python Conditions

• if condition

• if .. else condition

• single statement condition

• nested condition

Python Loops

• Loops

for

while

neested

Loop Control Statements

break

continue

pass

Python Functions/Methods

Functional block

Functional arguments

Arbitrary arguments

Keywork arguments

Arbitrary keyword arguments

return statement

Python OOPs concepts

Objects

create

delete

modify

self parameter

Classes and Methods

init

del

Class and Instance variables

Constructors

default

parameterized

single, multiple, multilevel, hierarchical and hybrid inheritance

Polymorphism

Python Modules

• What are moduels?

• define modules and calling them

• Python Standard modules

• Packages and Intra-package references

Python I/O and Exceptions Handling

• Old and New string formats

• Methods of File Objects

AWS SDK for Python (Boto3)

• Understanding Boto3 SDK for AWS developed on Python

• API references

• Installing and Configure Boto3

• Code example for AWS services creation like EC2, VPC etc.,