Tutorials

Follow along with one of our 3314
development and sysadmin tutorials.

42 Tutorials
  • Tutorial

    How to Install and Configure Ansible on Ubuntu 18.04 [Quickstart]

    In this guide, we will discuss how to install and configure Ansible on an Ubuntu 18.04 server. This is quickstart version of our guide on How to Install and Configure Ansible on Ubuntu 18.04.
    By Erika Heidi Ansible Configuration Management Quickstart Ubuntu Ubuntu 18.04
  • Meetup kit

    Automating Server Setup with Ansible: A DigitalOcean Workshop Kit

    This tutorial, designed to accompany the Slides and speaker notes for the Automating Server Setup with Ansible Workshop Kit, will show you how to set up an inventory file and execute a set of provisioning scripts to f...
    By Erika Heidi Ansible Configuration Management
  • Tutorial

    How to Use Ansible Roles to Abstract your Infrastructure Environment

    This tutorial will explore how to create roles with templates and static files. Once you are familiar with the fundamentals of building roles, we'll use Ansible Galaxy (https://galaxy.ansible.com/) to incorporate comm...
    By Justin Ellingwood, Jamon Camisso Configuration Management Ubuntu Ansible
  • Tutorial

    How To Use Ansible to Install and Set Up WordPress with LAMP on Ubuntu 18.04

    This guide explains how to use Ansible to automate the steps contained in our guide on How To Install WordPress with LAMP on Ubuntu 18.04. WordPress is the most popular CMS (content management system) on the internet,...
    By Erika Heidi WordPress LAMP Stack PHP Ansible Automated Setups
  • Tutorial

    How to Use Ansible to Install and Set Up Apache on Ubuntu 18.04

    Ansible offers a simple architecture that doesn't require special software to be installed on nodes. It also provides a robust set of features and built-in modules which facilitate writing automation scripts. This gui...
    By Erika Heidi Ansible Automated Setups Apache Ubuntu 18.04 Ubuntu Configuration Management
  • Tutorial

    How to Use Ansible to Install and Set Up Docker on Ubuntu 18.04

    Docker is an application that simplifies the process of managing application processes in containers. This guide explains how to use Ansible to automate the steps contained in our guide on How To Install and Use Docke...
    By Erika Heidi Ansible Docker Ubuntu 18.04 Automated Setups Configuration Management
  • Tutorial

    How to Use Ansible to Install and Set Up LEMP on Ubuntu 18.04

    This guide explains how to use Ansible to automate the steps contained in our guide on How To Install Linux, Nginx, MySQL and PHP (LEMP) on Ubuntu 18.04. The LEMP software stack is a group of software that can be used...
    By Erika Heidi Ansible LEMP PHP Nginx Automated Setups Configuration Management
  • Tutorial

    How to Use Ansible to Automate Initial Server Setup on Ubuntu 18.04

    Ansible offers a simple architecture that doesn't require special software to be installed on nodes. It also provides a robust set of features and built-in modules which facilitate writing automation scripts. This gui...
    By Erika Heidi Initial Server Setup Ansible Ubuntu 18.04 Automated Setups
  • Tutorial

    How To Acquire a Let's Encrypt Certificate Using Ansible on Ubuntu 18.04

    Using a configuration management tool such as Ansible to acquire a certificate makes this task completely automatic and reproducible. In this tutorial, you'll write an Ansible playbook to acquire a Let's Encrypt certi...
    By Jamie Scaife Ansible Let's Encrypt Apache Ubuntu 18.04 Configuration Management
  • Cheatsheet

    How to Use Ansible: A Reference Guide

    Ansible is a modern configuration management tool that facilitates the task of setting up and maintaining remote servers. This cheat sheet-style guide provides a quick reference to commands and practices commonly use...
    By Erika Heidi Ansible Configuration Management
  • Configuration Management 101: Writing Ansible Playbooks

    This tutorial will walk you through the process of creating an automated server provisioning using Ansible, a configuration management tool that provides a complete automation framework and orchestration capabilities....
    By Erika Heidi Configuration Management Ansible Getting Started Automated Setups
  • Tutorial

    How To Create a Kubernetes Cluster Using Kubeadm on Debian 9

    Kubeadm automates the installation and configuration of Kubernetes components such as the API server, Controller Manager, and Kube DNS. In this guide, you will set up a Kubernetes cluster from scratch using Ansible an...
    By bsder Kubernetes Ansible Deployment Docker Nginx Debian 9
  • Tutorial

    How To Implement Continuous Testing of Ansible Roles Using Molecule and Travis CI on Ubuntu 18.04

    Molecule is a tool for performing automated testing of Ansible roles. Travis CI is a continuous integration tool that allows for tests to run continuously to ensure contributions to your code do not introduce breaking...
    By Varun Chopra Ansible Development Ubuntu 18.04
  • Tutorial

    How To Test Ansible Roles with Molecule on Ubuntu 18.04

    Unit testing in Ansible is key to making sure roles function as intended. Molecule makes this process easier by allowing you to specify scenarios that test roles against different environments. In this guide, you will...
    By Varun Chopra Ansible Ubuntu Ubuntu 18.04
  • Navigator's Guide: Modular Infrastructure Configuration

    The previous section used Terraform and Ansible to provision resources (Droplets, Load Balancers, and Floating IPs) and deploy your WordPress application. In this supplemental section, we discuss some ways to simplify...
    By Fabian Barajas, Jon Schwenn Solutions Configuration Management Terraform Ansible
  • Tutorial

    How To Test Ansible Roles with Molecule on Ubuntu 16.04

    Unit testing in Ansible is key to making sure roles function as intended. Molecule makes this process easier by allowing you to specify scenarios that test roles against different environments. In this guide, you will...
    By Varun Chopra Ansible Ubuntu 16.04
  • Tutorial

    How To Use Vault to Protect Sensitive Ansible Data on Ubuntu 16.04

    Ansible Vault is a feature that allows users to encrypt values and data structures within Ansible projects. This provides the ability to secure sensitive data that may be necessary to successfully run Ansible plays, b...
    By Justin Ellingwood Security Ansible Configuration Management
  • Tutorial

    How to Manage Multistage Environments with Ansible

    Ansible is a powerful configuration management system used to set up and manage infrastructure and applications in varied environments. While Ansible provides easy-to-read syntax, flexible workflows, and powerful tool...
    By Justin Ellingwood Configuration Management Ansible
  • Tutorial

    How To Use the DigitalOcean API v2 with Ansible 2.0 on Ubuntu 16.04

    Ansible 2.0 has recently been released, and with it comes support for version 2 of the DigitalOcean API. This means that you can use Ansible to not only provision your web applications, but also to provision and manag...
    By Stephen Rees-Carter Ansible API Ubuntu Ubuntu 16.04
  • Tutorial

    How To Use the DigitalOcean API v2 with Ansible 2.0 on Ubuntu 14.04

    Ansible 2.0 has recently been released, and with it comes support for version 2 of the DigitalOcean API. This means that you can use Ansible to not only provision your web applications, but also to provision and manag...
    By Stephen Rees-Carter Ansible API Ubuntu