Ansible for DevOps: Server and configuration management for humans

By Jeff Geerling

Covers Ansible 2.0! 

Ansible is a straightforward, yet robust, server and configuration administration instrument (with a couple of different tips up its sleeve). This e-book is helping these acquainted with the command line and simple shell scripting commence utilizing Ansible to provision and deal with at any place from one to millions of servers. 

The e-book starts with basics, like fitting Ansible, establishing a uncomplicated stock dossier, and easy innovations, then courses you thru Ansible's many makes use of, together with ad-hoc instructions, easy and complex playbooks, program deployments, multiple-provider server provisioning, or even Docker orchestration! every thing is defined with pertinent real-world examples, usually utilizing Vagrant-managed digital machines.

Show description

Preview of Ansible for DevOps: Server and configuration management for humans PDF

Best Technology books

Effective Ruby: 48 Specific Ways to Write Better Ruby (Effective Software Development Series)

If you’re an skilled Ruby programmer, powerful Ruby may also help you harness Ruby’s complete strength to jot down extra powerful, effective, maintainable, and well-performing code. Drawing on approximately a decade of Ruby event, Peter J. Jones brings jointly forty eight Ruby top practices, professional tips, and shortcuts—all supported through lifelike code examples.

The Singularity Is Near: When Humans Transcend Biology

For over 3 a long time, Ray Kurzweil has been probably the most revered and provocative advocates of the function of expertise in our destiny. In his vintage The Age of religious Machines, he argued that pcs might quickly rival the whole variety of human intelligence at its most sensible. Now he examines your next step during this inexorable evolutionary technique: the union of human and computer, during which the data and talents embedded in our brains might be mixed with the greatly larger potential, velocity, and knowledge-sharing skill of our creations.

Return From the Stars

Hal Bregg is an astronaut who returns from an area project within which merely 10 organic years have handed for him, whereas 127 years have elapsed on the earth. He reveals that the Earth has replaced past popularity, jam-packed with people who've been medically neutralized. How does an astronaut sign up for a civilization that shuns chance?

The Shock of the Old: Technology and Global History since 1900

From the books of H. G. Wells to the clicking releases of NASA, we're awash in clichéd claims approximately excessive technology's skill to alter the process heritage. Now, within the surprise of the previous, David Edgerton deals a startling new and clean frame of mind in regards to the background of know-how, extensively revising our rules concerning the interplay of expertise and society some time past and within the current.

Additional info for Ansible for DevOps: Server and configuration management for humans

Show sample text content

Operating Ansible playbooks in the community . . . . . . . . . . . . . Automating Homebrew package deal and app administration . . Configuring Mac OS X via dotfiles . . . . . . . . . . . precis . . . . . . . . . . . . . . . . . . . . . . . . . . . Docker-based Infrastructure with Ansible . . . . . . . . . . . a short creation to Docker boxes . . . . . . . . . . utilizing Ansible to construct and deal with bins . . . . . . . construction a Flask app with Ansible and Docker . . . . . . . info garage box . . . . . . . . . . . . . . . . Flask box . . . . . . . . . . . . . . . . . . . . MySQL box . . . . . . . . . . . . . . . . . . . send it! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . precis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 hundred 205 211 212 213 218 224 225 226 227 234 234 235 235 237 239 239 240 242 244 249 250 255 258 259 bankruptcy nine - Deployments with Ansible . . . . . . . . . . . . . . Deployment recommendations . . . . . . . . . . . . . . . . . . . . . . basic single-server deployments . . . . . . . . . . . . . . . . Provisioning a Ruby on Rails server . . . . . . . . . . . . . Deploying a Rails app to the server . . . . . . . . . . . . . Provisioning and Deploying the Rails App . . . . . . . . . Deploying software updates . . . . . . . . . . . . . . . . Zero-downtime multi-server deployments . . . . . . . . . . . making sure 0 downtime with serial and integration checks Deploying to app servers at the back of a load balancer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 260 261 262 265 270 272 275 284 286 CONTENTS Capistrano-style and blue-green deployments . . . . . . . . . . . . . . . extra Deployment beneficial properties . . . . . . . . . . . . . . . . . . . . . . precis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 295 296 bankruptcy 10 - Server defense and Ansible . . . . . . . . . . . . . . . . . . . a quick background of SSH and distant entry . . . . . . . . . . . . . . . . . . Telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . rlogin, rsh and rcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . SSH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The evolution of SSH and the way forward for distant entry . . . . . . . . . Use safe and encrypted conversation . . . . . . . . . . . . . . . . . Disable root login and use sudo . . . . . . . . . . . . . . . . . . . . . . . eliminate unused software program, open in basic terms required ports . . . . . . . . . . . . Use the main of least privilege . . . . . . . . . . . . . . . . . . . . . person account configuration . . . . . . . . . . . . . . . . . . . . . . . dossier permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . replace the OS and put in software program . . . . . . . . . . . . . . . . . . . . Automating updates . . . . . . . . . . . . . . . . . . . . . . . . . . . Automating updates for RedHat-based platforms . . . . . . . . . . . . . Automating updates for Debian-based structures . . . . . . . . . . . . . Use a properly-configured firewall . . . . . . . . . . . . . . . . . . . . . Configuring a firewall with ufw on Debian or Ubuntu . . . . . . . . . Configuring a firewall with firewalld on RedHat, Fedora, or CentOS be sure log documents are populated and turned around . . . . . . . . . . . . . . . video display logins and block suspect IP addresses . . . . . . . . . . . . . . . Use SELinux (Security-Enhanced Linux) or AppArmor . . . . . . . . . . precis and extra analyzing . . . . . . . . . . . . . . . . . . . . . . . . 298 299 299 three hundred 301 303 304 306 308 308 309 309 311 312 312 312 314 314 316 317 319 320 321 bankruptcy eleven - Automating Your Automation - Ansible Tower and CI/CD Ansible Tower .

Download PDF sample

Rated 4.91 of 5 – based on 36 votes