{"id":107,"date":"2022-06-27T21:00:00","date_gmt":"2022-06-28T01:00:00","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?page_id=107"},"modified":"2022-06-28T12:33:12","modified_gmt":"2022-06-28T16:33:12","slug":"amazon-approval-for-large-tests","status":"publish","type":"page","link":"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/","title":{"rendered":"Amazon Approval for Large Tests"},"content":{"rendered":"<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8127 size-full\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/Title-image.png\" alt=\"Large Scale Load Testing and EC2 Limits\" width=\"400\" height=\"300\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/Title-image.png 400w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/Title-image-300x225.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>If you are doing large scale load testing, you may run up against EC2 limits or other &#8220;<a href=\"https:\/\/docs.aws.amazon.com\/general\/latest\/gr\/aws_service_limits.html\"><em>service quotas<\/em><\/a>&#8221; on your AWS account.\u00a0 In this case, you will need Amazon approval for running your large tests.\u00a0 These limits fall into a number of categories which differ by service offering.\u00a0 The complete description of service quotas including default values can be found in the <a href=\"https:\/\/docs.aws.amazon.com\/general\/latest\/gr\/aws-service-information.html\">AWS documentation<\/a>.\u00a0 Here are the three key ones:<\/p>\n<p>\u00a0<\/p>\n<h3>EC2 On-Demand Instance Limits<\/h3>\n<p>This is where you can request the ability to increase the number of on-demand EC2 instances you can run.\u00a0 For example, if you want to emulate 50,000 users, you may need 200 servers.\u00a0 The request form generates a support request and can be accessed <a href=\"http:\/\/aws.amazon.com\/contact-us\/ec2-request\/\">here<\/a>, or alternatively can be found under the &#8220;<em>Limits<\/em>&#8221; section of the <a href=\"https:\/\/console.aws.amazon.com\/ec2\/v2\/home\">AWS EC2 console<\/a>:<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8119 size-full\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/00-EC2-Limits-Menu.png\" alt=\"\" width=\"215\" height=\"182\" \/><\/p>\n<p style=\"text-align: left;\">The default instance class is &#8220;<em>M<\/em>&#8220;, so we will use this as an example.\u00a0 Select &#8220;<em>Running On-Demand All Standard (A, C, D, H, I, M)<\/em>&#8221; and then click on &#8220;<em>Request limit increase<\/em>&#8221; in the upper left:<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8122 size-full\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/01-EC2-Limits-On-Demand-with-border.png\" alt=\"\" width=\"1374\" height=\"634\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/01-EC2-Limits-On-Demand-with-border.png 1374w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/01-EC2-Limits-On-Demand-with-border-300x138.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/01-EC2-Limits-On-Demand-with-border-1024x473.png 1024w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/01-EC2-Limits-On-Demand-with-border-768x354.png 768w\" sizes=\"auto, (max-width: 1374px) 100vw, 1374px\" \/><\/p>\n<p style=\"text-align: left;\">Then select the &#8220;<em>Service limit increase<\/em>&#8221; option, and be sure to specify your region:<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8120 size-full\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/02-Raise-EC2-Limits-Create-Case-with-border.png\" alt=\"\" width=\"1119\" height=\"773\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/02-Raise-EC2-Limits-Create-Case-with-border.png 1119w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/02-Raise-EC2-Limits-Create-Case-with-border-300x207.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/02-Raise-EC2-Limits-Create-Case-with-border-1024x707.png 1024w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/02-Raise-EC2-Limits-Create-Case-with-border-768x531.png 768w\" sizes=\"auto, (max-width: 1119px) 100vw, 1119px\" \/><\/p>\n<p style=\"text-align: left;\">Currently AWS also requires you to briefly summarize the reason for your request:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8123 size-full\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/03-Raise-EC2-Limits-Case-Description-with-border.png\" alt=\"\" width=\"1383\" height=\"710\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/03-Raise-EC2-Limits-Case-Description-with-border.png 1383w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/03-Raise-EC2-Limits-Case-Description-with-border-300x154.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/03-Raise-EC2-Limits-Case-Description-with-border-1024x526.png 1024w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/03-Raise-EC2-Limits-Case-Description-with-border-768x394.png 768w\" sizes=\"auto, (max-width: 1383px) 100vw, 1383px\" \/><\/p>\n<p style=\"text-align: left;\">When you are finished, click &#8220;Submit&#8221; in the lower right.\u00a0 Changes to your EC2 service quotas will take effect once the changes are approved.<\/p>\n<h3>Vulnerability Testing and Special Requests<\/h3>\n<p>Amazon has published <a href=\"https:\/\/aws.amazon.com\/security\/penetration-testing\/\">Penetration Testing guidance<\/a> which outlines the permitted services which do not require prior approval (such as EC2, RDS, API Gateways, and more).\u00a0 There are also listed prohibited activities (<em>e.g.<\/em>, DNS zone walking via Route53).<\/p>\n<p>If you are doing large scale tests on non-approved services, Amazon will likely notice the this activity and may shut down your servers or disable services. \u00a0This is to help prevent, among other things, <a href=\"https:\/\/aws.amazon.com\/shield\/ddos-attack-protection\/\">Denial of Service<\/a> (DoS\/DDoS) attacks. \u00a0You will receive a notice if this happens in the form of an <a href=\"https:\/\/aws.amazon.com\/premiumsupport\/knowledge-center\/aws-abuse-report\/\">AWS abuse report<\/a>.\u00a0 If you feel you might be at risk of being flagged for such activity, you can file a <a href=\"https:\/\/console.aws.amazon.com\/support\/contacts#\/simulated-events\">Simulated Event Submissions Form<\/a> with AWS to prevent disruption of your tests.<\/p>\n<h3>EC2 Spot Instance Limits<\/h3>\n<p>If you utilize spot instances in conjunction with your load testing you may find yourself hitting this limit which is distinct from on-demand EC2 instances limits.\u00a0 When running a test that exceeds these limits, you may encounter the following message on RedLine13:<\/p>\n<figure id=\"attachment_9869\" class=\"wp-caption aligncenter\" style=\"max-width: 572px\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9869\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/06\/max-spot-instances-exceeded-1024x175.png\" alt=\"&quot;MaxSpotInstanceCount&quot; message on RedLine13\" width=\"572\" height=\"98\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/06\/max-spot-instances-exceeded-1024x175.png 1024w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/06\/max-spot-instances-exceeded-300x51.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/06\/max-spot-instances-exceeded-768x132.png 768w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/06\/max-spot-instances-exceeded-425x73.png 425w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/06\/max-spot-instances-exceeded.png 1313w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><figcaption class=\"wp-caption-text\">You may encounter this message if your spot instance service quota is exceeded for a load test.\u00a0 We also discuss these limitations in a related post comparing <a href=\"https:\/\/www.redline13.com\/blog\/2022\/06\/load-testing-with-aws-spot-vs-on-demand-instances\/\">spot <em>vs<\/em>. on-demand instances<\/a>.<\/figcaption><\/figure>\n<p>Amazon states spot instance limits may increase over time, however you may also request an increase to this service quota similar as described above for on-demand limits.\u00a0 On the <a href=\"https:\/\/console.aws.amazon.com\/support\/home#\/case\/create?issueType=service-limit-increase&amp;limitType=service-code-ec2-spot-instances\">request form<\/a>, be sure to indicate &#8220;<em>EC2 Spot Instances<\/em>&#8220;:<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8124 size-full\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/04-Raise-EC2-Spot-Instance-Limits-with-border.png\" alt=\"\" width=\"987\" height=\"401\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/04-Raise-EC2-Spot-Instance-Limits-with-border.png 987w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/04-Raise-EC2-Spot-Instance-Limits-with-border-300x122.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/04-Raise-EC2-Spot-Instance-Limits-with-border-768x312.png 768w\" sizes=\"auto, (max-width: 987px) 100vw, 987px\" \/><\/p>\n<hr \/>\n<p>If you do not have an Amazon AWS account, you can sign up for one easily at\u00a0<a href=\"http:\/\/aws.amazon.com\/\">http:\/\/aws.amazon.com\/<\/a>.\u00a0 There is no cost to sign up, and you will only pay for the services that are used. \u00a0In a <a href=\"https:\/\/www.redline13.com\/blog\/2021\/04\/estimating-aws-costs-for-load-tests\/\">related blog post<\/a> we describe some of the details to AWS cost estimation in conjunction with RedLine13.<\/p>\n<p>Are you new to RedLine13?\u00a0 Sign up for a\u00a0<a href=\"https:\/\/www.redline13.com\/Service\" target=\"_blank\" rel=\"noopener noreferrer\">free trial account<\/a>\u00a0and start exploring RedLine13 today!<\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are doing large scale load testing, you may run up against EC2 limits or other &#8220;service quotas&#8221; on your AWS account.\u00a0 In this case, you will need a one-time Amazon approval for running your large tests.\u00a0<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":8127,"parent":0,"menu_order":38,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":{"0":"entry","1":"page","2":"publish","3":"author-user","4":"has-excerpt","5":"post-107","7":"has-post-thumbnail"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Amazon Approval for Large Tests - RedLine13<\/title>\n<meta name=\"description\" content=\"You AWS account may have EC2 limits or other &quot;service quotas&quot;. Here we review how to obtain Amazon approval for your large load tests.\" \/>\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\/amazon-approval-for-large-tests\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Amazon Approval for Large Tests - RedLine13\" \/>\n<meta property=\"og:description\" content=\"You AWS account may have EC2 limits or other &quot;service quotas&quot;. Here we review how to obtain Amazon approval for your large load tests.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-28T16:33:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/Title-image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/\",\"name\":\"Amazon Approval for Large Tests - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2022-06-28T01:00:00+00:00\",\"dateModified\":\"2022-06-28T16:33:12+00:00\",\"description\":\"You AWS account may have EC2 limits or other \\\"service quotas\\\". Here we review how to obtain Amazon approval for your large load tests.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Amazon Approval for Large Tests\"}]},{\"@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\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Amazon Approval for Large Tests - RedLine13","description":"You AWS account may have EC2 limits or other \"service quotas\". Here we review how to obtain Amazon approval for your large load tests.","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\/amazon-approval-for-large-tests\/","og_locale":"en_US","og_type":"article","og_title":"Amazon Approval for Large Tests - RedLine13","og_description":"You AWS account may have EC2 limits or other \"service quotas\". Here we review how to obtain Amazon approval for your large load tests.","og_url":"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/","og_site_name":"RedLine13","article_modified_time":"2022-06-28T16:33:12+00:00","og_image":[{"width":400,"height":300,"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2021\/06\/Title-image.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/","url":"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/","name":"Amazon Approval for Large Tests - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2022-06-28T01:00:00+00:00","dateModified":"2022-06-28T16:33:12+00:00","description":"You AWS account may have EC2 limits or other \"service quotas\". Here we review how to obtain Amazon approval for your large load tests.","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/amazon-approval-for-large-tests\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Amazon Approval for Large Tests"}]},{"@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\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/pages\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"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=107"}],"version-history":[{"count":10,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/pages\/107\/revisions"}],"predecessor-version":[{"id":9888,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/pages\/107\/revisions\/9888"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media\/8127"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}