From the course: AWS: Storage and Data Management
Unlock the full course today
Join today to access over 23,400 courses taught by industry experts.
Detach and reattach an EBS volume - Amazon Web Services (AWS) Tutorial
From the course: AWS: Storage and Data Management
Detach and reattach an EBS volume
- [Instructor] In this video I'm going to demonstrate how we can detach an EBS volume from this instance and attach it to another. In order to show this functionality I'm going to need a second EC2 instance. Now before we do that, please take note of the availability zone that EBS demo one is in. We want to make our second instance in the exact same AZ, because volumes are unique to an availability zone, we can only detach and reattach within this AZ. For me, it's US East 1A, but it may be different for you. Click launch instances. Now we'll call this EBSDemo2. We'll keep the same AMI, which is Amazon Linux 2 and the same instance type. For the key pair, instead of creating a new one, we'll use the dropdown and select the one we've already got storage-demo-key. Under network settings, instead of saying that we have no preference for the subnet, we'll click edit and choose the one that's in the availability zone that…
Contents
-
-
-
-
-
Elastic Block Storage3m 45s
-
(Locked)
Create an instance with multiple EBS volumes11m 49s
-
(Locked)
Modify the type and size of an EBS volume2m 42s
-
(Locked)
Detach and reattach an EBS volume6m 17s
-
(Locked)
EBS backup, restore, and schedule with CloudWatch3m 5s
-
(Locked)
Elastic File System5m 42s
-
(Locked)
EFS demo create EFS7m 5s
-
(Locked)
EFS demo mount EFS3m 58s
-
(Locked)
EBS and EFS teardown3m 35s
-
(Locked)
Amazon FSx2m 41s
-
-
-
-
-
-