Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what's the difference between attach and mount in ebs for amazon ec2

If I attach an EBS instance to my EC2 instance, isn't that the same as mounting? According to various guides they do different things. What's the difference between attaching an EBS instance and mounting?

like image 479
user1099123 Avatar asked May 05 '13 16:05

user1099123


1 Answers

Attaching a volume simply attaches the volume as a block device to the instance. This action only allows the device to be visible within the operating system.

To use it, you will need to format it, and mount it to the file system. Mount is terminology use more often in Linux than Windows. In Linux you are actually using the mount command to assign the device to a point in the file system. In windows you would assign a drive letter to the volume via disk management.

like image 168
datasage Avatar answered Oct 14 '22 09:10

datasage