舉報(bào)

會(huì)員
The DevOps 2.1 Toolkit:Docker Swarm
最新章節(jié):
About the author
Thisbookisforprofessionalsinterestedinthefullmicroserviceslifecyclecombinedwithcontinuousdeploymentandcontainers.Targetaudiencecouldbearchitectswhowanttoknowhowtodesigntheirsystemsaroundmicroservices.ItcouldbeDevOpswantingtoknowhowtoapplymodernconfigurationmanagementpracticesandcontinuouslydeployapplicationspackedincontainers.Itisfordeveloperswhowouldliketotaketheprocessbackintotheirhandsaswellasformanagerswhowouldliketogainabetterunderstandingoftheprocessusedtodeliversoftwarefromthebeginningtotheend.Thisbookisforeveryonewantingtoknowmoreaboutthesoftwaredevelopmentlifecyclestartingfromrequirementsanddesign,throughthedevelopmentandtestingallthewayuntildeploymentandpost-deploymentphases.We'llcreatetheprocessestakingintoaccountthebestpracticesdevelopedbyandforsomeofthebiggestcompanies.
最新章節(jié)
書(shū)友吧品牌:中圖公司
上架時(shí)間:2021-07-09 18:34:37
出版社:Packt Publishing
本書(shū)數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行
- About the author 更新時(shí)間:2021-07-09 21:04:07
- Conclusion
- Install dashboard
- Post configuration
- Configuration
- Getting started
- Docker Prometheus and Grafana
- Monitor Your GitHub Repos with Docker and Prometheus
- What now?
- Common ways to use secrets
- Using secrets with Docker Compose
- A real-world example of using secrets
- Consuming secrets
- Creating secrets
- Managing Secrets in Docker Swarm Clusters
- What now?
- Initializing MongoDB replica set through a swarm service
- Persisting MongoDB state
- Persisting docker flow proxy state
- Persisting stateful services with synchronization and replication
- Persisting stateful services without replication
- Adding REX-Ray to packer and terraform
- Choosing the persistence method for stateful services
- Persisting stateful services with REX-Ray
- Data volume orchestration
- Persisting stateful services on a Network File System
- Persisting stateful services on the host
- Running stateful services without data persistence
- Setting up a Swarm cluster and the proxy
- Exploring the twelve-factor app methodology
- Creating and Managing Stateful Services in a Swarm Cluster
- To DigitalOcean or not to DigitalOcean
- The final verdict
- To Terraform or not to Terraform?
- To Docker Machine or not to Docker Machine?
- Choosing the right tools to create and manage Swarm clusters in DigitalOcean
- Using Terraform to create a Swarm cluster in DigitalOcean
- Using Packer to create DigitalOcean snapshots
- Setting up a Swarm cluster with Packer and Terraform
- Setting up a Swarm cluster with Docker Machine and DigitalOcean API
- Setting up the environment variables
- Creating and Managing a Docker Swarm Cluster in DigitalOcean
- The final verdict
- To Terraform or not to Terraform?
- To Docker for AWS or not to Docker for AWS?
- To Docker Machine or not to Docker Machine?
- Choosing the right tools to create and manage Swarm clusters in AWS
- Using Terraform to create a Swarm cluster in AWS
- Using Packer to create Amazon Machine Images
- Setting up a Swarm cluster with Packer and Terraform
- Automatically setting up a Swarm cluster with Docker for AWS
- Setting up a Swarm cluster with Docker for AWS
- Setting up a Swarm cluster with Docker Machine and AWS CLI
- Installing AWS CLI and setting up the environment variables
- Creating and Managing a Docker Swarm Cluster in Amazon Web Services
- What now?
- Embracing Destruction: Pets versus Cattle
- What now?
- Monitoring best practices
- Adjusting services through dashboard metrics
- Exploring Docker Swarm and container overview dashboard in Grafana
- Using Grafana to create dashboards
- Scraping querying and visualizing Prometheus metrics
- Exporting system wide metrics
- Prometheus metrics
- Creating the cluster
- Choosing the right database to store system metrics
- The requirements of a cluster monitoring system
- Collecting Metrics and Monitoring the Cluster
- What now?
- Discussing other logging solutions
- Exploring logs
- Forwarding logs from all containers running anywhere inside a Swarm cluster
- Setting up LogStash as the logs parser and forwarder
- Setting up ElasticSearch as the logging database
- The need for centralized logging
- Defining Logging Strategy
- Cleanup
- To stack or not to stack
- Deploying more stacks
- Creating Swarm services through Docker stack commands
- Swarm cluster setup
- Using Docker Stack and Compose YAML Files to Deploy Swarm Services
- What now?
- Removing a service from the proxy
- Automatically reconfiguring the proxy
- Combining the Swarm listener with the proxy
- Using Docker Remote API to automate proxy configuration
- Operating Docker Swarm through the Docker Remote API
- Setting up the environment
- Exploring Docker Remote API
- What now?
- Defining Pipeline steps
- Defining Pipeline stages
- Defining Pipeline nodes
- Creating Jenkins Pipeline jobs
- Automating Continuous Deployment flow with Jenkins
- Creating services in production and production-like environments
- Jenkins agent
- Jenkins failover
- Jenkins service
- Production environment setup
- Jenkins architecture
- Automating Continuous Deployment Flow with Jenkins
- What now?
- Walking the extra mile from Continuous Delivery to Continuous Deployment
- Walking through Continuous Delivery steps
- Creating services
- Using node labels to constrain services
- Setting up Continuous Delivery clusters
- Defining the Continuous Delivery environment
- Continuous Delivery and Deployment with Docker Containers
- What now?
- Using service registry or key value store to store service state
- Discovering addresses of all instances that form a service
- Using service registry to store the state
- Problems when scaling stateful instances
- Setting up Consul as service registry inside a Swarm cluster
- Do we need service discovery?
- Service discovery in the Swarm cluster
- What does standalone Docker Swarm look like with service discovery?
- What would Docker Swarm look like without?
- Service Discovery inside a Swarm Cluster
- What now?
- Load balancing requests across all instances of a service
- Creating a reverse proxy service in charge of routing requests depending on their base URLs
- Running a service through a reverse proxy
- Running a database in isolation
- Requirements of secured and fault tolerant services running with high availability
- Setting up a cluster
- Docker Swarm Networking and Reverse Proxy
- What now?
- Failover
- Scaling services
- Deploying services to the Swarm cluster
- Setting up a Swarm cluster
- Docker Swarm Mode
- Clustering
- Z-axis scaling
- Y-axis scaling
- X-axis scaling
- Axis scaling
- Scalability
- Setting Up and Operating a Swarm Cluster
- Pushing images to the registry
- Running staging tests
- Building service images
- Running unit tests and building service binary
- Defining a fully Dockerized manual Continuous Integration flow
- Continuous Integration with Docker Containers
- Audience
- Overview
- Preface
- Customer Feedback
- Why subscribe?
- www.PacktPub.com
- About the Author
- Credits
- Title Page
- coverpage
- coverpage
- Title Page
- Credits
- About the Author
- www.PacktPub.com
- Why subscribe?
- Customer Feedback
- Preface
- Overview
- Audience
- Continuous Integration with Docker Containers
- Defining a fully Dockerized manual Continuous Integration flow
- Running unit tests and building service binary
- Building service images
- Running staging tests
- Pushing images to the registry
- Setting Up and Operating a Swarm Cluster
- Scalability
- Axis scaling
- X-axis scaling
- Y-axis scaling
- Z-axis scaling
- Clustering
- Docker Swarm Mode
- Setting up a Swarm cluster
- Deploying services to the Swarm cluster
- Scaling services
- Failover
- What now?
- Docker Swarm Networking and Reverse Proxy
- Setting up a cluster
- Requirements of secured and fault tolerant services running with high availability
- Running a database in isolation
- Running a service through a reverse proxy
- Creating a reverse proxy service in charge of routing requests depending on their base URLs
- Load balancing requests across all instances of a service
- What now?
- Service Discovery inside a Swarm Cluster
- What would Docker Swarm look like without?
- What does standalone Docker Swarm look like with service discovery?
- Service discovery in the Swarm cluster
- Do we need service discovery?
- Setting up Consul as service registry inside a Swarm cluster
- Problems when scaling stateful instances
- Using service registry to store the state
- Discovering addresses of all instances that form a service
- Using service registry or key value store to store service state
- What now?
- Continuous Delivery and Deployment with Docker Containers
- Defining the Continuous Delivery environment
- Setting up Continuous Delivery clusters
- Using node labels to constrain services
- Creating services
- Walking through Continuous Delivery steps
- Walking the extra mile from Continuous Delivery to Continuous Deployment
- What now?
- Automating Continuous Deployment Flow with Jenkins
- Jenkins architecture
- Production environment setup
- Jenkins service
- Jenkins failover
- Jenkins agent
- Creating services in production and production-like environments
- Automating Continuous Deployment flow with Jenkins
- Creating Jenkins Pipeline jobs
- Defining Pipeline nodes
- Defining Pipeline stages
- Defining Pipeline steps
- What now?
- Exploring Docker Remote API
- Setting up the environment
- Operating Docker Swarm through the Docker Remote API
- Using Docker Remote API to automate proxy configuration
- Combining the Swarm listener with the proxy
- Automatically reconfiguring the proxy
- Removing a service from the proxy
- What now?
- Using Docker Stack and Compose YAML Files to Deploy Swarm Services
- Swarm cluster setup
- Creating Swarm services through Docker stack commands
- Deploying more stacks
- To stack or not to stack
- Cleanup
- Defining Logging Strategy
- The need for centralized logging
- Setting up ElasticSearch as the logging database
- Setting up LogStash as the logs parser and forwarder
- Forwarding logs from all containers running anywhere inside a Swarm cluster
- Exploring logs
- Discussing other logging solutions
- What now?
- Collecting Metrics and Monitoring the Cluster
- The requirements of a cluster monitoring system
- Choosing the right database to store system metrics
- Creating the cluster
- Prometheus metrics
- Exporting system wide metrics
- Scraping querying and visualizing Prometheus metrics
- Using Grafana to create dashboards
- Exploring Docker Swarm and container overview dashboard in Grafana
- Adjusting services through dashboard metrics
- Monitoring best practices
- What now?
- Embracing Destruction: Pets versus Cattle
- What now?
- Creating and Managing a Docker Swarm Cluster in Amazon Web Services
- Installing AWS CLI and setting up the environment variables
- Setting up a Swarm cluster with Docker Machine and AWS CLI
- Setting up a Swarm cluster with Docker for AWS
- Automatically setting up a Swarm cluster with Docker for AWS
- Setting up a Swarm cluster with Packer and Terraform
- Using Packer to create Amazon Machine Images
- Using Terraform to create a Swarm cluster in AWS
- Choosing the right tools to create and manage Swarm clusters in AWS
- To Docker Machine or not to Docker Machine?
- To Docker for AWS or not to Docker for AWS?
- To Terraform or not to Terraform?
- The final verdict
- Creating and Managing a Docker Swarm Cluster in DigitalOcean
- Setting up the environment variables
- Setting up a Swarm cluster with Docker Machine and DigitalOcean API
- Setting up a Swarm cluster with Packer and Terraform
- Using Packer to create DigitalOcean snapshots
- Using Terraform to create a Swarm cluster in DigitalOcean
- Choosing the right tools to create and manage Swarm clusters in DigitalOcean
- To Docker Machine or not to Docker Machine?
- To Terraform or not to Terraform?
- The final verdict
- To DigitalOcean or not to DigitalOcean
- Creating and Managing Stateful Services in a Swarm Cluster
- Exploring the twelve-factor app methodology
- Setting up a Swarm cluster and the proxy
- Running stateful services without data persistence
- Persisting stateful services on the host
- Persisting stateful services on a Network File System
- Data volume orchestration
- Persisting stateful services with REX-Ray
- Choosing the persistence method for stateful services
- Adding REX-Ray to packer and terraform
- Persisting stateful services without replication
- Persisting stateful services with synchronization and replication
- Persisting docker flow proxy state
- Persisting MongoDB state
- Initializing MongoDB replica set through a swarm service
- What now?
- Managing Secrets in Docker Swarm Clusters
- Creating secrets
- Consuming secrets
- A real-world example of using secrets
- Using secrets with Docker Compose
- Common ways to use secrets
- What now?
- Monitor Your GitHub Repos with Docker and Prometheus
- Docker Prometheus and Grafana
- Getting started
- Configuration
- Post configuration
- Install dashboard
- Conclusion
- About the author 更新時(shí)間:2021-07-09 21:04:07