Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What must be the file system on AWS EBS Multi-Attach volume?

I'm back again with a new question: What must be the file system on AWS EBS Multi-Attach volume?

On this website https://aws.amazon.com/premiumsupport/knowledge-center/ebs-access-volumes-using-multi-attach/

It is written that standard file systems such as XFS, EXT3, EXT4, and NTFS aren't designed to be simultaneously accessed by multiple servers or EC2 instances.

However, they have not written what must be the file systems for AWS EBS Multi-Attach volume.

Any idea? I would be glad if you can provide the command lines for setting the file system.

like image 814
burcak Avatar asked Jul 07 '20 08:07

burcak


People also ask

What type of EBS volume can be used in multi-attach?

EBS Multi-Attach allows the attachment of a single io1 Provisioned IOPS volume to up to 16 Nitro-based instances in the same Availability Zone.

What file system does EBS use?

EFS can be used as network file system for on-premise servers too using AWS Direct Connect. EBS: Uses an AWS KMS–Managed Customer Master Key (CMK) and AES 256-bit Encryption standards. EFS: Uses an AWS KMS–Managed Customer Master Key (CMK) and AES 256-bit Encryption standards.

Can EBS volume be attached to multiple instances?

You can attach multiple EBS volumes to a single instance. The volume and instance must be in the same Availability Zone. Depending on the volume and instance types, you can use Multi-Attach to mount a volume to multiple instances at the same time.

How do you attach an EBS volume?

To attach an EBS volume to an instance using the console In the navigation pane, choose Volumes. Select the volume to attach and choose Actions, Attach volume. You can attach only volumes that are in the Available state. For Instance, enter the ID of the instance or select the instance from the list of options.

What is AWS EBS multi attach volume?

AWS EBS Multi-Attach Volumes Amazon Elastic Block Store (EBS) is the AWS storage service that allows you to create different types of volumes, based on the underlying SSDs or HDDs, to attach to Amazon EC2 instances. With the new AWS EBS Multi-Attach option, users can now attach a single EBS volume with a maximum of 16 Amazon EC2 instances.

Can I use Amazon EFS volumes on Windows EC2 instances?

Amazon EFSs are not supported on AWS Windows EC2 instances. EFS volumes can only be used with non-Windows instances, such as Linux, that support NFS volumes. No system boot volumes. Amazon EFS volumes also cannot be used for system boot volumes. AWS EC2 instances must use Elastic Block Store (EBS) volumes for booting their systems.

Can I use standard file systems on EBS multi-attach?

The operation of standard file systems on EBS Multi-Attach volumes isn't a supported configuration. EBS Multi-Attach allows the attachment of a single io1 Provisioned IOPS volume to up to 16 Nitro-based instances in the same Availability Zone.

What is AWS Elastic Block Store (EBS)?

Amazon Elastic Block Store (EBS) is the AWS storage service that allows you to create different types of volumes, based on the underlying SSDs or HDDs, to attach to Amazon EC2 instances. With the new AWS EBS Multi-Attach option, users can now attach a single EBS volume with a maximum of 16 Amazon EC2 instances.


Video Answer


1 Answers

On this page it's very briefly mentioned that a clustered file system is necessary:

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

In this blog post they explain how to use one clustered file system, the Red Hat Global File System 2 (GFS2), with Multi-Attach EBS. Cluster software must additionally be installed:

https://aws.amazon.com/blogs/storage/clustered-storage-simplified-gfs2-on-amazon-ebs-multi-attach-enabled-volumes/

Full-Disclosure: I have not actually replicated their results. It was too much overhead for my use case.

like image 66
Shariq Mobin Avatar answered Oct 27 '22 00:10

Shariq Mobin