Menu
Amazon CloudFront
Developer Guide (API Version 2016-09-29)

Creating an Amazon EC2 Key Pair

If you already have an Amazon EC2 key pair in the Amazon EC2 region in which you want to create an AWS CloudFormation stack for Unified Streaming, skip to Subscribing to Unified Streaming. If you don't have a key pair in that region, use the following procedure to create one.

A key pair is a security credential similar to a password. You specify a key pair when you create an AWS CloudFormation stack for on-demand streaming, later in this process. After on-demand streaming is configured, you use the key pair to securely connect to your Amazon EC2 instance.

To create an Amazon EC2 key pair

  1. Sign in to the AWS Management Console and open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the Region list, choose the region in which you want to create the key pair.

    You must create the key pair in the same region in which you will create your AWS CloudFormation stack for on-demand streaming later in this process. We recommend that you create the key pair and the stack for on-demand streaming in the region that is closest to the users who will be doing the streaming.

  3. In the navigation pane, choose Key Pairs.

  4. In the Key Pairs pane, choose Create Key Pair.

  5. In the Create Key Pair dialog box, enter a name for the key pair such as on-demand-streaming, and make note of the name. You'll enter this value when you create an AWS CloudFormation stack for on-demand streaming, later in the process.

  6. Click Create.

  7. In the Opening <key_pair_name>.pem dialog box, save the .pem file to a safe place on your computer.

    Important

    This is the only opportunity you'll have to download and save your private key.

  8. Click Close to close the Create Key Pair dialog box.

Next: Subscribing to Unified Streaming