Access the instance1 through SSH and run below command to create a filesystem of type xfs using the ebs volume attached.
Use lsblk for name of volume attached.
sudo mkfs -t xfs /dev/xvdf
Note: keypair file for instance1 is located at /home/rdskeypair.pem
it’s where they say it is, but it’s only readable by root:
~ on ☁️ (us-east-1) ➜ pwd
/root
~ on ☁️ (us-east-1) ➜ cd /home/
bob/ rdskeypair.pem ubuntu/
~ on ☁️ (us-east-1) ➜ ls -l /home/
total 12
drwxr-x--- 1 bob bob 4096 Aug 14 10:48 bob
-r-------- 1 root root 1675 Aug 23 01:58 rdskeypair.pem
drwxr-x--- 2 ubuntu ubuntu 4096 May 30 02:05 ubuntu