
This video provides an overview of the entire course.
In this section, you'll learn about the most popular uses of the Ansible automation tool. It's a tool that you can use to manage the full life cycle of your infrastructure.
Ansible is more than just configuration management, like many other tools in this space. It's also much more lightweight than competitors like Puppet and Chef—to configure a server, all you need is an SSH login and Python 2 installed.
We'll use a simple example: installing and configuring an nginx server and a simple static HTML website, first using bash and then using Ansible.
This video gives you an overview of how the course is structured. The focus is on practical, real-world applications, since that prepares you for real-life application of this knowledge.
In this video, we'll cover the basic Ansible vocabulary. You'll have many basic questions answered.
In this video, you'll learn about the new features and improvements that Ansible 2.0 offers.
In this video, we'll set up an environment that you can use to safely practice everything you see in this course.
In this video, you'll learn the three most popular ways to install Ansible, and decide which one is right for you.
In this video, we'll cover how to build Ansible directly from its repository. This method is useful if you absolutely need a bleeding-edge feature, or if you're interested in contributing to the Ansible source code.
In this video you'll learn how to simulate test machines with LXC (Linux Containers). LXC is a lightweight precursor to Docker which will let us configure some test hosts that we can run Ansible against.
Ansible only requires two things: Python 2 and a running SSH service. In this video, I'll show you the 10-second process that prepares a brand-new host for Ansible.
In this video, you'll learn where Ansible looks for its primary configuration file, and the different ways in which you can approach configuring Ansible.
How does Ansible know which hosts to configure? The Ansible Hosts (Inventory) file!
Ad-Hoc Commands are simple one-off commands that perform a single action on a target host. These simple replacements for small bash scripts or 'for' loops are run from the command-line, and work well for cases where a full-featured Playbook is overkill. You'll see Ad-Hoc commands for doing several things across one server, or many servers at once
Playbooks are the Ansible feature you'll be working with on most projects. In this video, you'll learn the three components that make a Playbook what it is: tasks, templates, and handlers.
In this video, you'll learn how to structure your playbooks for maximum readability, predictability, and flexibility. You'll learn about Roles, and how they can help you reuse code. Note: For this course, we're not using every available Playbook feature, because it can make things excessively complex. We're focusing on the practical 90% of features that you'll be using every day.
In this video, you'll learn what Ansible modules are and how they help you get things done.
In this video, you'll learn about some of the most popular (and useful!) Ansible modules. At the end of this video, you'll have a list of modules to dig into, which you can use to manage
In this video, you'll learn about how Ansible deals with Variables and Facts:
In this video, you'll see a real-life web application deployment. We'll be setting up Mattermost, an open-source alternative to the popular Slack team-chat application.
While developing Ansible automation, you'll be doing a lot of troubleshooting as part of the process. In this video, I'll show you the most common Ansible features that you'll use for debugging, along with some of the most common Ansible errors you'll encounter.
In this video, you'll learn about the control flow that you can use in your Tasks and Plays. At the end of this video, you'll be comfortable with Ansible iteration constructs like:
In addition to control flow in your YAML files, we can also introduce control flow for our file content in your Jinja2 templates.
We have been using YAML to write your Playbooks, Plays, Tasks, and Handlers. Now it's time to dig in for a moment and learn some of the rules you need to keep in mind when working with this markup language.
Task Blocks are one of the useful new features in Ansible 2.0. They allow you to group related tasks together, so you can tie control-flow to larger chunks of actions. This is something that comes in handy for larger actions which are made up of several tasks.
Ansible has two built-in execution strategies that affect how it applies tasks to hosts. Knowing whether you want to use the linear (default) strategy or the free strategy can make the difference between completing a deployment in minutes or hours
Ansible Galaxy allows you to leverage open-source roles that other people in the Ansible community have created. It can be useful for studying code that others have written, or for quickly getting some functionality that you need without having to write it from scratch.
In this video, I'll cover some of the basic security features. This is essentially a quick list of "best practices" and "things to watch out for." Using Ansible for provisioning, deployment, configuration management, and orchestration does not absolve you of managing the security of your systems...you'll still have to invest thought and planning into how you do this.
Ansible can be used to provision services on all major cloud providers: Amazon Web Services (AWS), OpenStack, Google Cloud, Microsoft Azure, and more. There are also Ansible modules for on-premise virtualization and cloud solutions, which makes it really easy to get started.
In this demonstration, you'll see how the Mattermost Deployment playbook was ported to Amazon AWS.
This video will give you a quick taste of Ansible's commercial solution: Ansible Tower. This is a web application wrapper around the core open-source Ansible toolset
This video gives an overview of the entire course.
The aim of this video is to talk about the underlying concepts of Docker. It is critical for us to know how the internals of Docker are laid out so that if we encounter problems whilst using Docker, we will be able to figure out exactly what went wrong and where.
The aim of this video is to revisit some of the more useful Docker CLI commands.
Running setup commands in a running container and then committing it, although possible, is not an efficient solution. It also doesn’t lend itself very well to automation. So, we will look at automating the image creation process using Docker file and the Docker build command.
In this section and video, we will learn about Docker Compose. Compose is a tool for orchestrating multi-container Docker applications.
We have set up diaspora enough number of times in various different ways in the last few videos. Let us apply this learning to make a deployment of diaspora on to an AWS instance
The aim of this video is to scale application services across multiple containers in a single host.
The aim of this video is to discuss the default networking drivers available in Docker, and specifically the bridge network.
Discuss and get familiar with the multi-host networks completely.
The aim of this video is to explore solutions to service discovery.
In this video, we will be designing infrastructure for the next phase of our diaspora deployment.
Use Swarm to deploy diaspora on a cluster of Docker hosts.
Deploying a Swarm cluster on AWS.
Discover the tools that give more power to operations, with a better ability to scale out. These tools are production ready, are battle tested, and are being used in production today at some of the biggest companies.
Explore Kubernetes, Google’s cluster management tool that they use to back their container engine.
Discuss security considerations and possible attack vectors in a Docker deployment.
Explore Docker Bench for Security tool and use it for our Docker environment.
Deals with the issue of content security when transferring objects over an untrusted medium—the Internet.
Discuss the options available to route logs—logging drivers.
Learn how to use volume plugins.
Discover how to extend Docker with the Network Plugins
Discuss the best practices in a Docker environment.
Discover the tools available to complement workflows in the Docker ecosystem.
We will look at Dockercraft.
Are you looking forward to gaining practical knowledge on powerful technologies such as Ansible and Docker? If yes, then go for this Learning Path.
Packt’s Video Learning Paths are a series of individual video products put together in a logical and stepwise manner such that each video builds on the skills learned in the video before it.
DevOps is the most widely used software engineering culture and practice that aims at software development and operation. Ansible is one of the most popular tools in the open source orchestration and automation space. Docker is a tool that is designed to benefit both developers and system administrators. Ansible is the way to automate Docker in your environment. Ansible enables you to operationalize your Docker container build and deployment process in ways that you’re likely doing manually today, or not doing at all.
The highlights of this Learning Path are:
Let’s take a look at your journey. You will begin with Ansible 2.0, including its installation, the problems it solves, and more. You will also walk through creating your very first playbook. You will understand the power of variables and quickly be able to manage environments and implement strategies. You will find out how to integrate with different cloud platforms and be introduced to Ansible Galaxy and Tower, which are Ansible's enterprise tooling for supporting large-scale infrastructure.
Next, you will learn what Docker is and explore Compose by writing a docker-compose. yml file for a social network app, and look at top-down approaches to building network topologies for your social network’s containers. You will then be familiarized with the Swarm workflow, Kubernetes, and Google’s tool for setting up a managed cluster. Finally, you will learn how to set up Docker’s plugin infrastructure and use the customization options.
By the end of this Learning Path, you will have strong knowledge on the powerful techniques of Ansible and Docker.
Meet your authors: