Ansible for DevOps

Server and Configuration Management for Humans

Author: Jeff Geerling

Publisher: N.A

ISBN: 9780986393419

Category:

Page: 327

View: 4133

DOWNLOAD NOW »
Ansible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server--or thousands.

Ansible: Up and Running

Automating Configuration Management and Deployment the Easy Way

Author: Lorin Hochstein,Rene Moser

Publisher: "O'Reilly Media, Inc."

ISBN: 1491979771

Category: COMPUTERS

Page: 430

View: 5589

DOWNLOAD NOW »
Among the many configuration management tools available, Ansible has some distinct advantages—it’s minimal in nature, you don’t need to install anything on your nodes, and it has an easy learning curve. With this updated second edition, you’ll learn how to be productive with this tool quickly, whether you’re a developer deploying code to production or a system administrator looking for a better automation solution. Authors Lorin Hochstein and René Moser show you how to write playbooks (Ansible’s configuration management scripts), manage remote servers, and explore the tool’s real power: built-in declarative modules. You’ll discover that Ansible has the functionality you need—and the simplicity you desire. Manage Windows machines, and automate network device configuration Manage your fleet from your web browser with Ansible Tower Understand how Ansible differs from other configuration management systems Use the YAML file format to write your own playbooks Work with a complete example to deploy a non-trivial application Deploy applications to Amazon EC2 and other cloud platforms Create Docker images and deploy Docker containers with Ansible This book is best read start to finish, with later chapters building on earlier ones. Because it’s written in a tutorial style, you can follow along on your own machine. Most examples focus on web applications.

Ansible

From Beginner to Pro

Author: Michael Heap

Publisher: Apress

ISBN: 1484216598

Category: Computers

Page: 170

View: 3903

DOWNLOAD NOW »
This book is your concise guide to Ansible, the simple way to automate apps and IT infrastructure. In less than 250 pages, this book takes you from knowing nothing about configuration management to understanding how to use Ansible in a professional setting. You will learn how to create an Ansible playbook to automatically set up an environment, ready to install an open source project. You’ll extract common tasks into roles that you can reuse across all your projects, and build your infrastructure on top of existing open source roles and modules that are available for you to use. You will learn to build your own modules to perform actions specific to your business. By the end you will create an entire cluster of virtualized machines, all of which have your applications and all their dependencies installed automatically. Finally, you'll test your Ansible playbooks. Ansible can do as much or as little as you want it to. Ansible: From Beginner to Pro will teach you the key skills you need to be an Ansible professional. You’ll be writing roles and modules and creating entire environments without human intervention in no time at all – add it to your library today. What You Will Learn Learn why Ansible is so popular and how to download and install it Create a playbook that automatically downloads and installs a popular open source project Use open source roles to complete common tasks, and write your own specific to your business Extend Ansible by writing your own modules Test your infrastructure using Test Kitchen and ServerSpec Who This Book Is For Developers that currently create development and production environments by hand. If you find yourself running apt-get install regularly, this book is for you. Ansible adds reproducibility and saves you time all at once. Ansible: From Beginner to Pro is great for any developer wanting to enhance their skillset and learn new tools.

Ansible Playbook Essentials

Author: Gourav Shah

Publisher: Packt Publishing Ltd

ISBN: 1784395617

Category: Computers

Page: 168

View: 3044

DOWNLOAD NOW »
Design automation blueprints using Ansible's playbooks to orchestrate and manage your multi-tier infrastructure About This Book Get to grips with Ansible's features such as orchestration, automatic node discovery, and data encryption Create data-driven, modular and reusable automation code with Ansible roles, facts, variables, and templates A step-by-step approach to automating and managing system and application configurations effectively using Ansible's playbooks Who This Book Is For If you are a systems or automation engineer who intends to automate common infrastructure tasks, deploy applications, and use orchestration to configure systems in a co-ordinated manner, then this book is for you. Some understanding of the Linux/UNIX command line interface is expected. What You Will Learn Write simple tasks and plays Organize code into a reusable, modular structure Separate code from data using variables and Jinja2 templates Run custom commands and scripts using Ansible's command modules Control execution flow based on conditionals Integrate nodes and discover topology information about other nodes in the cluster Encrypt data with ansible-vault Create environments with isolated configurations to match application development workflow Orchestrate infrastructure and deploy applications in a coordinated manner In Detail Ansible combines configuration management, orchestration, and parallel command execution into a single tool. Its batteries-included approach and built-in module library makes it easy to integrate it with cloud platforms, databases, and notification services without requiring additional plugins. Playbooks in Ansible define the policies your systems under management enforce. They facilitate effective configuration management rather than running ad hoc scripts to deploy complex applications. This book will show you how to write a blueprint of your infrastructure encompassing multi-tier applications using Ansible's playbooks. Beginning with the basic concepts such as plays, tasks, handlers, inventory, and the YAML syntax that Ansible uses, you will see how to organize your code into a modular structure. Building on this, you will master techniques to create data-driven playbooks with variables, templates, logical constructs, and encrypted data. This book will also take you through advanced clustering concepts such as discovering topology information, managing multiple environments, and orchestration. By the end of this book, you will be able to design solutions to your automation and orchestration problems using playbooks quickly and efficiently. Style and approach This book follows a step-by-step approach, with the concepts explained in a conversational and easy-to-follow style. Each topic is explained sequentially in the process of creating a course. A comprehensive explanation of the basic and advanced features of Ansible playbooks is also included.

Learning Ansible

Author: Madhurranjan Mohaan,Ramesh Raithatha

Publisher: Packt Publishing Ltd

ISBN: 1783550643

Category: Computers

Page: 308

View: 9303

DOWNLOAD NOW »
If you want to learn how to use Ansible to automate an infrastructure, either from scratch or to augment your current tooling with Ansible, then this is the book for you. It has plenty of practical examples to help you get to grips with Ansible.

Infrastructure as Code

Managing Servers in the Cloud

Author: Kief Morris

Publisher: "O'Reilly Media, Inc."

ISBN: 149192439X

Category: Computers

Page: 362

View: 3660

DOWNLOAD NOW »
Virtualization, cloud, containers, server automation, and software-defined networking are meant to simplify IT operations. But many organizations adopting these technologies have found that it only leads to a faster-growing sprawl of unmanageable systems. This is where infrastructure as code can help. With this practical guide, author Kief Morris of ThoughtWorks shows you how to effectively use principles, practices, and patterns pioneered through the DevOps movement to manage cloud age infrastructure. Ideal for system administrators, infrastructure engineers, team leads, and architects, this book demonstrates various tools, techniques, and patterns you can use to implement infrastructure as code. In three parts, you’ll learn about the platforms and tooling involved in creating and configuring infrastructure elements, patterns for using these tools, and practices for making infrastructure as code work in your environment. Examine the pitfalls that organizations fall into when adopting the new generation of infrastructure technologies Understand the capabilities and service models of dynamic infrastructure platforms Learn about tools that provide, provision, and configure core infrastructure resources Explore services and tools for managing a dynamic infrastructure Learn specific patterns and practices for provisioning servers, building server templates, and updating running servers

Mastering Ansible

Author: Jesse Keating

Publisher: Packt Publishing Ltd

ISBN: 1784398241

Category: Computers

Page: 236

View: 1250

DOWNLOAD NOW »
Design, develop, and solve real world automation and orchestration needs by unlocking the automation capabilities of Ansible About This Book Discover how Ansible works in detail Explore use cases for Ansible's advanced features including task delegation, fast failures, and serial task execution Extend Ansible with custom modules, plugins, and inventory sources Who This Book Is For This book is intended for Ansible developers and operators who have an understanding of the core elements and applications but are now looking to enhance their skills in applying automation using Ansible. What You Will Learn Understand Ansible's code and logic flow Safeguard sensitive data within Ansible Access and manipulate complex variable data within Ansible playbooks Handle task results to manipulate change and failure definitions Organize Ansible content into a simple structure Craft a multi-tier rollout playbook utilizing load balancers and manipulating your monitoring system Utilize advanced Ansible features to orchestrate rolling updates with almost no service disruptions Troubleshoot Ansible failures to understand and resolve issues Extend Ansible with custom modules, plugins, or inventory sources In Detail Automation is critical to success in the world of DevOps. How quickly and efficiently an application deployment can be automated, or a new infrastructure can be built up, can be the difference between a successful product or a failure. Ansible provides a simple yet powerful automation engine. Beyond the basics of Ansible lie a host of advanced features which are available to help you increase efficiency and accomplish complex orchestrations with ease. This book provides you with the knowledge you need to understand how Ansible works at a fundamental level and leverage its advanced capabilities. You'll learn how to encrypt Ansible content at rest and decrypt data at runtime. You will master the advanced features and capabilities required to tackle the complex automation challenges of today and beyond. You will gain detailed knowledge of Ansible workflows, explore use cases for advanced features, craft well thought out orchestrations, troubleshoot unexpected behaviour, and extend Ansible through customizations. Finally, you will discover the methods used to examine and debug Ansible operations, helping you to understand and resolve issues. Style and approach A clear, practical guide that covers best practise, system architecture and design aspects that will help you master Ansible with ease.

DevOps Troubleshooting

Linux Server Best Practices

Author: Kyle Rankin

Publisher: Addison-Wesley

ISBN: 0133035506

Category: Computers

Page: 240

View: 8471

DOWNLOAD NOW »
“If you’re a developer trying to figure out why your application is not responding at 3 am, you need this book! This is now my go-to book when diagnosing production issues. It has saved me hours in troubleshooting complicated operations problems.” –Trotter Cashion, cofounder, Mashion DevOps can help developers, QAs, and admins work together to solve Linux server problems far more rapidly, significantly improving IT performance, availability, and efficiency. To gain these benefits, however, team members need common troubleshooting skills and practices. In DevOps Troubleshooting: Linux Server Best Practices , award-winning Linux expert Kyle Rankin brings together all the standardized, repeatable techniques your team needs to stop finger-pointing, collaborate effectively, and quickly solve virtually any Linux server problem. Rankin walks you through using DevOps techniques to troubleshoot everything from boot failures and corrupt disks to lost email and downed websites. You’ll master indispensable skills for diagnosing high-load systems and network problems in production environments. Rankin shows how to Master DevOps’ approach to troubleshooting and proven Linux server problem-solving principles Diagnose slow servers and applications by identifying CPU, RAM, and Disk I/O bottlenecks Understand healthy boots, so you can identify failure points and fix them Solve full or corrupt disk issues that prevent disk writes Track down the sources of network problems Troubleshoot DNS, email, and other network services Isolate and diagnose Apache and Nginx Web server failures and slowdowns Solve problems with MySQL and Postgres database servers and queries Identify hardware failures–even notoriously elusive intermittent failures

Learn Ansible

Automate cloud, security, and network infrastructure using Ansible 2.x

Author: Russ McKendrick

Publisher: Packt Publishing Ltd

ISBN: 1788999320

Category: Computers

Page: 578

View: 8299

DOWNLOAD NOW »
Run Ansible playbooks to launch complex multi-tier applications hosted in public clouds Key Features Build your learning curve using Ansible Automate cloud, network, and security infrastructures with ease Gain hands-on exposure on Ansible Book Description Ansible has grown from a small, open source orchestration tool to a full-blown orchestration and configuration management tool owned by Red Hat. Its powerful core modules cover a wide range of infrastructures, including on-premises systems and public clouds, operating systems, devices, and services—meaning it can be used to manage pretty much your entire end-to-end environment. Trends and surveys say that Ansible is the first choice of tool among system administrators as it is so easy to use. This end-to-end, practical guide will take you on a learning curve from beginner to pro. You'll start by installing and configuring the Ansible to perform various automation tasks. Then, we'll dive deep into the various facets of infrastructure, such as cloud, compute and network infrastructure along with security. By the end of this book, you'll have an end-to-end understanding of Ansible and how you can apply it to your own environments. What you will learn Write your own playbooks to configure servers running CentOS, Ubuntu, and Windows Identify repeatable tasks and write playbooks to automate them Define a highly available public cloud infrastructure in code, making it easy to distribute your infrastructure configuration Deploy and configure Ansible Tower and Ansible AWX Learn to use community contributed roles Use Ansible in your day-to-day role and projects Who this book is for Learn Ansible is perfect for system administrators and developers who want to take their current workflows and transform them into repeatable playbooks using Ansible. No prior knowledge of Ansible is required.

Implementing DevOps with Ansible 2

Author: Jonathan McAllister

Publisher: Packt Publishing Ltd

ISBN: 178712651X

Category: Computers

Page: 266

View: 8473

DOWNLOAD NOW »
Leverage the power of Ansible 2 and related tools and scale DevOps processes About This Book Learn how to use Ansible playbooks along with YAML and JINJA to create efficient DevOps solutions Use Ansible to provision and automate Docker containers and images Learn the fundamentals of Continuous Integration and Continuous Delivery and how to leverage Ansible to implement these modern DevOps Learn the fundamentals of creating custom Ansible modules Learn the fundamentals of Ansible Galaxy Follow along step-by-step as we teach you to scale Ansible for your DevOps processes Who This Book Is For If you are a DevOps engineer, administrator, or developer and want to implement the DevOps environment in your organization using Ansible, then this book is for you. What You Will Learn Get to the grips with the fundamentals of Ansible 2.2 and how you can benefit from leveraging Ansible for DevOps. Adapt the DevOps process and learn how Ansible and other tools can be used to automate it. Start automating Continuous Integration and Continuous Delivery tasks using Ansible Maximize the advantages of tools such as Docker, Jenkins, JIRA, and many more to implement the DevOps culture. Integrate DevOps tools with Ansible Extend Ansible using Python and create custom modules that integrate with unique specific technology stacks Connect and control the states of various third-party applications such as GIT, SVN, Artifactory, Nexus, Jira, Hipchat, Slack, Nginx, and others In Detail Thinking about adapting the DevOps culture for your organization using a very simple, yet powerful automation tool, Ansible 2? Then this book is for you! In this book, you will start with the role of Ansible in the DevOps module, which covers fundamental DevOps practices and how Ansible is leveraged by DevOps organizations to implement consistent and simplified configuration management and deployment. You will then move on to the next module, Ansible with DevOps, where you will understand Ansible fundamentals and how Ansible Playbooks can be used for simple configuration management and deployment tasks. After simpler tasks, you will move on to the third module, Ansible Syntax and Playbook Development, where you will learn advanced configuration management implementations, and use Ansible Vault to secure top-secret information in your organization. In this module, you will also learn about popular DevOps tools and the support that Ansible provides for them (MYSQL, NGINX, APACHE and so on). The last module, Scaling Ansible for the enterprise, is where you will integrate Ansible with CI and CD solutions and provision Docker containers using Ansible. By the end of the book you will have learned to use Ansible to leverage your DevOps tasks. Style and approach A step-by-step guide to automating all DevOps stages with ease using Ansible

Ansible Configuration Management

Author: Daniel Hall

Publisher: Packt Publishing Ltd

ISBN: 1783280824

Category: Computers

Page: 92

View: 5231

DOWNLOAD NOW »
Ansible Configuration Management" is a step-by-step tutorial that teaches the use of Ansible for configuring Linux machines.This book is intended for anyone looking to understand the basics of Ansible. It is expected that you will have some experience of how to set up and configure Linux machines. In parts of the book we cover configuration files of BIND, MySQL, and other Linux daemons, therefore a working knowledge of these would be helpful but are certainly not required.

CentOS Bible

Author: Christopher Negus,Timothy Boronczyk

Publisher: John Wiley & Sons

ISBN: 9780470538333

Category: Computers

Page: 912

View: 5481

DOWNLOAD NOW »
Authoritative guide to a rapidly growing Linux distribution This is one of the first, if not the first comprehensive guide to the CentOS Linux operating system. Linux guru Tim Bornocyzyk, thoroughly covers the topic whether you're a Linux novice or a regular who now wants to master this increasingly popular distribution. First find out how to install and configure CentOS. From there, you'll cover a wealth of Linux and CentOS tools, functions, and techniques, including: how to work in the GNOME and KDE desktop environments; how to use the Linux shell, file system, and text editor; how to configure CUPS printers, Samba for file and printer sharing and other features using GUI tools; and more. CentOS (Community ENTerprise Operating System) is a Linux operating system maintained by a small team of core developers based on Red Hat Enterprise Linux (RHEL) Lead author Christopher Negus is the bestselling Linux author of such books as Fedora 10 and Red Hat Enterprise Linux Bible and Linux 2009 Edition Bible; he is also a member of the Red Hat Enterprise Linux training team Tech edited by key member of the CentOS development team, Ralph Angenendt, and foreword written by lead CentOS developer, Karanbir Singh. Learn how to set up users, automate system tasks, back up and restore files, and prepare for the latest security issues and threats; also learn how to use and customize the desktop menus, icons, window manager, and xterm; and how to create and publish formatted documents Explores available Linux multimedia applications for graphics, audio, video and CD burning The DVD includes complete copy of the most current CentOS Distribution – CentOS 5.3 For getting the most out of CentOS Linux, this is the book you need to succeed. Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.

Learning Ansible 2

Author: Fabio Alessandro Locati

Publisher: Packt Publishing Ltd

ISBN: 1786462095

Category: Computers

Page: 266

View: 1996

DOWNLOAD NOW »
Learn everything you need to manage and handle your systems with ease with Ansible 2 using this comprehensive guide About This Book Simplify the automation of applications and systems using the newest version of Ansible Get acquainted with fundamentals of Ansible such as playbooks, modules, and various testing strategies A comprehensive, learning guide that provides you with great skills to automate your organization's infrastructure using Ansible 2 Who This Book Is For The book is for sys admins who want to automate their organization's infrastructure using Ansible 2. No prior knowledge of Ansible is required. What You Will Learn Set up Ansible 2 and an Ansible 2 project in a future-proof way Perform basic operations with Ansible 2 such as creating, copying, moving, changing, and deleting files, and creating and deleting users Deploy complete cloud environments using Ansible 2 on AWS and DigitalOcean Explore complex operations with Ansible 2 (Ansible vault, e-mails, and Nagios) Develop and test Ansible playbooks Write a custom module and test it In Detail Ansible is an open source automation platform that assists organizations with tasks such as configuration management, application deployment, orchestration, and task automation. With Ansible, even complex tasks can be handled easier than before. In this book, you will learn about the fundamentals and practical aspects of Ansible 2 by diving deeply into topics such as installation (Linux, BSD, and Windows Support), playbooks, modules, various testing strategies, provisioning, deployment, and orchestration. In this book, you will get accustomed with the new features of Ansible 2 such as cleaner architecture, task blocks, playbook parsing, new execution strategy plugins, and modules. You will also learn how to integrate Ansible with cloud platforms such as AWS. The book ends with the enterprise versions of Ansible, Ansible Tower and Ansible Galaxy, where you will learn to interact Ansible with different OSes to speed up your work to previously unseen levels By the end of the book, you'll able to leverage the Ansible parameters to create expeditious tasks for your organization by implementing the Ansible 2 techniques and paradigms. Style and approach This book is a step-by-step learning guide on the all new Ansible 2, which is an ideal configuration management tool.

Ansible for AWS

Author: Yan Kurniawan

Publisher: N.A

ISBN: 9781786469199

Category:

Page: 354

View: 6196

DOWNLOAD NOW »
A simple way to provision and manage your Amazon Cloud infrastructureAbout This Book- Get started with AWS management for infrastructure engineers- Explore techniques to set up and manage your private cloud using Ansible- A practical guide to help you manage AWS-based applications and infrastructure using AnsibleWho This Book Is ForIf you are an infrastructure engineer, system administrator, or Dev Ops engineer, this book is for you. You will find this book helpful if you have previous experience with Linux systems administration, including familiarity with the command line, file system, and text editing. Prior basic knowledge of Amazon Web Services and some experience with Ansible is assumed.What You Will Learn- Set up your own AWS account and get started with the AWS console- Use Ansible Playbook to configure and launch EC2 instances- Delve deeper into the AWS cloud infrastructure and create and manage VPC- Provision Amazon Relational Database Service (RDS) with Ansible- Manage files in an Amazon Simple Storage Service (S3) bucket using Ansible- Extend Ansible's functionality in the AWS environment- Use Ansible to provision ELB and Auto Scaling groups- Manage IAM users, groups, roles, and keys- See how to refine and chain together AWS tools using AnsibleIn DetailLooking to get a simple and efficient way to manage your Amazon Cloud infrastructure? Ansible is exactly what you need. This book will show you how to use Ansible's cloud modules to easily provision and manage AWS resources including EC2, VPC, RDS, S3, ELB, ElastiCache, and Route 53. We'll take you beyond the basics of Ansible, showing you real-world examples of AWS infrastructure automation and management with detailed steps, complete code, and screen captures from the AWS console.The example projects inside this title will help you grasp the process leading to full AWS automation. From a single WordPress site to a highly available and scalable WordPress site, we'll demonstrate the power of using Ansible to provision and automate AWS-based infrastructure deployment.Style and approachThis hands-on guide will help you get acquainted with techniques to implement AWS for your private cloud.

AWS Certified SysOps Administrator Official Study Guide

Associate Exam

Author: Stephen Cole,Gareth Digby,Chris Fitch,Steve Friedberg,Shaun Qualheim,Jerry Rhoads,Michael Roth,Blaine Sundrud

Publisher: John Wiley & Sons

ISBN: 1119377447

Category: Computers

Page: 552

View: 937

DOWNLOAD NOW »
Comprehensive, interactive exam preparation and so much more The AWS Certified SysOps Administrator Official Study Guide: Associate Exam is a comprehensive exam preparation resource. This book bridges the gap between exam preparation and real-world readiness, covering exam objectives while guiding you through hands-on exercises based on situations you'll likely encounter as an AWS Certified SysOps Administrator. From deployment, management, and operations to migration, data flow, cost control, and beyond, this guide will help you internalize the processes and best practices associated with AWS. The Sybex interactive online study environment gives you access to invaluable preparation aids, including an assessment test that helps you focus your study on areas most in need of review, and chapter tests to help you gauge your mastery of the material. Electronic flashcards make it easy to study anytime, anywhere, and a bonus practice exam gives you a sneak preview so you know what to expect on exam day. Cloud computing offers businesses a cost-effective, instantly scalable IT infrastructure. The AWS Certified SysOps Administrator - Associate credential shows that you have technical expertise in deployment, management, and operations on AWS. Study exam objectives Gain practical experience with hands-on exercises Apply your skills to real-world scenarios Test your understanding with challenging review questions Earning your AWS Certification is much more than just passing an exam—you must be able to perform the duties expected of an AWS Certified SysOps Administrator in a real-world setting. This book does more than coach you through the test: it trains you in the tools, procedures, and thought processes to get the job done well. If you're serious about validating your expertise and working at a higher level, the AWS Certified SysOps Administrator Official Study Guide: Associate Exam is the resource you've been seeking.

Learning Continuous Integration with Jenkins

A beginner's guide to implementing Continuous Integration and Continuous Delivery using Jenkins 2, 2nd Edition

Author: Nikhil Pathania

Publisher: Packt Publishing Ltd

ISBN: 1788475194

Category: Computers

Page: 362

View: 4128

DOWNLOAD NOW »
Speed up the software delivery process and software productivity using the latest features of Jenkins Key Features Take advantage of a Continuous Integration and Continuous Delivery solution to speed up productivity and achieve faster software delivery See all the new features introduced in Jenkins 2.x, such as Pipeline as code, Multibranch pipeline, Docker Plugin, and more Learn to implement Continuous Integration and Continuous Delivery by orchestrating multiple DevOps tools using Jenkins Book Description In past few years, agile software development has seen tremendous growth. There is a huge demand for software delivery solutions that are fast yet flexible to numerous amendments. As a result, Continuous Integration (CI) and Continuous Delivery (CD) methodologies are gaining popularity. This book starts off by explaining the concepts of CI and its significance in the Agile. Next, you'll learn how to configure and set up Jenkins in many different ways. The book exploits the concept of "pipeline as code" and various other features introduced in the Jenkins 2.x release to their full potential. We also talk in detail about the new Jenkins Blue Ocean interface and the features that help to quickly and easily create a CI pipeline. Then we dive into the various features offered by Jenkins one by one, exploiting them for CI and CD. Jenkins' core functionality and flexibility allows it to fit in a variety of environments and can help streamline the development process for all stakeholders. Next, you'll be introduced to CD and will learn how to achieve it using Jenkins. Through this book's wealth of best practices and real-world tips, you'll discover how easy it is to implement CI and CD using Jenkins. What you will learn Get to know some of the most popular ways to set up Jenkins See all the new features introduced in the latest Jenkins, such as pipeline as code, Multibranch pipeline, and more Manage users, projects, and permissions in Jenkins to ensure better security Leverage the power of plugins in Jenkins Learn how to create a CI pipeline using Jenkins Blue Ocean Create a distributed build farm using Docker and use it with Jenkins Implement CI and CD using Jenkins See the difference between CD and Continuous Deployment Understand the concepts of CI Who this book is for The book is for those with little or no previous experience with Agile or CI and CD. It’s a good starting point for anyone new to this field who wants to leverage the benefits of CI and CD to increase productivity and reduce delivery time. It’s ideal for Build and Release engineers, DevOps engineers, SCM (Software Configuration Management) engineers, developers, testers, and project managers. If you’re already using Jenkins for CI, you can take your project to the next level—CD.

Learning Chef

A Guide to Configuration Management and Automation

Author: Mischa Taylor,Seth Vargo

Publisher: "O'Reilly Media, Inc."

ISBN: 1491945109

Category: Computers

Page: 366

View: 2902

DOWNLOAD NOW »
Get a hands-on introduction to the Chef, the configuration management tool for solving operations issues in enterprises large and small. Ideal for developers and sysadmins new to configuration management, this guide shows you to automate the packaging and delivery of applications in your infrastructure. You’ll be able to build (or rebuild) your infrastructure’s application stack in minutes or hours, rather than days or weeks. After teaching you how to write Ruby-based Chef code, this book walks you through different Chef tools and configuration management concepts in each chapter, using detailed examples throughout. All you need to get started is command-line experience and familiarity with basic system administration. Configure your Chef development environment and start writing recipes Create Chef cookbooks with recipes for each part of your infrastructure Use Test Kitchen to manage sandbox testing environments Manage single nodes with Chef client, and multiple nodes with Chef Server Use data bags for storing shared global data between nodes Simulate production Chef Server environments with Chef Zero Classify different types of services in your infrastructure with roles Model life stages of your application, including development, testing, staging, and production

DevOps Automation Cookbook

Author: Michael Duffy

Publisher: Packt Publishing Ltd

ISBN: 178439839X

Category: Computers

Page: 334

View: 8462

DOWNLOAD NOW »
Over 120 recipes covering key automation techniques through code management and virtualization offered by modern Infrastructure as a Service About This Book Use some of the powerful tools that have emerged to enable systems administrators and developers to take control and automate the management, monitoring, and creation of complex infrastructures Covers some of the most exciting technologies available to DevOps engineers, and demonstrates multiple techniques for using them A hands-on guide filled with clear examples and multiple methodologies to demonstrate the various DevOps tools available Who This Book Is For If you are a systems administrator or developer who is keen to employ DevOps techniques to help with the day-to-day complications of managing complex infrastructures, then this book is for you. No prior knowledge of DevOps tools is required. What You Will Learn Manage, use, and work with code in the Git version management system Manage the life cycle of hosts, from creation to on-going management, using Puppet Razor Create hosts automatically using a simple combination of TFTP, DHCP, and pre-seeds Implement virtual hosts using the ubiquitous VMware ESXi hypervisor Control configuration using the powerful and popular Ansible configuration management system Develop powerful, consistent, and portable containers using Docker Track trends, discover data, and monitor key systems using InfluxDB, syslog, and Sensu Deal efficiently with powerful cloud infrastructures using the Amazon AWS Infrastructure as a Service and the Heroku Platform as a Service In Detail There has been a recent explosion in tools that allow you to redefine the delivery of infrastructure and applications, using a combination of automation and testing to deliver continuous deployment. DevOps has garnered interest from every quarter, and is rapidly being recognized as a radical shift, as large as the Agile movement for the delivery of software. This book takes a collection of some of the coolest software available today and shows you how to use it to create impressive changes to the way you deliver applications and software. It tackles the plethora of tools that are now available to enable organizations to take advantage of the automation, monitoring, and configuration management techniques that define a DevOps-driven infrastructure. Starting off with the fundamental command-line tools that every DevOps enthusiast must know, this book will guide you through the implementation of the Ansible tool to help you facilitate automation and perform diverse tasks. You will explore how to build hosts automatically with the creation of Apt mirrors and interactive pre-seeds, which are of the utmost importance for Ubuntu automation. You will also delve into the concept of virtualization and creating and manipulating guests with ESXi. Following this, you will venture into the application of Docker; learn how to install, run, network, and restore Docker containers; and also learn how to build containers in Jenkins and deploy apps using a combination of Ansible, Docker, and Jenkins. You will also discover how to filter data with Grafana and the usage of InfluxDB along with unconventional log management. Finally, you will get acquainted with cloud infrastructure, employing the Heroku and Amazon AWS platforms. By tackling real-world issues, this book will guide you through a huge variety of tools, giving new users the ability to get up and running and offering advanced users some interesting recipes that may help with existing issues. Style and approach This book has an easy-to-follow approach to both introducing the wide range of available DevOps tools and working with them. Each recipe is lavishly sprinkled with example code and uses clear instructions to easily allow you to see how you can both implement the solutions, and more importantly, tailor them to your unique needs.

OpenStack Administration with Ansible

Author: Walter Bentley

Publisher: Packt Publishing Ltd

ISBN: 1785889389

Category: Computers

Page: 218

View: 5969

DOWNLOAD NOW »
Design, build, and automate 10 real-world OpenStack administrative tasks with Ansible About This Book Automate real-world OpenStack cloud operator administrative tasks Construct a collection of automation code to save time on managing your OpenStack cloud Use this step-by-step tutorial to automate such tasks with Ansible Who This Book Is For If you are an OpenStack-based cloud operator and/or infrastructure administrator and are interested in automating administrative functions, then this book is exactly what you are looking for. Having a functioning OpenStack environment is helpful, but most certainly not necessary. What You Will Learn Efficiently execute OpenStack administrative tasks Familiarize yourself with how Ansible works and assess the defined best practices Create Ansible playbooks and roles Automate tasks to customize your OpenStack cloud Review OpenStack automation considerations when automating administrative tasks Examine and automate advanced OpenStack tasks and designated use cases Get a high-level overview of OpenStack and the current production-ready projects Deep dive into OpenStack CLI tools and find out how to use them In Detail Most organizations are seeking methods to improve business agility because they have realized just having a cloud is not enough. Being able to improve application deployments, reduce infrastructure downtime, and eliminate daily manual tasks can only be accomplished through some sort of automation. Packed with real-world OpenStack administrative tasks, this book will walk you through working examples and explain how these tasks can be automated using one of the most popular open source automation tools—Ansible. We will start with a brief overview of OpenStack and Ansible and highlight some best practices. Each chapter will provide an introduction to handling various Cloud Operator administration tasks such as creating multiple users/tenants, setting up Multi-Tenant Isolation, customizing your clouds quotas, taking instance snapshots, evacuating compute hosts for maintenance, and running cloud health checks, and a step-by-step tutorial on how to automate these tasks with Ansible. Style and approach This easy-to-follow reference guide is packed with examples of real-world OpenStack administration tasks; each task is explained in detail and then subsequently turned into automation code.

Ansible for Aws

Easy Way to Understand How to Use Ansible in Amazon Web Services

Author: Jake Knowles

Publisher: Createspace Independent Publishing Platform

ISBN: 9781541126398

Category:

Page: 94

View: 7783

DOWNLOAD NOW »
This book is a guide for how to use Ansible in the AWS (Amazon Web Services). The AWS is becoming a popular form of cloud computing in which most businesses, organizations and individuals keep huge amounts of their sensitive data. With Ansible, we can automate most of the tasks such organizations do on the AWS. The first part of the book explains how to create an immutable infrastructure in the AWS using Ansible. It will guide you on all the necessary steps, starting from setup of the AWS account to creation of an inventory. The book also guides you on how to provision and auto scale your AWS infrastructure with Ansible. With this, it will be easy for you or the organization to upload huge amounts of data and have the infrastructure scale to accommodate the data. Please note that with auto scaling, Ansible will do much of the management automatically on the organization's behalf, so there will be little or no effort involved for the organization itself. This results in ease of management and the simplification of tasks. A Dynamic Inventory is also of great significance in AWS. This book explains how to create a Dynamic Inventory using both AWS and Ansible. Ansible and Terraform can also be used to manage Kubernetes on AWS. This book guides you on how to do this. The following topics are discussed in this book: - Creating an Immutable Infrastructure - Provision and Autoscaling your Infrastructure with Ansible - Dynamic Inventory with AWS and Ansible - Ansible and Terraform for Kubernetes to AWS