SPIRENT TestCenter Virtual - AWS

SPIRENT

Testing AWS with Spirent TestCenter Virtual

This document provides setup instructions for testing in AWS using Spirent TestCenter Virtual. www.spirent.com i Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Contents Overview ...... 1 Introduction ...... 1 Key highlights...... 1 AWS Architecture ...... 1 Common web services ...... 1 Virtual Private Cloud (VPC) ...... 2 Elastic Compute Cloud (EC2) ...... 2 Test scenarios ...... 2 Setup Spirent TestCenter Virtual on AWS ...... 5 Test topology ...... 5 Setup networking with VPC ...... 5 Configure and spawn instances using EC2 ...... 9 RFC 2544 on AWS ...... 15 Test setup details...... 16 Test results ...... 17 References ...... 18

www.spirent.com ii Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Overview

Introduction Amazon Web Services (AWS) is a secure cloud services platform, offering compute power, database storage, content delivery and other functionality to help businesses scale and grow. This form of delivery mechanism of services is referred to as Cloud Computing. With the advent of cloud computing, one does not need to make upfront investments in hardware and spend time managing that hardware. Instead, one can provision on cloud, exactly the right type and size of computing resources needed on demand and scale the infrastructure on need basis. Today, AWS provides a highly reliable, scalable, low-cost infrastructure platform in the cloud that powers businesses around the world. Key highlights  Over 1 million active customers spread across 190 countries

 42 Availability Zones within 16 geographic regions

 900+ government agencies

 3400+ educational institutions

 11,200+ non profits

AWS Architecture

AWS is a collection of many cloud or web services that can be used in combinations to tailor any organizational or business needs. Common web services  Identity and Management (IAM)  Simple Storage Basics (S3)

 Virtual Private Cloud (VPC)

 Elastic Compute Cloud (EC2)

 Other Services like Elastic Load Balancer (ELB), CloudWatch, Route53 Lambda and RDS

The scope of this paper is limited to setting up VPC and EC2 as they are key components that one will come across when testing AWS network performance and scalability using Spirent TestCenter. www.spirent.com 1 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Virtual Private Cloud (VPC) AWS definition : “Amazon VPC lets you provision a logically isolated section of AWS cloud where you can launch AWS resources in a virtual network that you define. You have complete control over your virtual networking environment including selection of your own IP address range, creation of subnets, configuration of route tables and network gateways” VPC components :  Internet Gateway (IGW)  Route Table  Network Access Control List (NACL) and Security Groups  Subnets Elastic Compute Cloud (EC2) AWS definition : “Amazon EC2 provides scalable computing capacity in your AWS cloud. Using AWS EC2 eliminates your need to invest in hardware upfront, so you can develop and deploy applications faster. You can launch as many as virtual servers you need, configure security, networking and manage storage. Amazon EC2 enables you to scale up and down to handle changes in requirements or spikes in popularity, reducing your need to forecast traffic” EC2 components :  Amazon Machine Image (ami)  Instance Types  Elastic Block Store (EBS) volumes  IP addressing  Security Groups with EC2

Test scenarios

AWS virtual private clouds (VPCs) are logically isolated networks with their own IP range, routes, security groups, and network access control lists (ACLs). The Internet gateway routes outside and between VPCs and the subnet router routes within the VPC. The subnet router can route between any two subnets via the “local” route. One can test the network components of AWS in terms of throughput, frame loss, latency and jitter with various scenarios or can verify the forwarding and control performance of their Network Function (VNF) in AWS. The test topologies can vary from single subnet, multiple subnets, intra-VPC or inter VPC deployments.

www.spirent.com 2 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

www.spirent.com 3 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

www.spirent.com 4 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Setup Spirent TestCenter Virtual on AWS

Test topology

Setup networking with VPC AWS provides a simple and intuitive user interface called AWS Management Console or dashboard. When you login into your AWS account, you will land on the AWS management console. Click on VPC under “Networking & Content Delivery” section.

www.spirent.com 5 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Once you land on the VPC wizard, click on “Create VPC” which is essentially going to create your own logically isolated section of AWS cloud.

Next, you need to create subnet for management interface and the test interfaces. Management interface is for accessing the Spirent TestCenter VM itself and test interfaces is for running the test traffic. Do so by clicking on “Subnets” under Virtual Private Cloud” section on left pane.

www.spirent.com 6 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Now, create the Internet Gateway, which is the vRouter component that connects your subnets to the internet.

www.spirent.com 7 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Click on “Internet Gateways” and attach the Internet Gateway to the respective VPC.

Click on “Route Tables” and add the respective routes for the traffic to go through.

www.spirent.com 8 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Next, assign Elastic IPs for the management interface, so that we can reach the VMs from outside of VPC. Elastic IPs are static public IP addresses that can be assosciated with any instance for outside reachability.

Configure and spawn instances using EC2 Click on EC2 dashbard and “Lauch Instance”

www.spirent.com 9 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Select the Spirent TestCenter ami which is currently available as private ami and will be soon available on the market place.

Select the instance type, an instance type will determine how much traffic you will be able to generate. We recommend minimum 2 cores per test interface and minimum 2GB RAM. Choose your instance type accordingly for achieving expected performance.

www.spirent.com 10 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Provide the instance details.

Select the storage type.

www.spirent.com 11 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Add an instance identifier value or Tag.

Configure correct Security Groups to ensure traffic does not get dropped.

www.spirent.com 12 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Now, review the configuration and you are all set to launch the VMs.

Associate the Elastic IP with the instance for outside reachability.

www.spirent.com 13 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

www.spirent.com 14 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Login to your STCv VMs, login : admin, pw: spt_admin, and set the parameters based on the test need.

RFC 2544 on AWS Using Spirent MethodologyCenter web application you can to quickly configure and perform various scenario- based tests. It allows you to answer your performance, scale, and network configuration questions. Methodologies are grouped into several packages such as benchmarking, Quality of Service, compliance, etc. and a growing library of common standardized test scenarios like RFC 2544, RFC 2889.

www.spirent.com 15 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Test setup details

Availability Zone: US-East 1a (N. Virginia) Instance Type: m4.4x large Spirent TestCenter version: 4.75 Parameters

www.spirent.com 16 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

Test results

www.spirent.com 17 Proprietary & Confidential SPIRENT Spirent TestCenter Virtual - AWS

References 1. https://aws.amazon.com/ 2. https://d0.awsstatic.com/whitepapers/aws-overview.pdf 3. http://www.cisco.com/c/en/us/td/docs/solutions/Hybrid_Cloud/Intercloud/CSR/AWS/CSRAWS/CSRA WS_2.html

www.spirent.com 18 Proprietary & Confidential