All language subtitles for 23 - EC2 Instance Status Checks 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,670 --> 00:00:03,330 ‫So let's have a look at status checks. 2 00:00:03,330 --> 00:00:05,560 ‫So status checks on your EC2 instances 3 00:00:05,560 --> 00:00:08,520 ‫are automatic checks done by AWS for you 4 00:00:08,520 --> 00:00:11,310 ‫that will identify hardware and software issues 5 00:00:11,310 --> 00:00:12,900 ‫with your EC2 instances. 6 00:00:12,900 --> 00:00:14,310 ‫So there are two types. 7 00:00:14,310 --> 00:00:17,200 ‫The first type is a system status check, 8 00:00:17,200 --> 00:00:20,590 ‫and this will be a monitoring of problems that will happen 9 00:00:20,590 --> 00:00:23,440 ‫with the systems of AWS directly. 10 00:00:23,440 --> 00:00:26,300 ‫For example, a software or a hardware issue 11 00:00:26,300 --> 00:00:29,750 ‫on the actual physical host that will be used, 12 00:00:29,750 --> 00:00:33,040 ‫that will be the one that your EC2 instance is placed on. 13 00:00:33,040 --> 00:00:33,980 ‫Or for example, 14 00:00:33,980 --> 00:00:37,480 ‫if your host has a loss of system power and so on. 15 00:00:37,480 --> 00:00:40,300 ‫To have an overview of these issues, 16 00:00:40,300 --> 00:00:43,670 ‫the place to look at is the personal health dashboard. 17 00:00:43,670 --> 00:00:46,990 ‫And this will give you information around any scheduled, 18 00:00:46,990 --> 00:00:48,280 ‫critical maintenance by AWS 19 00:00:48,280 --> 00:00:52,520 ‫that will affect your institute instance host, 20 00:00:52,520 --> 00:00:54,770 ‫and therefore you need to act on it. 21 00:00:54,770 --> 00:00:58,170 ‫So a way to act on it is to stop and start your instance. 22 00:00:58,170 --> 00:00:59,090 ‫So let's have a look. 23 00:00:59,090 --> 00:01:01,080 ‫As we can see here, we have a host 1. 24 00:01:01,080 --> 00:01:02,450 ‫This is hidden to us, okay, 25 00:01:02,450 --> 00:01:05,430 ‫but this is what happens in the data center of AWS. 26 00:01:05,430 --> 00:01:09,460 ‫And our easy two instance is launched onto this Host 1. 27 00:01:09,460 --> 00:01:12,180 ‫Then, say that AWS has a hardware failure. 28 00:01:12,180 --> 00:01:14,068 ‫Then this system status check 29 00:01:14,068 --> 00:01:16,400 ‫will be going from zero to one 30 00:01:16,400 --> 00:01:18,460 ‫and what we have to do is to stop 31 00:01:18,460 --> 00:01:20,420 ‫and start the EC2 instance. 32 00:01:20,420 --> 00:01:23,610 ‫So anytime you stop an EC2 instance, 33 00:01:23,610 --> 00:01:24,990 ‫and then you start it again. 34 00:01:24,990 --> 00:01:26,030 ‫So not a reboot, right? 35 00:01:26,030 --> 00:01:27,960 ‫But a stop and a start. 36 00:01:27,960 --> 00:01:29,960 ‫Then internally what's going to happen 37 00:01:29,960 --> 00:01:33,300 ‫is that your EC2 instance will automatically be migrated 38 00:01:33,300 --> 00:01:36,560 ‫to a different host within AWS, 39 00:01:36,560 --> 00:01:38,540 ‫which also explains why it will get 40 00:01:38,540 --> 00:01:40,478 ‫a new difference public IP, 41 00:01:40,478 --> 00:01:42,430 ‫because this will be the public IP 42 00:01:42,430 --> 00:01:44,210 ‫of the host that you're on. 43 00:01:44,210 --> 00:01:46,970 ‫So this is a different host migration. 44 00:01:46,970 --> 00:01:50,220 ‫So it goes from a Host 1 to Host 2. 45 00:01:50,220 --> 00:01:52,530 ‫And because we'll just stop and start it, 46 00:01:52,530 --> 00:01:54,190 ‫then we know that it's moved 47 00:01:54,190 --> 00:01:55,740 ‫and the Host 2 does not have any issues. 48 00:01:55,740 --> 00:01:59,260 ‫And so therefore we've solved our hardware failure problem. 49 00:01:59,260 --> 00:02:02,610 ‫The second type of problem is an instance status check. 50 00:02:02,610 --> 00:02:04,000 ‫This is to monitor software 51 00:02:04,000 --> 00:02:06,040 ‫and network configuration of your instance. 52 00:02:06,040 --> 00:02:08,710 ‫For example, the network configuration becomes invalid, 53 00:02:08,710 --> 00:02:11,160 ‫there's exhausted memory, this kind of stuff. 54 00:02:11,160 --> 00:02:13,270 ‫In which case, to just resolve this issue, 55 00:02:13,270 --> 00:02:15,570 ‫you should just reboot the EC2 instance 56 00:02:15,570 --> 00:02:18,290 ‫or change the instance configuration. 57 00:02:18,290 --> 00:02:20,530 ‫So these are the two types of status checks 58 00:02:20,530 --> 00:02:21,820 ‫on your EC2 instance, 59 00:02:21,820 --> 00:02:24,710 ‫but there is a way for you to automate the recovery 60 00:02:24,710 --> 00:02:26,946 ‫and look at CloudWatch metrics. 61 00:02:26,946 --> 00:02:30,308 ‫So CloudWatch Metrics are: StatusCheckFailed_System, 62 00:02:30,308 --> 00:02:31,960 ‫StatusCheckFailed_Instance, 63 00:02:31,960 --> 00:02:34,840 ‫or StatusCheckFailed if you want to regroup 64 00:02:34,840 --> 00:02:37,480 ‫these two issues in one metric. 65 00:02:37,480 --> 00:02:39,010 ‫So option one is choose a CloudWatch Alarm 66 00:02:39,010 --> 00:02:40,780 ‫to recover your EC2 instance. 67 00:02:40,780 --> 00:02:43,360 ‫So there is an action called recover instance. 68 00:02:43,360 --> 00:02:45,900 ‫And when it's being used by CloudWatch Alarm, 69 00:02:45,900 --> 00:02:49,610 ‫it will recover the instance by using the same private IP, 70 00:02:49,610 --> 00:02:51,370 ‫the same public IP, the same EIP, 71 00:02:51,370 --> 00:02:54,410 ‫the same metadata and the same placement group. 72 00:02:54,410 --> 00:02:55,680 ‫You can also send a notification 73 00:02:55,680 --> 00:02:58,260 ‫because it's a CloudWatch Alarm, likely to SNS. 74 00:02:58,260 --> 00:02:59,770 ‫So your EC2 instance 75 00:02:59,770 --> 00:03:01,700 ‫will be monitored by CloudWatch Metrics, 76 00:03:01,700 --> 00:03:04,860 ‫for example, for the status checked failed system metric. 77 00:03:04,860 --> 00:03:07,500 ‫The CloudWatch Alarm will be triggered 78 00:03:07,500 --> 00:03:10,640 ‫on top of your CloudWatch Metric in case it goes to one, 79 00:03:10,640 --> 00:03:12,360 ‫and the action of your CloudWatch Alarm 80 00:03:12,360 --> 00:03:14,480 ‫will be to recover your EC2 instance 81 00:03:14,480 --> 00:03:17,000 ‫by placing it somewhere else. 82 00:03:17,000 --> 00:03:18,860 ‫You can also send a notification to Amazon SNS, 83 00:03:18,860 --> 00:03:19,970 ‫as I just said. 84 00:03:19,970 --> 00:03:23,455 ‫The option two, which is a bit less conventional, 85 00:03:23,455 --> 00:03:25,630 ‫is to use an auto scaling group 86 00:03:25,630 --> 00:03:28,440 ‫with a min, max and desired of one. 87 00:03:28,440 --> 00:03:31,930 ‫And within health check to check for the status check 88 00:03:31,930 --> 00:03:33,340 ‫of your EC2 instance, 89 00:03:33,340 --> 00:03:35,640 ‫what will happen is that in case there is an issue 90 00:03:35,640 --> 00:03:36,730 ‫with your EC2 instance, 91 00:03:36,730 --> 00:03:38,900 ‫it will be terminated by your auto-scaling group. 92 00:03:38,900 --> 00:03:40,220 ‫And therefore, because we have a min, 93 00:03:40,220 --> 00:03:41,750 ‫max and desired to one, 94 00:03:41,750 --> 00:03:43,300 ‫a new EC2 instance will be launched 95 00:03:43,300 --> 00:03:45,260 ‫within your same auto-scaling group. 96 00:03:45,260 --> 00:03:48,230 ‫So in this case, you don't have the same EBS volumes, 97 00:03:48,230 --> 00:03:49,500 ‫you don't have the same private IP, 98 00:03:49,500 --> 00:03:51,380 ‫you don't have the same elastic IP, 99 00:03:51,380 --> 00:03:54,320 ‫but at least your instance is back up and running. 100 00:03:54,320 --> 00:03:56,010 ‫And if you automate things well, 101 00:03:56,010 --> 00:03:58,710 ‫then you could maybe regain back its states. 102 00:03:58,710 --> 00:03:59,960 ‫Okay, so these are two options. 103 00:03:59,960 --> 00:04:02,500 ‫Obviously option one's going to be much preferred 104 00:04:02,500 --> 00:04:06,160 ‫if you have emphasis on one specific EC2 instance. 105 00:04:06,160 --> 00:04:07,950 ‫So that's it for this lecture, I hope you liked it 106 00:04:07,950 --> 00:04:09,900 ‫and I will see you in the next lecture. 8573

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