{"id":5621,"date":"2019-02-15T15:15:10","date_gmt":"2019-02-15T20:15:10","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?p=5621"},"modified":"2019-02-15T15:15:10","modified_gmt":"2019-02-15T20:15:10","slug":"running-load-tests-on-ip-whitelisted-applications","status":"publish","type":"post","link":"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/","title":{"rendered":"Running Load Tests on IP Whitelisted Applications"},"content":{"rendered":"\n<p>Running load tests on IP whitelisted applications can be difficult when load agents get random IP addresses from AWS. This can be particularly difficult when your application is not running in AWS. One solution to this problem is to use NAT Gateways with Elastic IPs. The Elastic IP can be whitelisted with your application allowing the load agents to reach your private targets.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Set up VPC subnets (if needed)<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to the AWS VPC console (<a href=\"https:\/\/console.aws.amazon.com\/vpc\/home\">https:\/\/console.aws.amazon.com\/vpc\/home<\/a>).<\/li><li>If you do not have a VPC yet, use the \u201cCreate VPC\u201d button to create a VPC.  (If you don&#8217;t have a specific IPv4 subnet you want to use, 10.0.0.0\/16 would be a good choice).<\/li><li>Go to the Subnets tab.<\/li><li>Click \u201cCreate Subnet\u201d and follow the steps to set up a subnet where your load agents will run.  This will be your <strong>private<\/strong> subnet.<\/li><li>Repeat this to create a <strong>public<\/strong> subnet.  Be sure this is set up to use a route table linked to an internet gateway (you can set the route table after creating the route table by selecting the subnet, then using the Route Table tab at the bottom of the page).  If you do not have an Internet gateway for your VPC, you can create one at <a href=\"https:\/\/console.aws.amazon.com\/vpc\/home?region=us-east-1#igws:sort=internetGatewayId\">https:\/\/console.aws.amazon.com\/vpc\/home?region=us-east-1#igws:sort=internetGatewayId<\/a>.  If you do not have a route table linked to the internet gateway, you can create one at <a href=\"https:\/\/console.aws.amazon.com\/vpc\/home?region=us-east-1#RouteTables:sort=routeTableId\">https:\/\/console.aws.amazon.com\/vpc\/home?region=us-east-1#RouteTables:sort=routeTableId<\/a>.<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"359\" height=\"95\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2019\/04\/image.png\" alt=\"\" class=\"wp-image-5689\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2019\/04\/image.png 359w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2019\/04\/image-300x79.png 300w\" sizes=\"auto, (max-width: 359px) 100vw, 359px\" \/><figcaption>Setting the Route Table<\/figcaption><\/figure><\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Set up your NAT Gateway<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to the AWS VPC console (<a href=\"https:\/\/console.aws.amazon.com\/vpc\/home\">https:\/\/console.aws.amazon.com\/vpc\/home<\/a>).<\/li><li>Go to the NAT Gateways tab.<\/li><li>Click \u201cCreate NAT Gateway\u201d.<\/li><li>Select the <strong>public<\/strong> subnet from Step 1.<\/li><li>Select an existing Elastic IP or create a new one.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Set up a Route Table<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to the AWS VPC console (<a href=\"https:\/\/console.aws.amazon.com\/vpc\/home\">https:\/\/console.aws.amazon.com\/vpc\/home<\/a>).<\/li><li>Go to the Route Tables tab.<\/li><li>Click \u201cCreate route table\u201d and create a new route table.<\/li><li>Once created, click \u201cEdit routes\u201d under the bottom \u201cRoutes\u201d tab and add 0.0.0.0\/0 with a target of the new NAT Gateway.  <\/li><li>Under the \u201cSubnet Associations\u201d bottom tab, click \u201cEdit subnet associations\u201d and associate the <strong>private<\/strong> subnet from Step 1.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Test your setup<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to <a href=\"https:\/\/www.redline13.com\/StartTest\">https:\/\/www.redline13.com\/StartTest<\/a> to start running load tests on IP whitelisted applications.<\/li><li>When setting up load agents under \u201cAdvanced Cloud Options\u201d, be sure to pick the <strong>private<\/strong> subnet from Step 1 and a Security Group with proper outbound rules.<\/li><li>If set up correctly, your test should run and be able to reach your whitelisted servers.<\/li><\/ol>\n\n\n\n<p>You can try for yourself and quickly run your own test on&nbsp;<a href=\"https:\/\/www.redline13.com\/Service\">RedLine13<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Running load tests on IP whitelisted applications can be difficult when load agents get random IP addresses from AWS. This can be particularly difficult when your application is not running in AWS. One solution to this problem is to use NAT Gateways with Elastic IPs. The Elastic IP can be whitelisted with your application allowing the load agents to reach your private targets. Step 1: Set up VPC subnets (if needed) Go to the AWS VPC<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,2],"tags":[],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-user","4":"post-5621","6":"format-standard","7":"category-aws-faq","8":"category-blog"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Running Load Tests on IP Whitelisted Applications - RedLine13<\/title>\n<meta name=\"description\" content=\"You can use RedLine13 for running load tests on IP whitelisted applications by using a NAT Gateway with a fixed Elastic IP.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Running Load Tests on IP Whitelisted Applications - RedLine13\" \/>\n<meta property=\"og:description\" content=\"You can use RedLine13 for running load tests on IP whitelisted applications by using a NAT Gateway with a fixed Elastic IP.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-15T20:15:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2019\/04\/image.png\" \/>\n<meta name=\"author\" content=\"RedLine13\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"RedLine13\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/\"},\"author\":{\"name\":\"RedLine13\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28\"},\"headline\":\"Running Load Tests on IP Whitelisted Applications\",\"datePublished\":\"2019-02-15T20:15:10+00:00\",\"dateModified\":\"2019-02-15T20:15:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/\"},\"wordCount\":458,\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"articleSection\":[\"AWS FAQ\",\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/\",\"name\":\"Running Load Tests on IP Whitelisted Applications - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2019-02-15T20:15:10+00:00\",\"dateModified\":\"2019-02-15T20:15:10+00:00\",\"description\":\"You can use RedLine13 for running load tests on IP whitelisted applications by using a NAT Gateway with a fixed Elastic IP.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Running Load Tests on IP Whitelisted Applications\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"name\":\"RedLine13\",\"description\":\"(Almost) Free Load Testing in the Cloud\",\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.redline13.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\",\"name\":\"RedLine13\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"contentUrl\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"width\":300,\"height\":68,\"caption\":\"RedLine13\"},\"image\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28\",\"name\":\"RedLine13\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?s=96&d=mm&r=g\",\"caption\":\"RedLine13\"},\"sameAs\":[\"http:\/\/127.0.0.1\"],\"url\":\"https:\/\/www.redline13.com\/blog\/author\/user\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Running Load Tests on IP Whitelisted Applications - RedLine13","description":"You can use RedLine13 for running load tests on IP whitelisted applications by using a NAT Gateway with a fixed Elastic IP.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/","og_locale":"en_US","og_type":"article","og_title":"Running Load Tests on IP Whitelisted Applications - RedLine13","og_description":"You can use RedLine13 for running load tests on IP whitelisted applications by using a NAT Gateway with a fixed Elastic IP.","og_url":"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/","og_site_name":"RedLine13","article_published_time":"2019-02-15T20:15:10+00:00","og_image":[{"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2019\/04\/image.png"}],"author":"RedLine13","twitter_card":"summary_large_image","twitter_misc":{"Written by":"RedLine13","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/#article","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/"},"author":{"name":"RedLine13","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28"},"headline":"Running Load Tests on IP Whitelisted Applications","datePublished":"2019-02-15T20:15:10+00:00","dateModified":"2019-02-15T20:15:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/"},"wordCount":458,"publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"articleSection":["AWS FAQ","Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/","url":"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/","name":"Running Load Tests on IP Whitelisted Applications - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2019-02-15T20:15:10+00:00","dateModified":"2019-02-15T20:15:10+00:00","description":"You can use RedLine13 for running load tests on IP whitelisted applications by using a NAT Gateway with a fixed Elastic IP.","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/2019\/02\/running-load-tests-on-ip-whitelisted-applications\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Running Load Tests on IP Whitelisted Applications"}]},{"@type":"WebSite","@id":"https:\/\/www.redline13.com\/blog\/#website","url":"https:\/\/www.redline13.com\/blog\/","name":"RedLine13","description":"(Almost) Free Load Testing in the Cloud","publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.redline13.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.redline13.com\/blog\/#organization","name":"RedLine13","url":"https:\/\/www.redline13.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","contentUrl":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","width":300,"height":68,"caption":"RedLine13"},"image":{"@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/4acbcdcb8a9c72ec5a274e69c0ebea28","name":"RedLine13","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514?s=96&d=mm&r=g","caption":"RedLine13"},"sameAs":["http:\/\/127.0.0.1"],"url":"https:\/\/www.redline13.com\/blog\/author\/user\/"}]}},"_links":{"self":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/5621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/comments?post=5621"}],"version-history":[{"count":0,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/posts\/5621\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=5621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/categories?post=5621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/tags?post=5621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}