• Mauvais document ? Échangez-le gratuitement
  • Rédigé par des étudiants ayant réussi
  • Disponible immédiatement après paiement
  • Lire en ligne ou en PDF
Vendre
Où étudie-tu ?
La langue
Document preview thumbnail
Aperçu 4 sur 185 pages
Presentation

Hands-On Python for DevOps

Document preview thumbnail
Aperçu 4 sur 185 pages

"Python stands out as a powerhouse in DevOps, boasting unparalleled libraries and support, which makes it the preferred programming language for problem solvers worldwide. This book will help you understand the true flexibility of Python, demonstrating how it can be integrated into incredibly useful DevOps workflows and workloads, through practical examples. You'll start by understanding the symbiotic relation between Python and DevOps philosophies and then explore the applications of Python for provisioning and manipulating VMs and other cloud resources to facilitate DevOps activities. With illustrated examples, you’ll become familiar with automating DevOps tasks and learn where and how Python can be used to enhance CI/CD pipelines. Further, the book highlights Python’s role in the Infrastructure as Code (IaC) process development, including its connections with tools like Ansible, SaltStack, and Terraform. The concluding chapters cover advanced concepts such as MLOps, DataOps, and Python’s integration with generative AI, offering a glimpse into the areas of monitoring, logging, Kubernetes, and more. By the end of this book, you’ll know how to leverage Python in your DevOps-based workloads to make your life easier and save time."

Aperçu du contenu

,Table of Contents
Preface
Part 1: Introduction to DevOps and role of Python in DevOps
1
Introducing DevOps Principles
Exploring automation

Automation and how it relates to the world

How automation evolves from the perspective of an operations engineer

Understanding logging and monitoring

Logging

Monitoring

Alerts

Incident and event response

How to respond to an incident (in life and DevOps)

Site reliability engineering

Incident response teams

Post-mortems

Understanding high availability

SLIs, SLOs, and SLAs

RTOs and RPOs

Error budgets

,How to automate for high availability?

Delving into infrastructure as a code

Pseudocode

Summary

2
Talking about Python
Python 101

Beautiful-ugly/explicit-implicit

Simple-complex-complicated

Flat-nested/sparse-dense

Readability-special cases-practicality-purity-errors

Ambiguity/one way/Dutch

Now or never

Hard-bad/easy-good

Namespaces

What Python offers DevOps

Operating systems

Containerization

Microservices

A couple of simple DevOps tasks in Python

Automated shutdown of a server

Autopull a list of Docker images

, Summary

3
The Simplest Ways to Start Using DevOps in Python
Immediately
Technical requirements

Introducing API calls

Exercise 1 – calling a Hugging Face Transformer API

Exercise 2 – creating and releasing an API for consumption

Networking

Exercise 1 – using Scapy to sniff packets and visualize packet size over time

Exercise 2 – generating a routing table for your device

Summary

4
Provisioning Resources
Technical requirements

Python SDKs (and why everyone uses them)

Creating an AWS EC2 instance with Python’s boto3 library

Scaling and autoscaling

Manual scaling with Python

Autoscaling with Python based on a trigger

Containers and where Python fits in with containers

Simplifying Docker administration with Python

Infos sur le Document

Publié le
9 août 2024
Nombre de pages
185
Écrit en
2017/2018
Type
Presentation
Personne
Inconnu
$5.49

Mauvais document ? Échangez-le gratuitement Dans les 14 jours suivant votre achat et avant le téléchargement, vous pouvez choisir un autre document. Vous pouvez simplement dépenser le montant à nouveau.
Rédigé par des étudiants ayant réussi
Disponible immédiatement après paiement
Lire en ligne ou en PDF

Vendu
0
Abonnés
0
Éléments
225
Dernière vente
-



Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Vous travaillez sur vos références ?

Créez des citations précises en APA, MLA et Harvard avec notre générateur de sources gratuit.

Vous travaillez sur vos références ?

Foire aux questions