1 00:00:07,251 --> 00:00:09,128 - Now let's review another demo 2 00:00:09,128 --> 00:00:12,795 of creating an EBS volume within Amazon EC2. 3 00:00:14,767 --> 00:00:18,401 Here we are back in the console from the console dashboard. 4 00:00:18,401 --> 00:00:20,484 I'm gonna click into EC2. 5 00:00:22,894 --> 00:00:25,386 I'm going to come down here 6 00:00:25,386 --> 00:00:27,886 to Elastic Blockstore volumes. 7 00:00:29,240 --> 00:00:31,384 And you'll see that we have one, but 8 00:00:31,384 --> 00:00:33,173 this one is the root volume. 9 00:00:33,173 --> 00:00:34,975 You can see that it's in use. 10 00:00:34,975 --> 00:00:36,261 It's considered to be in use. 11 00:00:36,261 --> 00:00:39,552 This is the root volume of our Windows instance 12 00:00:39,552 --> 00:00:41,947 that's still running. 13 00:00:41,947 --> 00:00:43,990 But I'm gonna create a new one, perhaps a new one 14 00:00:43,990 --> 00:00:46,797 that I want to attach to an instance and use 15 00:00:46,797 --> 00:00:50,872 as a data volume apart from the root volume. 16 00:00:50,872 --> 00:00:53,240 So I'm gonna click create. 17 00:00:53,240 --> 00:00:57,328 From here, I can choose whether or not I want 18 00:00:57,328 --> 00:00:59,495 General Purpose SSD, 19 00:00:59,495 --> 00:01:01,255 Provisioned IOPS, 20 00:01:01,255 --> 00:01:05,305 Magnetic, Throughput Optimized, or Cold storage. 21 00:01:05,305 --> 00:01:08,530 So, for this particular case, I'm just gonna 22 00:01:08,530 --> 00:01:10,376 choose a General Purpose. 23 00:01:10,376 --> 00:01:13,127 It's just gonna be a basic data volume. 24 00:01:13,127 --> 00:01:16,256 I'm going to say, leave it at 100 gigs. 25 00:01:16,256 --> 00:01:19,390 I'm gonna make sure that this one is in 2b 26 00:01:19,390 --> 00:01:23,229 because that's where we put our Windows instance. 27 00:01:23,229 --> 00:01:26,048 So I need to make sure that this volume is in the same 28 00:01:26,048 --> 00:01:28,684 availability zone as the instance to which 29 00:01:28,684 --> 00:01:30,351 I want to attach it. 30 00:01:31,728 --> 00:01:34,696 Now I have the option to encrypt the volume if I wanted to. 31 00:01:34,696 --> 00:01:38,395 For this particular demo, I'm not gonna worry about that. 32 00:01:38,395 --> 00:01:41,263 I'm gonna go ahead and click create. 33 00:01:41,263 --> 00:01:43,596 And then you'll see that the 34 00:01:45,512 --> 00:01:47,732 volume is in a creating state. 35 00:01:47,732 --> 00:01:50,788 So it takes a few minutes to make that volume available. 36 00:01:50,788 --> 00:01:54,054 It's allocating the storage behind the scenes. 37 00:01:54,054 --> 00:01:58,245 So here, I might call this one Data Volume, 38 00:01:58,245 --> 00:02:02,970 just to give it a name and keep my environment organized. 39 00:02:02,970 --> 00:02:05,270 And there we go, now you can see that 40 00:02:05,270 --> 00:02:08,437 the state of that volume is available. 41 00:02:10,862 --> 00:02:13,778 That means that it so far is not attached 42 00:02:13,778 --> 00:02:16,012 to any particular instance. 43 00:02:16,012 --> 00:02:19,025 So, we could then use it however we want. 44 00:02:19,025 --> 00:02:21,008 We can attach it to whatever instance we want, 45 00:02:21,008 --> 00:02:25,175 as long as the instance is in the same availability zone. 46 00:02:26,569 --> 00:02:30,799 So I'll go ahead and create one more while we're here, 47 00:02:30,799 --> 00:02:33,696 and make this one a Provisioned IOPS. 48 00:02:33,696 --> 00:02:37,539 And so I'm gonna say, you know what, I want a 100 gig volume 49 00:02:37,539 --> 00:02:40,945 and where the General Purpose would have a baseline of 50 00:02:40,945 --> 00:02:44,099 about 300 IOPS, here I can say, you know what, 51 00:02:44,099 --> 00:02:45,222 I need more than that. 52 00:02:45,222 --> 00:02:49,389 I need 1,000 IOPS, and I'm also gonna put this one in 2b. 53 00:02:50,622 --> 00:02:52,890 So this is how we would go about creating a 54 00:02:52,890 --> 00:02:56,260 Provisioned IOPS volume, by specifying the size 55 00:02:56,260 --> 00:02:59,260 and the degree of IOPS that we need. 56 00:03:00,155 --> 00:03:01,700 I'm gonna go ahead and hit create. 57 00:03:01,700 --> 00:03:05,275 And again, I'm gonna call this one 58 00:03:05,275 --> 00:03:07,108 Data Volume High IOPS. 59 00:03:12,989 --> 00:03:13,822 And there we go. 60 00:03:13,822 --> 00:03:16,988 You can see that our General Purpose 61 00:03:16,988 --> 00:03:19,721 has a baseline of about 300 62 00:03:19,721 --> 00:03:23,518 with the ability to burst up to 3,000. 63 00:03:23,518 --> 00:03:26,581 But our Provisioned IOPS will guarantee us 64 00:03:26,581 --> 00:03:30,939 a consistent performance level of 1,000 IOPS. 65 00:03:30,939 --> 00:03:34,772 So that is creating EBS volumes in Amazon EC2.