Ends in
00
days
00
hrs
00
mins
00
secs
LEARN MORE

SALE! AWS Specialty Practice Exams at $15.99 USD each ONLY instead of $17.99

Amazon EBS Multi-Attach

Amazon Elastic Block Store or EBS is a durable block-based storage device that can be attached to your EC2 instance. AWS released a feature called Multi-Attach, which allows EC2 instances to share a single EBS volume for up to 16 instances and provide higher availability of your applications for Linux workloads. Each instance to which the volume is attached has full read and write permissions to the volume.

Amazon EBS multi-attach1

The following are several considerations and limitations in using the Multi-Attach feature:

  • Multi-Attach enabled volumes do not support I/O fencing. I/O fencing protocols control write access in a shared storage environment to maintain data consistency. Your applications must provide write ordering for the attached instances to maintain data consistency.
  • Multi-Attach enabled volumes can be attached to up to 16 instances built on the Nitro System that are in the same Availability Zone.
  • Multi-Attach is supported exclusively on Provisioned IOPS SSD (io1) volumes.
  • Multi-Attach is available in the us-east-1, us-west-2, eu-west-1, and ap-northeast-2 Regions.
  • Multi-Attach enabled volumes can’t be created as boot volumes.
  • Multi-Attach enabled volumes can be attached to one block device mapping per instance.
  • You can’t enable or disable Multi-Attach after volume creation.
  • IT Certification Category (English)728x90
  • You can’t change the volume type, size, or Provisioned IOPS of a Multi-Attach enabled volume.
  • Multi-Attach can’t be enabled during instance launch using either the Amazon EC2 Console or the RunInstances API.
  • Multi-Attach enabled volumes that have an issue at the Amazon EBS infrastructure layer are unavailable to all attached instances. Issues at the Amazon EC2 or networking layer might only impact some attached instances.

Getting started with EBS Multi-Attach

  1. Create EBS Volume
    1. Head over to EC2 and look for “Volumes”
    2. Click “Create Volume”
    3. Volume type should be io1 since it is the only supported volume type for Multi-Attach attach 
    4. Enter your preferred EBS and IOPS 
    5. Availability Zones should be at the same availability zone as the EC2 instance that you will be attaching.
    6. Tick “Multi-Attach” to “Enable”

Amazon EBS multi-attach2

2. Attach Volume

    1. Select the EBS volume that you created.
    2. Under actions, click “Attach Volume”
    3. Specify the instance ID of the first EC2 instance
    4. Device: /dev/sdf
    5. Attach
    6. Do the same process for the second EC2 instance

Amazon EBS multi-attach3Amazon EBS multi-attach4

3.  SSH into your two EC2 instances and you should see the newly attached EBS volume. Under the volumes
tab, you can see what instances the EBS volume is attached to.

Amazon EBS multi-attach5

Delete on termination

If your organization utilizes the delete on termination feature of EC2 instances, bear in mind that the EBS Multi-Attach volume will only be deleted when the last EC2 instance where it is attached to is terminated. It is recommended that you use delete on termination on all EC2 instances or to retain EBS volumes whenever their EC2 instances are terminated. 

Monitoring

You can monitor your EBS Multi-Attach volume metrics using CloudWatch.

Sources:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes.html
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html

AWS Specialty Practice Exams SALE!

NEW! AWS Certified Developer Associate Video Course (Early Access Release)

NEW! AWS Certified Solutions Architect Associate Video Course [Early Access Release]

Pass your AWS, Azure, and Google Cloud Certifications with the Tutorials Dojo Portal

Tutorials Dojo portal

Our Bestselling AWS Certified Solutions Architect Associate Practice Exams

AWS Certified Solutions Architect Associate Practice Exams

Enroll Now – Our AWS Practice Exams with 95% Passing Rate

AWS Practice Exams Tutorials Dojo

FREE AWS Cloud Practitioner Essentials Course!

Enroll Now – Our Azure Certification Exam Reviewers

azure reviewers tutorials dojo

Enroll Now – Our Google Cloud Certification Exam Reviewers

Tutorials Dojo Exam Study Guide eBooks

tutorials dojo study guide eBook

Subscribe to our YouTube Channel

Tutorials Dojo YouTube Channel

FREE Intro to Cloud Computing for Beginners

FREE AWS, Azure, GCP Practice Test Samplers

Browse Other Courses

Generic Category (English)300x250

Recent Posts

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, YouTube, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!

View Our AWS, Azure, and GCP Exam Reviewers

Our Community

~98%
passing rate
Around 95-98% of our students pass the AWS Certification exams after training with our courses.
200k+
students
Over 200k enrollees choose Tutorials Dojo in preparing for their AWS Certification exams.
~4.8
ratings
Our courses are highly rated by our enrollees from all over the world.

What our students say about us?

error: Content is protected !!