What is EBS Multi Attach and how to attach it to multiple EC2 instances?
Автор: AWSLearn (by Girish Mukim)
Загружено: 2021-08-26
Просмотров: 4001
Описание:
Important consideration:
----------------------------------------
Standard file systems, such as XFS and EXT4, are not designed to be accessed simultaneously by multiple servers, such as EC2 instances. Using Multi-Attach with a standard file system can result in data corruption or loss, so this is not safe for production workloads. You can use a clustered file system to ensure data resiliency and reliability for production workloads. XFS is used in this tutorial for demonstration purpose only.
Quick reference :
https://docs.aws.amazon.com/AWSEC2/la...
This video will explain briefly on EBS multi attach volume and show with hands on how to attach single EBS volume to multiple EC2 instances.
EBS Multi Attach is exciting feature with EBS as we know earlier we had option to attach volume to only one instance.
Commands to mount EBS volume to instances -
file -s /dev/nvme1n1
mkfs -t xfs /dev/nvme1n1
mkdir /sharedfs
mount /dev/nvme1n1 /sharedfs
cd /sharedfs
touch server1
ls -ltr
How to Launch EC2 server -
• AWS Launch EC2 Instance
Timecodes
00:00 Topic Introduction
00:29 EBS Volume multi-attach concept and facts
01:01 Lauch C5 EC2 instances
02:34 Create EBS volume
03:39 Attach EBS volume to multiple instances simultaneously
05:45 Use EC2 instance connect and SSH into both servers
06:37 Mount EBS volume on servers
10:09 Cleanup lab
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: