Ansible 2 Cloud Automation Cookbook

Write Ansible playbooks for AWS, Google Cloud, Microsoft Azure, and OpenStack

Author: Aditya Patawari,Vikas Aggarwal

Publisher: Packt Publishing Ltd

ISBN: 1788298772

Category: Computers

Page: 200

View: 5502

DOWNLOAD NOW »

Orchestrate your cloud infrastructure Key Features Recipe-based approach to install and configure cloud resources using Ansible Covers various cloud-related modules and their functionalities Includes deployment of a sample application to the cloud resources that we create Learn the best possible way to manage and automate your cloud infrastructure Book Description Ansible has a large collection of inbuilt modules to manage various cloud resources. The book begins with the concepts needed to safeguard your credentials and explain how you interact with cloud providers to manage resources. Each chapter begins with an introduction and prerequisites to use the right modules to manage a given cloud provider. Learn about Amazon Web Services, Google Cloud, Microsoft Azure, and other providers. Each chapter shows you how to create basic computing resources, which you can then use to deploy an application. Finally, you will be able to deploy a sample application to demonstrate various usage patterns and utilities of resources. What you will learn Use Ansible Vault to protect secrets Understand how Ansible modules interact with cloud providers to manage resources Build cloud-based resources for your application Create resources beyond simple virtual machines Write tasks that can be reused to create resources multiple times Work with self-hosted clouds such as OpenStack and Docker Deploy a multi-tier application on various cloud providers Who this book is for If you are a system administrator, infrastructure engineer, or a DevOps engineer who wants to obtain practical knowledge about Ansible and its cloud deliverables, then this book is for you. Recipes in this book are designed for people who would like to manage their cloud infrastructures efficiently using Ansible, which is regarded as one of the best tools for cloud management and automation.

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: 6850

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.

Learning Ansible 2.7

Automate your organization's infrastructure using Ansible 2.7, 3rd Edition

Author: Fabio Alessandro Locati

Publisher: Packt Publishing Ltd

ISBN: 1789950007

Category: Computers

Page: 266

View: 4924

DOWNLOAD NOW »

Use Ansible to configure your systems, deploy software, and orchestrate advanced IT tasks Key Features Get familiar with the fundamentals of Ansible 2.7 Understand how to use Ansible Tower to scale your IT automation Gain insights into how to develop and test Ansible playbooks Book Description Ansible is an open source automation platform that assists organizations with tasks such as application deployment, orchestration, and task automation. With the release of Ansible 2.7, even complex tasks can be handled much more easily than before. Learning Ansible 2.7 will help you take your first steps toward understanding the fundamentals and practical aspects of Ansible by introducing you to topics such as playbooks, modules, and the installation of Linux, Berkeley Software Distribution (BSD), and Windows support. In addition to this, you will focus on various testing strategies, deployment, and orchestration to build on your knowledge. The book will then help you get accustomed to features including cleaner architecture, task blocks, and playbook parsing, which can help you to streamline automation processes. Next, you will learn how to integrate Ansible with cloud platforms such as Amazon Web Services (AWS) before gaining insights into the enterprise versions of Ansible, Ansible Tower and Ansible Galaxy. This will help you to use Ansible to interact with different operating systems and improve your working efficiency. By the end of this book, you will be equipped with the Ansible skills you need to automate complex tasks for your organization. What you will learn Create a web server using Ansible Write a custom module and test it Deploy playbooks in the production environment Troubleshoot networks using Ansible Use Ansible Galaxy and Ansible Tower during deployment Deploy an application with Ansible on AWS, Azure and DigitalOcean Who this book is for This beginner-level book is for system administrators who want to automate their organization's infrastructure using Ansible 2.7. No prior knowledge of Ansible is required

DevOps Automation Cookbook

Author: Michael Duffy

Publisher: Packt Publishing Ltd

ISBN: 178439839X

Category: Computers

Page: 334

View: 6595

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 Cloud Computing Cookbook

Over 100 practical recipes to help you build and operate OpenStack cloud computing, storage, networking, and automation, 4th Edition

Author: Kevin Jackson,Cody Bunch,Egle Sigler,James Denton

Publisher: Packt Publishing Ltd

ISBN: 1788399331

Category: Computers

Page: 398

View: 8699

DOWNLOAD NOW »

The Fourth Edition of the industry-acclaimed OpenStack Cloud Computing Cookbook, from four recognized experts, updated to the latest OpenStack build including Cinder, Nova, and Neutron. Key Features Over 100 recipes created by a team of OpenStack experts Updated to work with the latest OpenStack builds, with recipes covering the installation and use of OpenStack with Ansible It covers topics such as Keystone, Glance, Neutron, Nova, Cinder, and more, plus recipes for OpenStack storage, networking, and orchestrating workloads Test drive OpenStack using the accompanying Vagrant environment Book Description This is the fourth edition of the industry-acclaimed OpenStack Cloud Computing Cookbook, created by four recognized OpenStack experts. It has now been updated to work with the latest OpenStack builds, using tools and processes based on their collective and vast OpenStack experience. OpenStack Open Source Cloud software is one of the most used cloud infrastructures to support a wide variety of use cases, from software development to big data analysis. It is developed by a thriving community of individual developers from around the globe and backed by most of the leading players in the cloud space today. We make it simple to implement, massively scalable, and able to store a large pool of data and networking resources. OpenStack has a strong ecosystem that helps you provision your cloud storage needs. Add OpenStack's enterprise features to reduce the cost of your business. This book will begin by showing you the steps to build up an OpenStack private cloud environment using Ansible. You'll then discover the uses of cloud services such as the identity service, image service, and compute service. You'll dive into Neutron, the OpenStack Networking service, and get your hands dirty with configuring networks, routers, load balancers, and more. You’ll then gather more expert knowledge on OpenStack cloud computing by managing your cloud's security and migration. After that, we delve into OpenStack Object storage and you’ll see how to manage servers and work with objects, cluster, and storage functionalities. Finally, you will learn about OpenStack dashboard, Ansible, Keystone, and other interesting topics. What you will learn Understand, install, configure, and manage a complete OpenStack Cloud platform using OpenStack-Ansible Configure networks, routers, load balancers, and more with Neutron Use Keystone to setup domains, roles, groups and user access Learn how to use Swift and setup container access control lists Gain hands-on experience and familiarity with Horizon, the OpenStack Dashboard user interface Automate complete solutions with our recipes on Heat, the OpenStack Orchestration service as well as using Ansible to orchestrate application workloads Follow practical advice and examples to run OpenStack in production Who this book is for This book is written for cloud system engineers, system administrators, and technical architects who are moving from a virtualized environment to cloud environments. This book assumes that you are familiar with cloud computing platforms, and have knowledge of virtualization, networking, and managing Linux environments.

OpenStack: Building a Cloud Environment

Author: Alok Shrivastwa,Sunil Sarat,Kevin Jackson,Cody Bunch,Egle Sigler,Tony Campbell

Publisher: Packt Publishing Ltd

ISBN: 1787129411

Category: Computers

Page: 807

View: 473

DOWNLOAD NOW »

Learn how you can put the features of OpenStack to work in the real world in this comprehensive path About This Book Harness the abilities of experienced OpenStack administrators and architects, and run your own private cloud successfully Learn how to install, configure, and manage all of the OpenStack core projects including topics on Object Storage, Block Storage, and Neutron Networking services such as LBaaS and FWaaS Get better equipped to troubleshoot and solve common problems in performance, availability, and automation that confront production-ready OpenStack environments Who This Book Is For This course is for those who are new to OpenStack who want to learn the cloud networking fundamentals and get started with OpenStack networking. Basic understanding of Linux Operating System, Virtualization, and Networking, and Storage principles will come in handy. What You Will Learn Get an introduction to OpenStack and its components Store and retrieve data and images using storage components, such as Cinder, Swift, and Glance Install and configure Swift, the OpenStack Object Storage service, including configuring Container Replication between datacenters Gain hands on experience and familiarity with Horizon, the OpenStack Dashboard user interface Learn how to automate OpenStack installations using Ansible and Foreman Follow practical advice and examples for running OpenStack in production Fix common issues with images served through Glance and master the art of troubleshooting Neutron networking In Detail OpenStack is a collection of software projects that work together to provide a cloud fabric. Learning OpenStack Cloud Computing course is an exquisite guide that you will need to build cloud environments proficiently. This course will help you gain a clearer understanding of OpenStack's components and their interaction with each other to build a cloud environment. The first module, Learning OpenStack, starts with a brief look into the need for authentication and authorization, the different aspects of dashboards, cloud computing fabric controllers, along with 'Networking as a Service' and 'Software defined Networking'. Then, you will focus on installing, configuring, and troubleshooting different architectures such as Keystone, Horizon, Nova, Neutron, Cinder, Swift, and Glance. After getting familiar with the fundamentals and application of OpenStack, let's move deeper into the realm of OpenStack. In the second module, OpenStack Cloud Computing Cookbook, preview how to build and operate OpenStack cloud computing, storage, networking, and automation. Dive into Neutron, the OpenStack Networking service, and get your hands dirty with configuring ML2, networks, routers, and distributed virtual routers. Further, you'll learn practical examples of Block Storage, LBaaS, and FBaaS. The final module, Troubleshooting OpenStack, will help you quickly diagnose, troubleshoot, and correct problems in your OpenStack. We will diagnose and remediate issues in Keystone, Glance, Neutron networking, Nova, Cinder block storage, Swift object storage, and issues caused by Heat orchestration. This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products: Learning OpenStack by Alok Shrivastwa, Sunil Sarat OpenStack Cloud Computing Cookbook - Third Edition by Kevin Jackson , Cody Bunch, Egle Sigler Troubleshooting OpenStack by Tony Campbell Style and approach This course aims to create a smooth learning path that will teach you how to get started with setting up private and public clouds using a free and open source cloud computing platform—OpenStack. Through this comprehensive course, you'll learn OpenStack Cloud computing from scratch to finish and more!

Effective DevOps with AWS

Implement continuous delivery and integration in the AWS environment, 2nd Edition

Author: Yogesh Raheja,Giuseppe Borgese,Nathaniel Felsen

Publisher: Packt Publishing Ltd

ISBN: 1789539692

Category: Computers

Page: 384

View: 8262

DOWNLOAD NOW »

Scale and maintain outstanding performance in your AWS-based infrastructure using DevOps principles Key Features Implement continuous integration and continuous deployment pipelines on AWS Gain insight from an expert who has worked with Silicon Valley's most high-profile companies Implement DevOps principles to take full advantage of the AWS stack and services Book Description The DevOps movement has transformed the way modern tech companies work. Amazon Web Services (AWS), which has been at the forefront of the cloud computing revolution, has also been a key contributor to the DevOps movement, creating a huge range of managed services that help you implement DevOps principles. Effective DevOps with AWS, Second Edition will help you to understand how the most successful tech start-ups launch and scale their services on AWS, and will teach you how you can do the same. This book explains how to treat infrastructure as code, meaning you can bring resources online and offline as easily as you control your software. You will also build a continuous integration and continuous deployment pipeline to keep your app up to date. Once you have gotten to grips will all this, we'll move on to how to scale your applications to offer maximum performance to users even when traffic spikes, by using the latest technologies, such as containers. In addition to this, you'll get insights into monitoring and alerting, so you can make sure your users have the best experience when using your service. In the concluding chapters, we'll cover inbuilt AWS tools such as CodeDeploy and CloudFormation, which are used by many AWS administrators to perform DevOps. By the end of this book, you'll have learned how to ensure the security of your platform and data, using the latest and most prominent AWS tools. What you will learn Implement automatic AWS instance provisioning using CloudFormation Deploy your application on a provisioned infrastructure with Ansible Manage infrastructure using Terraform Build and deploy a CI/CD pipeline with Automated Testing on AWS Understand the container journey for a CI/CD pipeline using AWS ECS Monitor and secure your AWS environment Who this book is for Effective DevOps with AWS is for you if you are a developer, DevOps engineer, or you work in a team which wants to build and use AWS for software infrastructure. Basic computer science knowledge is required to get the most out of this book.