All language subtitles for 17 - SAA EC2 Instances Launch Types Hands On 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
vi Vietnamese Download
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,120 --> 00:00:01,660 ‫So let's have a look at all the ways 2 00:00:01,660 --> 00:00:03,910 ‫we can launch our EC2 instances. 3 00:00:03,910 --> 00:00:06,454 ‫And the first one is using a spot request. 4 00:00:06,454 --> 00:00:08,560 ‫On the right-hand side I click on Spot Requests. 5 00:00:08,560 --> 00:00:11,430 ‫And we can have a look at first the pricing history 6 00:00:11,430 --> 00:00:13,090 ‫for our EC2 instances. 7 00:00:13,090 --> 00:00:15,353 ‫So if we look for example, at a C3 8 00:00:15,353 --> 00:00:20,200 ‫or a C4 large, for example, you're running Linux Unix, 9 00:00:20,200 --> 00:00:22,320 ‫and I'm going to look at three months range. 10 00:00:22,320 --> 00:00:25,200 ‫We can see how the price has evolved over time. 11 00:00:25,200 --> 00:00:27,000 ‫Based on April, May, June, 12 00:00:27,000 --> 00:00:30,840 ‫and we have the on demand price as a black bar right here. 13 00:00:30,840 --> 00:00:33,887 ‫And then we have based on the different AZ, the price. 14 00:00:33,887 --> 00:00:35,340 ‫And as we can see, 15 00:00:35,340 --> 00:00:37,700 ‫well, the price has been quite low and quite stable, 16 00:00:37,700 --> 00:00:40,730 ‫and based on the different range you're looking at, 17 00:00:40,730 --> 00:00:44,420 ‫you're looking at savings of around 69 to 70% 18 00:00:44,420 --> 00:00:45,640 ‫for this type of instance. 19 00:00:45,640 --> 00:00:49,200 ‫So huge savings if you're using a spot instance 20 00:00:49,200 --> 00:00:51,160 ‫of type C for large. 21 00:00:51,160 --> 00:00:52,790 ‫So how do we request a spot instance? 22 00:00:52,790 --> 00:00:56,010 ‫Well, we click on Request Spot Instances. 23 00:00:56,010 --> 00:00:59,510 ‫So I am in my spot fleet request screen 24 00:00:59,510 --> 00:01:01,090 ‫and there's a lot of parameters that I can see 25 00:01:01,090 --> 00:01:03,800 ‫but I wanna go quickly over them just so you get an idea 26 00:01:03,800 --> 00:01:05,300 ‫of how spot fleet request works. 27 00:01:05,300 --> 00:01:07,370 ‫So you can either use a launch templates 28 00:01:07,370 --> 00:01:09,453 ‫or manually configure launch parameters 29 00:01:09,453 --> 00:01:11,300 ‫and you can specify Amazon Linux 2, 30 00:01:11,300 --> 00:01:12,610 ‫the key pair you wanna use, 31 00:01:12,610 --> 00:01:15,090 ‫as well as some additional launch parameters 32 00:01:15,090 --> 00:01:17,730 ‫you would specify if you were to create an EC2 instance. 33 00:01:17,730 --> 00:01:20,650 ‫So this defines how your EC2 instances are created 34 00:01:20,650 --> 00:01:22,010 ‫and this makes sense. 35 00:01:22,010 --> 00:01:23,460 ‫Next, we have request details. 36 00:01:23,460 --> 00:01:25,100 ‫So we have more settings in here. 37 00:01:25,100 --> 00:01:27,270 ‫We can say, what's the max price you wanna have? 38 00:01:27,270 --> 00:01:30,780 ‫When is the request valid from and valid until? 39 00:01:30,780 --> 00:01:32,310 ‫Do we want to terminate the instances 40 00:01:32,310 --> 00:01:34,590 ‫when the request expires or not? 41 00:01:34,590 --> 00:01:37,250 ‫And are we linking these EC2 instances 42 00:01:37,250 --> 00:01:40,790 ‫to one or more classic load balancer or a target group 43 00:01:40,790 --> 00:01:43,400 ‫to have it, for example, for an application balancer? 44 00:01:43,400 --> 00:01:45,620 ‫So we'll use the defaults for this. 45 00:01:45,620 --> 00:01:48,050 ‫Then for target capacity, how many instances 46 00:01:48,050 --> 00:01:51,450 ‫do we wanna have as part of our spot fleets? 47 00:01:51,450 --> 00:01:54,720 ‫So we can say for example, 10 instances, okay. 48 00:01:54,720 --> 00:01:56,920 ‫We could also specify it in terms of vCPUs 49 00:01:56,920 --> 00:01:59,340 ‫if your unit of compute was more important 50 00:01:59,340 --> 00:02:04,000 ‫or megabytes of memory if RAM was more of your target. 51 00:02:04,000 --> 00:02:06,550 ‫So we can say, for example, we want 10 VCPUs. 52 00:02:06,550 --> 00:02:08,810 ‫We want to maintain the target capacity. 53 00:02:08,810 --> 00:02:11,790 ‫And then what happens, well, in case of interruption, 54 00:02:11,790 --> 00:02:13,830 ‫please terminate my instances 55 00:02:13,830 --> 00:02:15,990 ‫but you can also stop them or hibernate them. 56 00:02:15,990 --> 00:02:19,390 ‫Okay, and you can also rebalance the capacity if need be. 57 00:02:19,390 --> 00:02:23,460 ‫So this is just some tweaking around the target capacity. 58 00:02:23,460 --> 00:02:24,940 ‫Then for networking settings. 59 00:02:24,940 --> 00:02:26,710 ‫So where do you want a launch time, 60 00:02:26,710 --> 00:02:28,300 ‫in specific AZs or not, 61 00:02:28,300 --> 00:02:30,330 ‫in a specific VPC or not. 62 00:02:30,330 --> 00:02:31,870 ‫Then for the instance type, 63 00:02:31,870 --> 00:02:34,630 ‫do we want to have some restrictions? 64 00:02:34,630 --> 00:02:37,170 ‫So you can manually select the EC2 instances 65 00:02:37,170 --> 00:02:39,710 ‫that are matching some specific criteria 66 00:02:39,710 --> 00:02:42,670 ‫for your spot fleet request, 67 00:02:42,670 --> 00:02:46,050 ‫for example C3 large, C4 large, and so on, 68 00:02:46,050 --> 00:02:49,860 ‫or you could specify just instances attributes. 69 00:02:49,860 --> 00:02:52,930 ‫And this could say, hey, how many VCPS you want min and max, 70 00:02:52,930 --> 00:02:54,480 ‫how much memory you want men and max, 71 00:02:54,480 --> 00:02:56,520 ‫and then other attributes if you wanted to. 72 00:02:56,520 --> 00:02:58,710 ‫And then based on what you specify right here, 73 00:02:58,710 --> 00:03:01,970 ‫it's going to give you the matching instant types. 74 00:03:01,970 --> 00:03:03,830 ‫And we'll say the more restrictive 75 00:03:03,830 --> 00:03:05,700 ‫you are around these parameters, 76 00:03:05,700 --> 00:03:08,380 ‫the less instant type matches you're going to have. 77 00:03:08,380 --> 00:03:11,000 ‫But the idea is that you want to just launch whatever 78 00:03:11,000 --> 00:03:14,880 ‫AWS has in store for you so that you maximize the savings 79 00:03:14,880 --> 00:03:18,340 ‫while having some compliance 80 00:03:18,340 --> 00:03:20,450 ‫with the restrictions you set before. 81 00:03:20,450 --> 00:03:22,360 ‫Then the allocation strategy. 82 00:03:22,360 --> 00:03:25,150 ‫So do you want to optimize for capacity, so to make sure 83 00:03:25,150 --> 00:03:27,260 ‫that you have the right capacity all the time 84 00:03:27,260 --> 00:03:28,880 ‫or do you wanna have the lowest price 85 00:03:28,880 --> 00:03:31,900 ‫and you're going to get the strongest savings based to that. 86 00:03:31,900 --> 00:03:36,490 ‫And then if you had manually selected instance types here, 87 00:03:36,490 --> 00:03:38,990 ‫for example, one, two, three, four, 88 00:03:38,990 --> 00:03:41,010 ‫then you could select this option right here 89 00:03:41,010 --> 00:03:44,050 ‫to maintain a diverse pool of instances 90 00:03:44,050 --> 00:03:47,070 ‫across all the instant types you selected right here. 91 00:03:47,070 --> 00:03:49,460 ‫So once you've done it, you get some summary 92 00:03:49,460 --> 00:03:51,170 ‫of your fleets request. 93 00:03:51,170 --> 00:03:52,650 ‫And whether it's a strong fleet, 94 00:03:52,650 --> 00:03:55,380 ‫how many instances match and so on and which AZ. 95 00:03:55,380 --> 00:03:58,100 ‫And then it gives you the estimated hourly price 96 00:03:58,100 --> 00:04:02,350 ‫for this fleet, so 0.156 per hour at target capacity 97 00:04:02,350 --> 00:04:04,860 ‫which is going to give me a 73% savings 98 00:04:04,860 --> 00:04:06,200 ‫compared to on demand. 99 00:04:06,200 --> 00:04:08,360 ‫So no need to know exactly how these work, okay, 100 00:04:08,360 --> 00:04:10,690 ‫but just you can see all the parameters you can have 101 00:04:10,690 --> 00:04:12,563 ‫to do a spot fleet request. 102 00:04:13,440 --> 00:04:16,750 ‫If you want to launch a spot instance directly, 103 00:04:16,750 --> 00:04:19,570 ‫just go to Instances and then Launch an Instance. 104 00:04:19,570 --> 00:04:22,030 ‫And in there you can scroll down 105 00:04:22,030 --> 00:04:23,350 ‫and you will find 106 00:04:24,270 --> 00:04:26,850 ‫under the advanced details 107 00:04:26,850 --> 00:04:29,990 ‫the option to request a spot instance. 108 00:04:29,990 --> 00:04:32,870 ‫So if you do so, then you are requesting spot instances. 109 00:04:32,870 --> 00:04:35,940 ‫And by default, the request of the spot price 110 00:04:35,940 --> 00:04:38,630 ‫is capped at the on demand price, 111 00:04:38,630 --> 00:04:40,610 ‫which is quite good but you can customize this. 112 00:04:40,610 --> 00:04:43,680 ‫So you can, for example, enter your own maximum price 113 00:04:43,680 --> 00:04:46,250 ‫if you wanted to per instance, per hour. 114 00:04:46,250 --> 00:04:48,980 ‫Then you can choose the type of request you want. 115 00:04:48,980 --> 00:04:50,800 ‫So by default, it is a one-time request. 116 00:04:50,800 --> 00:04:54,260 ‫That means that whenever you request a spot instance, 117 00:04:54,260 --> 00:04:55,970 ‫in case it gets reclaimed, 118 00:04:55,970 --> 00:04:58,480 ‫it will automatically be terminated. 119 00:04:58,480 --> 00:05:01,870 ‫This is the only correct interruption behavior 120 00:05:01,870 --> 00:05:04,760 ‫or you can choose a persistent type of request. 121 00:05:04,760 --> 00:05:07,350 ‫In that case, then the spot instance 122 00:05:07,350 --> 00:05:08,980 ‫will keep on coming back 123 00:05:08,980 --> 00:05:11,810 ‫when the price requirements are set. 124 00:05:11,810 --> 00:05:15,070 ‫In that case, you have to set a validity of your request. 125 00:05:15,070 --> 00:05:17,770 ‫You say, okay, this request is persistent 126 00:05:17,770 --> 00:05:21,860 ‫until a date or just no expiry, 127 00:05:21,860 --> 00:05:24,330 ‫as well as what happens in case the price 128 00:05:24,330 --> 00:05:26,810 ‫goes over the maximum price you have. 129 00:05:26,810 --> 00:05:29,000 ‫In that case, you have an interruption behavior 130 00:05:29,000 --> 00:05:32,230 ‫of either hibernate or stop. 131 00:05:32,230 --> 00:05:34,210 ‫And finally, you see here block duration. 132 00:05:34,210 --> 00:05:39,210 ‫This is going away on December 31st, 2022. 133 00:05:39,340 --> 00:05:40,860 ‫So I'm not describing it to you right now. 134 00:05:40,860 --> 00:05:44,570 ‫This is a outdated future that you may not even see 135 00:05:44,570 --> 00:05:46,083 ‫on your account right now. 136 00:05:47,310 --> 00:05:49,530 ‫Next let's have a look at all the other options 137 00:05:49,530 --> 00:05:50,690 ‫available to us. 138 00:05:50,690 --> 00:05:53,000 ‫So we have reserved instances 139 00:05:53,000 --> 00:05:55,320 ‫and reserved instances allows us to purchase 140 00:05:55,320 --> 00:05:57,850 ‫a specific reserve instance of a specific type. 141 00:05:57,850 --> 00:06:01,570 ‫For example, we can look for a C5 large 142 00:06:01,570 --> 00:06:03,820 ‫and we can do a search of all the offerings. 143 00:06:03,820 --> 00:06:04,750 ‫And as we can see, 144 00:06:04,750 --> 00:06:06,560 ‫we have different offerings available to us. 145 00:06:06,560 --> 00:06:09,970 ‫For example, we have a 12 months or a 13 months term 146 00:06:09,970 --> 00:06:12,130 ‫and it could be a standard or a convertible type 147 00:06:12,130 --> 00:06:15,830 ‫of instance, and this is all upfront, but we scroll down 148 00:06:15,830 --> 00:06:18,950 ‫we can get all upfront, we can get no upfront, 149 00:06:18,950 --> 00:06:20,740 ‫we can get partial upfront. 150 00:06:20,740 --> 00:06:23,660 ‫We say how many you want, for example we want two of these. 151 00:06:23,660 --> 00:06:26,210 ‫So I'll just have the number two in here. 152 00:06:26,210 --> 00:06:28,640 ‫And then on the right hand side, you can just click 153 00:06:28,640 --> 00:06:32,280 ‫on Add to Cart to add this reserve instance to your cart. 154 00:06:32,280 --> 00:06:34,310 ‫If you click on View Cart, you can have a look 155 00:06:34,310 --> 00:06:37,090 ‫at what type of reserve instance do you want 156 00:06:37,090 --> 00:06:39,140 ‫and then we can order all. 157 00:06:39,140 --> 00:06:41,240 ‫But if you click on that, you will pay a lot of money 158 00:06:41,240 --> 00:06:43,190 ‫so I would suggest not to do this. 159 00:06:43,190 --> 00:06:47,410 ‫As we can see, reserve instances I think will soon go away 160 00:06:47,410 --> 00:06:49,730 ‫because now the AWS Savings Plan 161 00:06:49,730 --> 00:06:51,370 ‫maybe something that's easier to use, 162 00:06:51,370 --> 00:06:53,900 ‫and so this is why it's recommended to use the savings plan. 163 00:06:53,900 --> 00:06:57,790 ‫So the savings plans is available here on the left hand side 164 00:06:57,790 --> 00:07:00,010 ‫which will allow you to dedicate 165 00:07:00,010 --> 00:07:02,930 ‫a specific amount of dollar per hour you spend 166 00:07:02,930 --> 00:07:06,370 ‫on a one to three-year term and gives you flexibility 167 00:07:06,370 --> 00:07:08,730 ‫of how you want to launch your instance. 168 00:07:08,730 --> 00:07:10,720 ‫It gives you flexibility in terms of instance type, 169 00:07:10,720 --> 00:07:12,380 ‫AZs and so on. 170 00:07:12,380 --> 00:07:15,040 ‫So we'll not go over it but it gives you the option. 171 00:07:15,040 --> 00:07:16,600 ‫Next we have dedicated hosts. 172 00:07:16,600 --> 00:07:19,580 ‫So dedicated host is for you to launch a host 173 00:07:19,580 --> 00:07:23,390 ‫that you can access to a lower level kind of hardware 174 00:07:23,390 --> 00:07:25,920 ‫which gives you better licensing pricing. 175 00:07:25,920 --> 00:07:28,290 ‫Which is why if you click on this, 176 00:07:28,290 --> 00:07:30,330 ‫it will direct you to a license manager 177 00:07:30,330 --> 00:07:33,420 ‫which is a way to think in terms of licenses 178 00:07:33,420 --> 00:07:35,230 ‫and not think in terms of hosts. 179 00:07:35,230 --> 00:07:37,040 ‫And in which case it's going to simplify 180 00:07:37,040 --> 00:07:38,780 ‫the management of your dedicated host. 181 00:07:38,780 --> 00:07:40,980 ‫But if you wanted to launch a dedicated host directly 182 00:07:40,980 --> 00:07:44,590 ‫from this UI, you click on Allocate Dedicated Host 183 00:07:44,590 --> 00:07:45,890 ‫then you would name it. 184 00:07:45,890 --> 00:07:49,230 ‫You would specify the instance family, for example C5, 185 00:07:49,230 --> 00:07:50,803 ‫you would specify an AZ. 186 00:07:51,830 --> 00:07:53,530 ‫So on this dedicated host of type C5 187 00:07:53,530 --> 00:07:56,050 ‫we can launch multiple instance types 188 00:07:56,050 --> 00:07:58,490 ‫and then a bunch of settings as you go. 189 00:07:58,490 --> 00:07:59,590 ‫And then you click on Allocate 190 00:07:59,590 --> 00:08:00,810 ‫and you would have a dedicated host. 191 00:08:00,810 --> 00:08:03,280 ‫But again, I will not do this because it will cost you 192 00:08:03,280 --> 00:08:04,500 ‫a lot of money. 193 00:08:04,500 --> 00:08:06,350 ‫Finally for capacity reservations, 194 00:08:06,350 --> 00:08:10,210 ‫this is when you want to ensure that capacity is available 195 00:08:10,210 --> 00:08:13,530 ‫within your EC2 instance launch. 196 00:08:13,530 --> 00:08:16,100 ‫So for example, we're saying, hey, I want to make sure 197 00:08:16,100 --> 00:08:20,230 ‫that I have enough M5 2X large available to me. 198 00:08:20,230 --> 00:08:22,640 ‫So I want them to be in EU central one. 199 00:08:22,640 --> 00:08:27,360 ‫And I want them to have four EC2 instance 200 00:08:27,360 --> 00:08:30,810 ‫of type M5 2X large available to me no matter what, okay? 201 00:08:30,810 --> 00:08:33,810 ‫And then you can say when the reservation ends manually 202 00:08:33,810 --> 00:08:36,400 ‫on a specific time and then this will guarantee 203 00:08:36,400 --> 00:08:38,630 ‫that the instances will be available to you 204 00:08:38,630 --> 00:08:41,220 ‫but you will have to pay for this reservation 205 00:08:41,220 --> 00:08:43,110 ‫regardless whether or not you are launching 206 00:08:43,110 --> 00:08:45,170 ‫your instances in it, okay? 207 00:08:45,170 --> 00:08:47,600 ‫So that's it for this lecture. 208 00:08:47,600 --> 00:08:50,390 ‫We've seen all the ways you launch your EC2 instance types. 209 00:08:50,390 --> 00:08:53,253 ‫I hope you liked it, and I will see you in the next lecture. 17530

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