O'Reilly logo

Puppet 4.10 Beginner's Guide - Second Edition by John Arundel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating EC2 instances with Puppet

Although you can manage many different types of AWS resources with Puppet, the most important is the EC2 instance, or virtual server. In this section, we'll see how to create your first EC2 instance.

Choosing an Amazon Machine Image (AMI)

In order to run an EC2 instance, which is to say an AWS virtual machine, you need to choose which virtual machine to run out of the many thousands available. Each virtual machine snapshot is called an Amazon Machine Image (AMI) and has a unique ID. It's this ID which you will add to your Puppet manifest to tell it what kind of instance to start.

It doesn't matter much for the purposes of this example which AMI you choose, but we'll be using an official Ubuntu image. To find one, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required