All language subtitles for 20 - CloudWatch Metrics for EC2 English

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (SoranĂ®)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,280 --> 00:00:02,620 ‫Okay, this is super important for the exam 2 00:00:02,620 --> 00:00:06,010 ‫to know how CloudWatch is linked to EC2, 3 00:00:06,010 --> 00:00:09,167 ‫super, super important so let's go ahead and see this. 4 00:00:09,167 --> 00:00:12,140 ‫AWS provides some metric for your EC2 instances 5 00:00:12,140 --> 00:00:14,750 ‫and AWS will push these metrics for you. 6 00:00:14,750 --> 00:00:17,380 ‫You have some Basic Monitoring such as 7 00:00:17,380 --> 00:00:21,290 ‫the metrics will be collected at five minutes interval. 8 00:00:21,290 --> 00:00:23,760 ‫But you can enable Detailed Monitoring 9 00:00:23,760 --> 00:00:25,610 ‫in which case these metrics will be collected 10 00:00:25,610 --> 00:00:28,000 ‫at a one minute interval. 11 00:00:28,000 --> 00:00:30,430 ‫And these metrics include CPU, Network, 12 00:00:30,430 --> 00:00:32,990 ‫Disk and Status Check metric. 13 00:00:32,990 --> 00:00:36,210 ‫Remember these four, they're very, very important. 14 00:00:36,210 --> 00:00:39,410 ‫Then you're able to use custom metrics and custom metrics 15 00:00:39,410 --> 00:00:42,500 ‫by definition, they're yours to push, they're custom. 16 00:00:42,500 --> 00:00:44,150 ‫And so the basic resolution 17 00:00:44,150 --> 00:00:46,330 ‫of your custom metric is one minute, 18 00:00:46,330 --> 00:00:49,120 ‫but you can go into high resolution custom metric, 19 00:00:49,120 --> 00:00:51,490 ‫which has all the way to one second. 20 00:00:51,490 --> 00:00:54,190 ‫And the custom metrics for EC2 you may want to push, 21 00:00:54,190 --> 00:00:56,800 ‫well that includes RAM or application level metrics, 22 00:00:56,800 --> 00:00:58,100 ‫for example. 23 00:00:58,100 --> 00:01:00,270 ‫If you do do that, then too you have to make sure 24 00:01:00,270 --> 00:01:03,180 ‫that your EC2 instance does have an IAM role 25 00:01:03,180 --> 00:01:05,933 ‫that allows it to push metrics to CloudWatch. 26 00:01:06,780 --> 00:01:09,780 ‫So all the metrics included for EC2, you need to know them. 27 00:01:09,780 --> 00:01:12,800 ‫So the first metric you need to know is CPU. 28 00:01:12,800 --> 00:01:15,770 ‫We will get the CPU Utilization as a metric 29 00:01:15,770 --> 00:01:20,580 ‫and also in case we have T2 or T3 instances that do burst, 30 00:01:20,580 --> 00:01:23,220 ‫then we can get the Credit Usage for the burst and the 31 00:01:23,220 --> 00:01:24,940 ‫credit balance. 32 00:01:24,940 --> 00:01:27,810 ‫For the Network we're able to figure out how much network 33 00:01:27,810 --> 00:01:31,150 ‫is going in our instance and out of our instance. 34 00:01:31,150 --> 00:01:33,290 ‫For the Status Check is basically checking whether 35 00:01:33,290 --> 00:01:35,000 ‫or not our instance is healthy. 36 00:01:35,000 --> 00:01:36,800 ‫We get an instant status. 37 00:01:36,800 --> 00:01:41,040 ‫This is Amazon checking if the EC2VM is working 38 00:01:41,040 --> 00:01:44,030 ‫or a system status, which is Amazon checking 39 00:01:44,030 --> 00:01:46,620 ‫if the underlying hardware is working. 40 00:01:46,620 --> 00:01:48,950 ‫And so these are very important ones. 41 00:01:48,950 --> 00:01:50,630 ‫These are Amazon health checks, 42 00:01:50,630 --> 00:01:52,250 ‫so you don't have any controls over that, 43 00:01:52,250 --> 00:01:54,310 ‫but it basically gives you an idea and you need to be able 44 00:01:54,310 --> 00:01:56,740 ‫to differentiate between your instance status 45 00:01:56,740 --> 00:01:58,490 ‫and your system status. 46 00:01:58,490 --> 00:02:00,990 ‫Finally, only for instance stores, 47 00:02:00,990 --> 00:02:04,130 ‫instance store back EC2 instances, 48 00:02:04,130 --> 00:02:05,770 ‫we get disc information, 49 00:02:05,770 --> 00:02:07,610 ‫we'll get the read and write operations 50 00:02:07,610 --> 00:02:10,670 ‫or bytes for our instance store. 51 00:02:10,670 --> 00:02:15,670 ‫And finally RAM is not included in the AWS EC2 metrics. 52 00:02:15,890 --> 00:02:18,950 ‫This is a common question at the exam, they ask you, 53 00:02:18,950 --> 00:02:21,040 ‫can you get the RAM from CloudWatch? 54 00:02:21,040 --> 00:02:24,560 ‫No, you cannot, AWS does not push the Ram usage 55 00:02:24,560 --> 00:02:27,240 ‫in CloudWatch, it is for yours to push. 56 00:02:27,240 --> 00:02:29,990 ‫Okay, so let's have a look at our monitoring metrics 57 00:02:29,990 --> 00:02:31,050 ‫for our EC2 instance. 58 00:02:31,050 --> 00:02:33,820 ‫So we are going in this monitoring tab 59 00:02:33,820 --> 00:02:36,240 ‫and then we can have a look at all the metrics in here 60 00:02:36,240 --> 00:02:38,240 ‫which I can add into a cloud dashboard 61 00:02:38,240 --> 00:02:40,950 ‫to make it a little easier to see. 62 00:02:40,950 --> 00:02:45,950 ‫So I can create a new dashboard and I'll call it EC2 Metrics 63 00:02:47,060 --> 00:02:50,860 ‫and okay, click on add to dashboard 64 00:02:50,860 --> 00:02:53,680 ‫and that's my dashboard name, I'll just call it EC2 65 00:02:55,550 --> 00:02:57,513 ‫and then click on creates. 66 00:02:57,513 --> 00:03:00,300 ‫Here we go and then add to dashboard. 67 00:03:00,300 --> 00:03:02,350 ‫So I am in my dashboard from CloudWatch 68 00:03:02,350 --> 00:03:04,560 ‫and we can have a look at all the metrics. 69 00:03:04,560 --> 00:03:07,070 ‫So first of all, CPU utilization, we know it 70 00:03:07,070 --> 00:03:09,000 ‫so this is something that can be varying 71 00:03:09,000 --> 00:03:10,430 ‫between zero and 100% 72 00:03:10,430 --> 00:03:12,830 ‫and this is a very common metric to monitor. 73 00:03:12,830 --> 00:03:16,140 ‫Status checks is going to be something we'll see soon 74 00:03:16,140 --> 00:03:18,320 ‫which is around how to have a look at 75 00:03:18,320 --> 00:03:21,150 ‫if your EC2 instances is having a failure 76 00:03:21,150 --> 00:03:23,580 ‫on the hardware level or the software level. 77 00:03:23,580 --> 00:03:26,950 ‫And so we can have the metrics on the failure 78 00:03:26,950 --> 00:03:29,200 ‫by being between zero and one. 79 00:03:29,200 --> 00:03:30,730 ‫Network in and out is quite obvious 80 00:03:30,730 --> 00:03:32,880 ‫which is how much network goes in and out 81 00:03:32,880 --> 00:03:35,810 ‫of your EC2 instance and number of packets as well. 82 00:03:35,810 --> 00:03:39,250 ‫Disk read and disk writes look like they're zero 83 00:03:39,250 --> 00:03:42,070 ‫and it's normal because we have an EBS volume attached 84 00:03:42,070 --> 00:03:43,610 ‫to our EC2 instance. 85 00:03:43,610 --> 00:03:46,900 ‫The disk reads and writes metrics are going to be seen 86 00:03:46,900 --> 00:03:49,370 ‫on the EBS volume itself, okay, 87 00:03:49,370 --> 00:03:52,390 ‫but if your EC2 instance was an EC2 instance 88 00:03:52,390 --> 00:03:56,250 ‫with an instance store, that means that the drive 89 00:03:56,250 --> 00:03:58,766 ‫and the storage is directly physically attached 90 00:03:58,766 --> 00:04:00,580 ‫to your EC2 instance, 91 00:04:00,580 --> 00:04:03,560 ‫then you would see these metrics being populated okay? 92 00:04:03,560 --> 00:04:06,960 ‫This is something common to know and to be aware of. 93 00:04:06,960 --> 00:04:11,130 ‫Finally, for CPU credit usage, this is going to be seen here 94 00:04:11,130 --> 00:04:14,460 ‫for burstable type of instances, AWS will be a zero. 95 00:04:14,460 --> 00:04:17,340 ‫And we can have also a look at the CPU credit balance. 96 00:04:17,340 --> 00:04:20,120 ‫As we can see as we're not using our EC2 instance right now, 97 00:04:20,120 --> 00:04:23,820 ‫the CPU credit balance is going up, up, up, over time. 98 00:04:23,820 --> 00:04:26,680 ‫And finally, if you wanted to enable detailed monitoring 99 00:04:26,680 --> 00:04:28,520 ‫for your EC2 instance, this is how you would do it. 100 00:04:28,520 --> 00:04:29,480 ‫So you click on and click on monitoring 101 00:04:29,480 --> 00:04:31,530 ‫and click on manage detailed monitoring 102 00:04:31,530 --> 00:04:32,760 ‫and you can enable it. 103 00:04:32,760 --> 00:04:34,240 ‫So this is going to show you graphs 104 00:04:34,240 --> 00:04:36,850 ‫with a one minute period instead of five. 105 00:04:36,850 --> 00:04:38,410 ‫So right now this is a five minute period, 106 00:04:38,410 --> 00:04:40,630 ‫but we can go into one minute period 107 00:04:40,630 --> 00:04:42,340 ‫but you're going to incur extra costs 108 00:04:42,340 --> 00:04:44,530 ‫if you do enable detailed monitoring, 109 00:04:44,530 --> 00:04:46,210 ‫which I will not do, okay? 110 00:04:46,210 --> 00:04:47,090 ‫So that's it for this lecture, 111 00:04:47,090 --> 00:04:50,420 ‫I hope you liked it and make sure at the end 112 00:04:50,420 --> 00:04:52,640 ‫to delete your cloud dashboard. 113 00:04:52,640 --> 00:04:55,150 ‫So delete this dashboard and you're good to go. 114 00:04:55,150 --> 00:04:56,900 ‫I will see you in the next lecture. 9545

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.