{"id":14183,"date":"2021-06-09T21:11:02","date_gmt":"2021-06-09T14:11:02","guid":{"rendered":"https:\/\/renovacloud.com\/?p=14183"},"modified":"2021-06-09T21:11:02","modified_gmt":"2021-06-09T14:11:02","slug":"what-is-an-ecu-an-ec2-compute-unit","status":"publish","type":"post","link":"https:\/\/renovacloud.com\/en\/what-is-an-ecu-an-ec2-compute-unit\/","title":{"rendered":"What is an ECU? An EC2 Compute Unit"},"content":{"rendered":"<p id=\"da59\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">Every AWS customer finds themselves in the EC2 console, starting an instance, trying to choose an instance type.<\/p>\n<p id=\"f35f\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">Today, there are\u00a0<a class=\"es hi\" href=\"https:\/\/aws.amazon.com\/ec2\/instance-types\/\" rel=\"noopener nofollow\">over 300 different instance types<\/a>, all with their own configurations of CPU, memory, and storage (among other things).<\/p>\n<h3 id=\"a046\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\"><strong class=\"gm hj\">With so many options at your disposal, how do you know which to use?<\/strong><\/h3>\n<p id=\"e508\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">Over time, Amazon has tried different ways to make the list easier to navigate.<\/p>\n<p id=\"d286\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">For example, instance types are grouped into \u201cfamilies,\u201d and different families have different characteristics \u2014 each optimized for different kinds of workload.<\/p>\n<figure class=\"hl hm hn ho hp hq bv bw paragraph-image\">\n<div class=\"hr hs dv ht aj hu\" tabindex=\"0\" role=\"button\">\n<div class=\"bv bw hk\"><img loading=\"lazy\" decoding=\"async\" class=\"aj hv hw\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/max\/4096\/1*KBDNNWgF-Jp0PqvMZ0QBfw.jpeg\" alt=\"\" width=\"2048\" height=\"1368\" \/><\/div>\n<\/div>\n<\/figure>\n<p id=\"473e\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">One approach was the\u00a0<strong class=\"gm hj\">EC2 Compute Unit<\/strong>\u00a0(or\u00a0<strong class=\"gm hj\">\u201cECU\u201d<\/strong>), a unit that Amazon created to measure the relative CPU performance of an instance type.<\/p>\n<p id=\"473f\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">Looking at the number of ECUs would allow you to compare CPU performance; an instance type with two ECUs was twice as powerful as one with one ECU, and so on.<\/p>\n<p id=\"fd2d\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\"><strong class=\"gm hj\">The ECU is just a measure of relative CPU performance, it was never meant to include memory, storage, or networking, but the name was a frequent source of confusion.<\/strong><\/p>\n<p id=\"9781\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">AWS replaced the ECU by the vCPU \u2014 which is a better name and a simpler concept.<\/p>\n<h3 id=\"3bfe\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\"><strong class=\"gm hj\">Act I: You can have any size, as long as it\u2019s Small<\/strong><\/h3>\n<p id=\"e802\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">Launched in mid-2006, EC2 was one of the first AWS services \u2014 hot on the heels of SQS and S3.<\/p>\n<p id=\"919e\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">You can still read\u00a0<a class=\"es hi\" href=\"https:\/\/aws.amazon.com\/blogs\/aws\/amazon_ec2_beta\/\" rel=\"noopener nofollow\">Jeff Barr\u2019s blog post<\/a>\u00a0announcing the service, with an explanation of scalability that works as well today as it did 15 years ago.<\/p>\n<p id=\"6e71\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">In that first release, there was no configurability; all instances were created equal. You\u2019d get one size, and you\u2019d like it. The original instance type was renamed \u201cSmall,\u201d and they added \u201cLarge\u201d and \u201cExtra Large\u201d \u2014 with more CPU, memory, and storage to match.<\/p>\n<h5 id=\"6564\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\"><strong class=\"gm hj\">Three instances. One unit to compare them. Simple so far. Right?<\/strong><\/h5>\n<figure class=\"hl hm hn ho hp hq bv bw paragraph-image\">\n<div class=\"hr hs dv ht aj hu\" tabindex=\"0\" role=\"button\">\n<div class=\"bv bw hx\">\n<div class=\"id s dv ie\">\n<div class=\"if ig s\">\n<div class=\"hy hz t u v ia aj bb ib ic\"><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"jy qs t u v ia aj c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/max\/960\/1*ZXNEokkzzWB707g9-j6_tw.jpeg\" sizes=\"auto, 700px\" srcset=\"https:\/\/miro.medium.com\/max\/276\/1*ZXNEokkzzWB707g9-j6_tw.jpeg 276w, https:\/\/miro.medium.com\/max\/552\/1*ZXNEokkzzWB707g9-j6_tw.jpeg 552w, https:\/\/miro.medium.com\/max\/640\/1*ZXNEokkzzWB707g9-j6_tw.jpeg 640w, https:\/\/miro.medium.com\/max\/700\/1*ZXNEokkzzWB707g9-j6_tw.jpeg 700w\" alt=\"\" width=\"960\" height=\"718\" \/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/figure>\n<h3><\/h3>\n<h3 id=\"2944\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\"><strong class=\"gm hj\">Act II: The golden years of ECU<\/strong><\/h3>\n<p id=\"b799\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">Even with the first three instance types, the EC2 Compute Unit could be confusing.<\/p>\n<p id=\"d2fe\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">The new instance types were larger in every dimension \u2014 CPU power, memory, and disk storage \u2014 and all three of these factors will affect the performance of an instance, not just the CPU.<\/p>\n<p id=\"de84\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">Although the EC2 Compute Unit was meant to be a measure of relative CPU performance, it was easy to get the impression that it included other factors.<\/p>\n<p id=\"50f2\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">After 2007, new instance types started to come thick and fast \u2014 not just a neat line, but more and more choices of CPU, memory, and storage.<\/p>\n<p id=\"64e5\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">Instance types became specialized for particular workloads, and AWS stuck to the ECU as a way to compare their CPU performance. Whenever they introduced a new instance type, the spec sheet would include\u00a0<a class=\"es hi\" href=\"https:\/\/web.archive.org\/web\/20120205222345\/https:\/aws.amazon.com\/ec2\/instance-types\/\" rel=\"noopener nofollow\">how many ECUs it had<\/a>.<\/p>\n<h6 id=\"3826\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\"><strong class=\"gm hj\">For customers, the ECU helped make sense of the growing list of instance types. But it took a while for new EC2 users to understand.<\/strong><\/h6>\n<h6 id=\"1fd6\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\"><strong class=\"gm hj\">It wasn\u2019t always clear that ECU was only a measure of CPU performance, and it was an Amazon-specific unit that was hard to compare with other providers.<\/strong><\/h6>\n<p id=\"07a9\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">For Amazon, the ECU allowed them to provide consistent CPU capacity for each instance type, even as they were busy upgrading the underlying hardware.<\/p>\n<p id=\"c34f\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">As Amazon installed newer and faster infrastructure, they could run instance types with the same capacity as instance types running on the older infrastructure. The hardware would gradually change, and most customers never noticed.<\/p>\n<p id=\"5fb3\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\"><strong class=\"gm hj\">If you have an EC2 deployment that\u2019s working, it\u2019ll keep working, all the way back to that day 1 instance type (today called the m1.small).<\/strong><\/p>\n<h3 id=\"cf9d\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\"><strong class=\"gm hj\">Act III: Exit, pursued by a pair (of alternative measures)<\/strong><\/h3>\n<p id=\"36ac\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">In 2014 The ECU just started to disappear from the EC2 console and documentation.<\/p>\n<p id=\"90c9\" class=\"gk gl cr gm b gn go gp gq gr gs gt gu gv gw gx gy gz ha hb hc hd he hf hg hh cj do\" data-selectable-paragraph=\"\">This change was about making EC2 simpler to understand. The ECU had been a persistent source of confusion for customers, and dropping it meant one less thing for new customers to understand. Switching to standard metrics made EC2 instance types easier to compare \u2014 not harder.<\/p>\n<p data-selectable-paragraph=\"\">Author: Doron Shachar<br \/>\nCEO at <a href=\"https:\/\/renovacloud.com\">Renova Cloud<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every AWS customer finds themselves in the EC2 console, starting an instance, trying to choose an instance type. Today, there are\u00a0over 300 different instance types, all with their own configurations of CPU, memory, and storage (among other things). With so many options at your disposal, how do you know which to use? Over time, Amazon [&#8230;]\n","protected":false},"author":2,"featured_media":14184,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[35,776,336,775],"class_list":["post-14183","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-and-analytics","tag-aws","tag-cpu","tag-ec2-en","tag-ecu"],"_links":{"self":[{"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/posts\/14183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/comments?post=14183"}],"version-history":[{"count":0,"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/posts\/14183\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/media\/14184"}],"wp:attachment":[{"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/media?parent=14183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/categories?post=14183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/renovacloud.com\/en\/wp-json\/wp\/v2\/tags?post=14183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}