Deployment with Docker Apply continuous integration models deploy applications quicker and scale at large by putting Docker to work 1st Edition by Srdjan Grubor – Ebook PDF Instant Download/Delivery: 1786469006, 9781786469007
Full download Deployment with Docker Apply continuous integration models deploy applications quicker and scale at large by putting Docker to work 1st Edition after payment
Product details:
ISBN 10: 1786469006
ISBN 13: 9781786469007
Author: Srdjan Grubor
developing large-scale infrastructures, and the documentation available online leaves a lot to be desired. With this book, you will learn everything you wanted to know to effectively scale your deployments globally and build a resilient, scalable, and containerized cloud platform for your own use.
The book starts by introducing you to the containerization ecosystem with some concrete and easy-to-digest examples; after that, you will delve into examples of launching multiple instances of the same container. From there, you will cover orchestration, multi-node setups, volumes, and almost every relevant component of this new approach to deploying services. Using intertwined approaches, the book will cover battle-tested tooling, or issues likely to be encountered in real-world scenarios, in detail. You will also learn about the other supporting components required for a true PaaS deployment and discover common options to tie the whole infrastructure together.
At the end of the book, you learn to build a small, but functional, PaaS (to appreciate the power of the containerized service approach) and continue to explore real-world approaches to implementing even larger global-scale services.
Deployment with Docker Apply continuous integration models deploy applications quicker and scale at large by putting Docker to work 1st Table of contents:
System-level virtualization
Desktop application-level virtualizations
When should containerization be considered?
The ideal Docker deployment
The container mindset
The developer workflow
Summary
Rolling Up the Sleeves
Installing Docker
Debugging containers
Seeing what the container sees
Our first Dockerfile
Breaking the cache
A container more practical
Extending another container with FROM
Ensuring the latest patches are included
Applying our custom NGINX configuration
Building and running
Service from scratch
Labels
Setting environment variables with ENV
Exposing ports
Container security layering with limited users
VOLUMEs and data that lives outside of the container
Setting the working directory
Adding files from the internet
Changing the current user
Putting it all together
Summary
Service Decomposition
A quick review
Docker commands
Dockerfile commands
Writing a real service
An overview
What we are going to build
The implementation
Web server
Authentication
The database
The application server
The main application logic
Running it all together
Launching
Testing
Limitations and issues with our implementation
Fixing the critical issues
Using a local volume
Generating the credentials at runtime
Introducing Docker networking
Summary
Scaling the Containers
Service discovery
A recap of Docker networking
Service Discovery in depth
Client-side discovery pattern
Server-side discovery pattern
Hybrid systems
Picking the (un)available options
Container orchestration
State reconciliation
Docker Swarm
Kubernetes
Apache Mesos/Marathon
Cloud-based offerings
Implementing orchestration
Setting up a Docker Swarm cluster
Initializing a Docker Swarm cluster
Deploying services
Cleaning up
Using Swarm to orchestrate our words service
The application server
index.js
The web server
Database
Deploying it all
The Docker stack
Clean up
Summary
Keeping the Data Persistent
Docker image internals
How images are layered
Persisting the writable CoW layer(s)
Running your own image registry
Underlying storage driver
aufs
btrfs / zfs
overlay and overlay2
devicemapper
Cleanup of Docker storage
Manual cleanup
Automatic cleanup
Persistent storage
Node-local storage
Bind mounts
Read-only bind mounts
Named volumes
Relocatable volumes
Relocatable volume sync loss
UID/GID and security considerations with volumes
Summary
Advanced Deployment Topics
Advanced debugging
Attaching to a container’s process space
Debugging the Docker daemon
Advanced networking
Static host configuration
DNS configuration
Overlay networks
Docker built-in network mappings
Docker communication ports
High availability pipelines
Container messaging
Implementing our own messaging queue
package.json
index.js
Dockerfile
Advanced security
Mounting the Docker socket into the container
Host security scans
Read-only containers
Base system (package) updates
Privileged mode versus –cap-add and –cap-drop
Summary
The Limits of Scaling and the Workarounds
Limiting service resources
RAM limits
CPU limits
Pitfall avoidance
ulimits
Max file descriptors
Socket buffers
Ephemeral ports
Netfilter tweaks
Multi-service containers
Zero-downtime deployments
Rolling service restarts
Blue-green deployments
Blue-turquoise-green deployments
Summary
Building Our Own Platform
Configuration management
Ansible
Installation
Basics
Usage
Amazon Web Services setup
Creating an account
Getting API keys
Using the API keys
HashiCorp Packer
Installation
Usage
Choosing the right AMI base image
Building the AMI
Deployments to AWS
The road to automated infrastructure deployment
Running the deployment and tear-down playbooks
Continuous integration/Continuous delivery
Resource considerations
First-deploy circular dependency
Further generic CI/CD uses
Summary
Exploring the Largest-Scale Deployments
Maintaining quorums
Node automation
Reactive auto-scaling
Predictive auto-scaling
Monitoring
Evaluating next-gen technologies
Technological needs
Popularity
A team’s technical competency
People also search for Deployment with Docker Apply continuous integration models deploy applications quicker and scale at large by putting Docker to work 1st:
nextjs deployment with docker
laravel deployment with docker
model deployment with docker
blue green deployment with docker swarm
zero downtime deployment with docker swarm
Tags: Srdjan Grubor, Docker, putting Docker



