Skip to content

Commit

Permalink
[HotFix] Change Volume Device Name
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnsugyeong committed May 25, 2024
1 parent e073274 commit d214e17
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .ebextensions-dev/03-mount-ebs.config
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
commands:

01_create_directory:
command: "mkdir -p /mnt/ebs"

02_mount_volume:
command: "mount /dev/xvdf /mnt/ebs"
02_check_device:
command: "lsblk | grep nvme0n1"
ignoreErrors: false

03_mount_volume:
command: "sudo mount /dev/nvme0n1p1 /mnt/ebs"
ignoreErrors: false

03_change_permissions:
command: "chown -R ec2-user:ec2-user /mnt/ebs"
04_change_permissions:
command: "sudo chown -R ec2-user:ec2-user /mnt/ebs"

0 comments on commit d214e17

Please sign in to comment.