{"id":2397,"date":"2017-03-08T16:29:15","date_gmt":"2017-03-08T22:29:15","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=2397"},"modified":"2021-11-21T12:42:28","modified_gmt":"2021-11-21T18:42:28","slug":"aws-questions","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/2397","title":{"rendered":"AWS Questions: Elastic Load Balancer"},"content":{"rendered":"<p>More question answered from an AWS course.<\/p>\n<ul>\n<li>Does the AWS ELB have the ability to throttle requests, to stop invalid\/illegal traffic &#8211; if someone refreshes a page 10 times in 5 seconds and I want to block the unnecessary requests from the refreshes?\n<ul>\n<li><span style=\"font-weight: 400;\">no throttling is available with the <a href=\"https:\/\/aws.amazon.com\/elasticloadbalancing\/classicloadbalancer\/\">classic ELB<\/a>. \u00a0However, check out the <a href=\"https:\/\/aws.amazon.com\/elasticloadbalancing\/applicationloadbalancer\/\">Application Load Balancer<\/a>, which has a <a href=\"https:\/\/aws.amazon.com\/about-aws\/whats-new\/2016\/12\/AWS-WAF-now-available-on-Application-Load-Balancer\/\">WAF integrated with it<\/a>.\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<li>What is the availability of the ELB component?\n<ul>\n<li>I couldn&#8217;t find firm numbers, but here&#8217;s an interesting article about <a href=\"https:\/\/aws.amazon.com\/articles\/1636185810492479\">ELB best practices<\/a>.<\/li>\n<\/ul>\n<\/li>\n<li>I<span style=\"font-weight: 400;\">n a DDOS attack, since there is a lot of traffic to your environment, do you get charged for the additional traffic?<\/span>\n<ul>\n<li>Depending on the attack type, not if you are fronted by an ELB or set up your security groups\/NACLs to discard the traffic. \u00a0From the <a href=\"https:\/\/d0.awsstatic.com\/whitepapers\/Security\/DDoS_White_Paper.pdf\">DDOS whitepaper<\/a>: &#8220;When [an ELB detects certain types of attacks], it will automatically scale to absorb the additional traffic but you will not incur any additional charges.&#8221;<\/li>\n<\/ul>\n<\/li>\n<li>When an instance is decommissioned from an ASG, does the ELB know not to send new sessions to that ASG because the instance is getting ready to shut down?\n<ul>\n<li>Yes: <a href=\"http:\/\/docs.aws.amazon.com\/autoscaling\/latest\/userguide\/detach-instance-asg.html\">&#8220;If connection draining is enabled for your load balancer, Auto Scaling waits for in-flight requests to complete.&#8221;<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>More question answered from an AWS course. Does the AWS ELB have the ability to throttle requests, to stop invalid\/illegal traffic &#8211; if someone refreshes a page 10 times in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[],"class_list":["post-2397","post","type-post","status-publish","format-standard","hentry","category-aws"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2397"}],"version-history":[{"count":3,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2397\/revisions"}],"predecessor-version":[{"id":2400,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2397\/revisions\/2400"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}