Articles → AWS → Shared Volume In AWS

Shared Volume In AWS






Steps




  1. Launch 2 EC2 instances
  2. Create a volume with multi-attached enabled
  3. Attach volume with both EC2 instances
  4. Format and mount the disk in the first EC2
  5. Check the volume in the second EC2



Launch 2 EC2 Instances




Picture showing the list of instances to choose from




Picture showing the number of instances created




Picture showing the 2 EC2 instances created in AWS console



Create A Volume With Multi-Attached Enabled




Picture showing the screen for creating multi-attached volume in AWS


ParametersVolumeDescription
Volume TypeProvisioned IOPS SSD (io2) 
Availability Zoneus-east-1bThe availability zone should be the same as that of EC2.
Multi-attachChecked 



Attach Volume With Both EC2 Instances




Picture showing the popup window for attaching the first EC2 instance with the multi-attached volume




Picture showing the popup window for attaching the second EC2 instance with the multi-attached volume





Format And Mount The Disk In The First EC2




Picture showing creating a text file in the new volume in the first EC2 instance



Check The Volume In The Second EC2






Picture showing the text file appears in the new volume of the second EC2 instance



Posted By  -  Karan Gupta
 
Posted On  -  Thursday, October 14, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250