01-Introduction to DevOps
-Infrastructure as Code with Terraform
Download 23.88 Kb.
|
DevOps Road map
- Bu sahifa navigatsiya:
- 13 Programming with Python
- 14-Automation with Python
12-Infrastructure as Code with Terraform
• What is Terraform? How it works • Architecture • Providers • Resources & Data Sources • Variables & Output Values • Environment variables in Terraform • Terraform commands • Terraform State • Provisioners • Modules • Remote State Terraform & AWS • Create Security Group • Create VPC • Create Subnet • Create Route Table • Create Internet Gateway • Create key-pair • Provision EC2 server • Modularize the demo project Terraform & AWS & Kubernetes • Use existing modules from Terraform Registry • Create VPC • Provision EKS cluster Terraform & AWS & Jenkins - complete CI/CD • Configure Terraform in Jenkins • Automate provisioning EC2 instance from Jenkins pipeline and deploy the application with docker-compose • Terraform Best Practices 13 Programming with Python • Introduction to Python: What is Python and why to learn Python as a DevOps engineer? • Installation and Setup Local Development Environment • Write our first Python program • Python IDE vs simple File Editor • Strings and Number Data Types • Variables • Encapsulate Logic with Functions • Accepting User Input • Conditionals (if / else) and Boolean Data Type • Error Handling with Try / Except • While Loops • Lists and For Loops • Comments in Python • Sets • Built-In Functions • Dictionary Data Type • Modularize your project with Modules • Project: Countdown App • Packages, PyPI and pip • Project: Automation with Python (Working with Spreadsheets) • Object Oriented Programming: Classes and Objects • Project: API Request to GitLab 14-Automation with Python After having learnt the programming basics and now being able to write programs, you will learn how to use this Python knowledge for DevOps use cases. Cloud Automation - AWS & Python • Introduction to Boto (AWS Library for Python) • Install Boto3 and connect to AWS • Getting familiar with Boto Library • Automate creating VPC and Subnets • Terraform vs Python - understand the differences and when to use which tool Automation Tasks around EC2 Instance: • Health Check: Automatically check the status of EC2 Instances • Scheduler: Write a scheduled task that executes the status check in a specified interval automatically • Configure Server: Automate adding tags to EC2 Instances with the environment label • Automate getting cluster information from all EKS clusters in your AWS account Automation Tasks around Data Backup & Restore • Backup EC2 Instances: Automate creating snapshots of EC2 Volumes • Cleanup Task: Write a cleanup script to automate cleanup of old EC2 snapshots • Restore EC2 Volume: Write a program to restore an EC2 volume with the backup snapshot and attach it to the EC2 Instance Automation Tasks around Website Monitoring (without AWS) • Monitoring: Write a scheduled automation program that monitors the website's health • E-Mail Notification: Configure python program to automatically send an email every time the website or server is down • Recover: Restart the application and reboot the underlying remote server Download 23.88 Kb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling