AWS EBS Tutorial : Create AWS EBS and Mount EBS on EC2 / Linux

Veröffentlicht am: 27 Juni 2017
auf dem Kanal: dotsway
27,858
273

Create AWS EBS, Mount AWS on Linux and EBS Encryption

In this tutorial i will show you how to create a new EBS, mount it on Linux system, learn what is EBS Encryption, all about Amazon EBS Volume and mounting amazon elastic block store on ec2 mount point.



What is AWS EBS?

AWS EBS is a block storage which is very similar to normal drive that you attach to your server.



Create AWS EBS

Login to AWS Console.
Search for EC2 in the search bar.
Click on 'Volumes' under 'Elastic Block Store'
Select 'Create Volume'
Go through the wizard by choosing:
Volume type "which differ on transfer speed"
Size "from 1 GB to 16384 GB
IOPS "will be changing automatically based on size "based on 3 IOPS per GB"
Availability Zone "must be in the same availability zone of the sevrer to be attached"
Choose if encrypted or not


Mount AWS EBS on Linux Server



Attach EBS to desired server
Login to AWS Console.
Search for EC2 in the search bar.
Click on 'Volumes' under 'Elastic Block Store'
Right click desired EBS and select 'Attach Volume'
Choose the desired instance from 'Instance'
Leave Device as it is or change the device name if needed.
Select 'Attach'
Mount it on Linux
Connect to your Linux Instance
Run 'lsblk' to be sure that EBS was attached successfuly

Create your own filesystem on this new block by running below command for EXT4
mkfs -t ext4 /dev/xvdf
Confirm filesystem by running below command:
file -s /dev/xvdf
Create folder to mount it to
mkdir folderName
Mount the device
mount /dev/xvdf /folderName
Confirm that mounting folder is pointed to EBS

To mount it permenantley use /etc/fstab and add the following
/dev/xvdf /folderName ext4 defaults,nofail,0 0



What is EFS?
https://goo.gl/uCmEEX


Create EFS and Mount it on Linux
https://goo.gl/eYsSVj


AWS S3 Tutorials

What is AWS S3
https://goo.gl/aYphcg


Create your first S3 Bucket
https://goo.gl/U3d7Pv


Create Static Website using S3
https://goo.gl/OGDxhE

AWS S3 CLI Tutorial: AWS S3 CLI and S3API Basic Commands :
https://goo.gl/B3wm9o


AWS S3 Browser the S3 File Manager
https://goo.gl/7NFQx8


Auf dieser Seite können Sie das Online-Video AWS EBS Tutorial : Create AWS EBS and Mount EBS on EC2 / Linux mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer dotsway 27 Juni 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 27,858 Mal angesehen und es wurde von 273 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!