Getting ready to use puppetlabs/aws

In the following sections, we'll see how to generate an SSH key pair to connect to your EC2 instances, and also install the puppetlabs/aws module with its dependencies.

Creating a key pair

You'll need an SSH key pair in order to connect to any EC2 instances you create. We will generate and download your key pair in this section.

  1. In the AWS console, go to the EC2 section and select Key pairs under Network & Security in the left pane.
  2. Click the Create Key Pair button.
    Creating a key pair
  3. You will be prompted for the name of your key pair. Enter pbg for this example.
  4. A file named pbg.pem will be automatically downloaded by your browser. Move ...

Get Puppet 5 Beginner's Guide - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.