• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 4 fuera de 499 páginas
Presentación

Modern DevOps Practices

Document preview thumbnail
Vista previa 4 fuera de 499 páginas

"Book Description DevOps and the cloud have changed how we look at software development and operations like never before, leading to the rapid growth of various DevOps tools, techniques, and practices. This updated edition helps you pick up the right tools by providing you with everything you need to get started with your DevOps journey. The book begins by introducing you to modern cloud-native architecture, and then teaches you about the architectural concepts needed to implement the modern way of application development. The next set of chapters helps you get familiarized with Git, Docker, Kubernetes, Ansible, Terraform, Packer, and other similar tools to enable you to build a base. As you advance, you’ll explore the core elements of cloud integration—AWS ECS, GKE, and other CaaS services. The chapters also discuss GitOps, continuous integration, and continuous delivery—GitHub actions, Jenkins, and Argo CD—to help you understand the essence of modern app delivery. Later, you’ll operate your container app in production using a service mesh and apply AI in DevOps. Throughout the book, you’ll discover best practices for automating and managing your development lifecycle, infrastructure, containers, and more. By the end of this DevOps book, you''''ll be well-equipped to develop and operate applications using modern tools and techniques. What you will learn Explore modern DevOps practices with Git and GitOps Master container fundamentals with Docker and Kubernetes Become well versed in AWS ECS, Google Cloud Run, and Knative Discover how to efficiently build and manage secure Docker images Understand continuous integration with Jenkins on Kubernetes and GitHub Actions Get to grips with using Argo CD for continuous deployment and delivery Manage immutable infrastructure on the cloud with Packer, Terraform, and Ansible Operate container applications in production using Istio and learn about AI in DevOps"

Vista previa del contenido

,Table of Contents
Preface
Section 1: Container Fundamentals and Best Practices
Chapter 1: The Move to Containers
The need for containers
The matrix of hell6
Virtual machines7
Containers8
It works on my machine9
Container architecture
Container networking11
Modern DevOps versus traditional DevOps
Containers and modern DevOps practices
Migrating from virtual machines to containers
Discovery17
Application requirement assessment 18
Container infrastructure design18
Containerizing the application19
Testing 19
Deployment and rollout20
What applications should go in containers?21
Breaking the applications into smaller pieces23
Are we there yet?
Summary
Questions
Answers
Chapter 2: Containerization with Docker
Technical requirements
Installing tools
Installing Git28
Installing vim29
Installing Docker
Introducing Docker storage drivers and volumes
Docker data storage options32
Mounting volumes33

,Docker storage drivers34
Configuring a storage driver35
Running your first container
Running containers from versioned images 37
Running Docker containers in the background38
Troubleshooting containers38
Putting it all together40
Restarting and removing containers42
Docker logging and logging drivers
Container log management43
Logging drivers43
Configuring logging drivers44
Typical challenges and best practices with Docker logging47
Docker monitoring with Prometheus
Challenges with container monitoring49
Installing Prometheus49
Configuring cAdvisor and the node exporter to expose metrics50
Configuring Prometheus to scrape metrics50
Launching a sample container application51
Metrics to monitor54
Declarative container management with Docker Compose
Installing Docker Compose56
Deploying a sample application with Docker Compose56
Creating the docker-compose file58
Docker Compose best practices61
Summary
Questions
Answers
Chapter 3: Creating and Managing Container Images
Technical requirements
Docker architecture
Understanding Docker images
The layered filesystem68
Image history69
Understanding Dockerfiles, components, and directives
Can we use ENTRYPOINT instead of CMD?72

, Are RUN and CMD the same?72
Building our first container73
Building and managing Docker images
Single-stage builds82
Multi-stage builds84
Managing Docker images86
Flattening Docker images91
Optimizing containers with distroless images
Performance93
Security94
Cost94
Understanding Docker registries
Hosting your private Docker registry97
Other public registries100
Summary
Questions
Answers
Chapter 4: Container Orchestration with Kubernetes – Part I
Technical requirements
What is Kubernetes and why do I need it?
Kubernetes architecture
Installing Kubernetes (Minikube and KinD)
Installing Minikube111
Installing KinD114
Understanding Kubernetes pods
Using port forwarding120
Troubleshooting pods121
Ensuring pod reliability124
Pod multi-container design patterns127
Summary
Questions
Answers
Chapter 5: Container Orchestration with Kubernetes – Part II
Technical requirements
Spinning up Google Kubernetes Engine152
Kubernetes Deployments

Información del documento

Subido en
18 de julio de 2024
Número de páginas
499
Escrito en
2017/2018
Tipo
Presentación
Personaje
Desconocido
$4.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
225
Última venta
-



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes