Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * Detach boot disk from problematic instance
- * Create new instance (on free tier)
- * Attach boot disk to instance
- * ssh in to new instance and mount disk
- ```
- lsblk
- sudo mkdir /vol_1
- ```
- Typically the last entry in lsblk, which is not mounted, will be the attached volume.
- ```
- sudo mount /dev/sdf /vol_1
- ```
- * Do whatever on disk.
- * Dettach disk
- * Attach to original instance as `/dev/sda1`
- * Start problematic instance
- Note that unless you have attached an elastic IP the public IP will change on restart of the instance.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement