New Skills

New Training: Use Ansible with EC2 Image Builder to Automate Image Builds

by Team Nuggets
New Training: Integrate Amazon Polly Voiceovers to Your Business Applications with Python picture: A
Follow us
Published on March 1, 2021

In this 7-video skill, CBT Nuggets trainer Trevor Sullivan explores how to integrate Ansible Playbooks with EC2 Image Builder recipes for a fully automated image building experience! Watch this new AWS training.

Watch the full course: AWS Cloud Automation

This training includes:

  • 7 videos

  • 49 minutes of training

You’ll learn these topics in this skill:

  • Why Use Ansible with Amazon EC2 Image Builder?

  • Create and Test Ansible Playbook for EC2 Image Builder

  • Create Ansible Build Component in EC2 Image Builder

  • Create the EC2 Image Builder Recipe for Ansible

  • Replicate Ansible-built AMIs to AWS Regions

  • Create and Execute EC2 Image Builder Pipeline for Ansible

  • Use Multipass to Test Ansible Playbooks on Ubuntu Linux

Can Ansible Playbooks Be Used With EC2 Image Builder?

Ansible Playbook is a tool that automates tasks relating to configuration management and application deployment that you need to perform more than once. Ansible Playbooks are simple to learn, secure and reliable. Importantly, Ansible is also deeply integrated with AWS services, including EC2 Image Builder. You can combine Ansible Playbooks and EC2 Image Builder to quickly build out, deploy, and update EC2 resources.

Playbooks consist of a set of directives, or plays, that can act upon a set of devices. Written in YAML (Yet Another Markup Language), Playbooks are much easier to read than XML or JSON.

A play consists of the following YAML tags:

  • name: the description of what the play does.

  • hosts: the hostnames or groups that the play will operate upon.

  • remote_user: the remote user that will perform the tasks.

  • tasks: the tasks the play will perform.

  • vars: any variables used during the course of the play.

With these tags and that deep integration, you can create Ansible Playbooks that can perform a wide range of tasks on AWS, which can save you countless hours. EC2 ImageBuilder already makes managing virtual machine and container images easy. Adding Ansible to your automation pipeline makes it even easier.


Download

By submitting this form you agree to receive marketing emails from CBT Nuggets and that you have read, understood and are able to consent to our privacy policy.


Don't miss out!Get great content
delivered to your inbox.

By submitting this form you agree to receive marketing emails from CBT Nuggets and that you have read, understood and are able to consent to our privacy policy.

Recommended Articles

Get CBT Nuggets IT training news and resources

I have read and understood the privacy policy and am able to consent to it.

© 2024 CBT Nuggets. All rights reserved.Terms | Privacy Policy | Accessibility | Sitemap | 2850 Crescent Avenue, Eugene, OR 97408 | 541-284-5522