AWS

ECS

To give an EC2 instance a name, create a tag with key "Name".

EBS

Get device name of EBS volume:

$ lsblk

If the this returns "data", then the device must be formatted:

$ sudo file -s /dev/DEVICE

Format the EBS volume as ext4:

$ sudo mkfs -t ext4 /dev/DEVICE

Make a mount point and mount the EBS volume there:

$ sudo mkdir PATH
$ sudo mount /dev/DEVICE PATH
$ sudo chown -R USER PATH
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License