//rack.pub

Deploying Cisco CSR1000v on an AWS EC2 Instance


By

Introduction

This guide walks you through deploying a Cisco Cloud Services Router 1000v, CSR1000v, on an Amazon Web Services, AWS, EC2 Virtual Machine Instance.

Prerequisites

  1. An AWS account
  2. An SSH client

I will use the Putty SSH client, namely putty.exe and puttygen.exe but feel free to use the SSH client of your choice.

Launch the CSR1000v Instance

Now that you have your AWS account setup and SSH client downloaded proceed to the AWS homepage.

  1. Click EC2 to navigate to the EC2 Dashboard.
  2. Click Launch Instance. Now navigate to AWS Marketplace in the left-hand menu.
  3. Search the AWS Marketplace for cisco1000v and choose the result with the Bring Your Own License, BYOL, option.
  4. Accept the software and launch it using all default settings.
Fig.1 - CSR1000v in the Marketplace.

Connect to the CSR1000v Instance

  1. Click Connect once the virtual machine is running and choose the Putty option. Download the SSH key .pem file and make note of where you have saved it on your computer.
  2. Convert the aws-key-pair.pem file to an aws-key-pair.ppk file that Putty can use by launching puttygen.exe, navigating to File > Import Private Key, and then clicking Save Private Key. Note that you will need to set the file explorer to display All Files (*.*) so that the aws-key-pair.pem file displays as an option.
  3. Launch putty.exe SSH client and put the address of your EC2 instance in the host field.
  4. Click Connection > SSH > Auth and browse to the location of your aws-key-pair.ppk file then click Open to open the SSH connection.
  5. At the login prompt enter ec2-user as the username. You should now be logged in to your CSR1000v virtual router.
Fig.2 - CSR1000v running as an EC2 Instance.

Configure Your CSR1000v Router

Congratulations! You now have a working Cisco router. Your Cisco router is rich with features such as voice, video, security, vpn, and many other technologies which are now at your fingertips. See Cisco Cloud Services Router 1000V Series At-a-Glance document for additional details.

A few commands to get you started are:

Fig.3 - CSR1000v SSH Session in Putty Client.