Skip to content

Instantly share code, notes, and snippets.

@atulkamble
Last active September 13, 2023 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atulkamble/f331fbd47a70669b10f0a960ba77d2e1 to your computer and use it in GitHub Desktop.
Save atulkamble/f331fbd47a70669b10f0a960ba77d2e1 to your computer and use it in GitHub Desktop.
efs

EFS

  1. Navigate to EFS
  2. Create File System
  3. Open Customise
  4. Configure Subnets, Security Groups
  5. Launch 2 instances
  6. Connect through ssh
  7. Check for files which has been created from istances
  8. Terminate efs, instances, check vpc
  9. Terminate security group outbound rules, security groups

from 1st instance via ssh

ls /mnt/efs/fs1/
sudo su
echo "hello world" > /mnt/efs/fs1/hello.txt

from 2nd instance via ssh

ls /mnt/efs/fs1/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment