Skip to content

Instantly share code, notes, and snippets.

@mredar
Last active August 29, 2015 14:05
Show Gist options
  • Save mredar/a46c21cc374a1ed59bfe to your computer and use it in GitHub Desktop.
Save mredar/a46c21cc374a1ed59bfe to your computer and use it in GitHub Desktop.
AWS Tips

AWS Tips

EC2

To enable NAT function, you must DISABLE Source/Destination Check to let this happen.

Resize EBS volume

https://forums.aws.amazon.com/message.jspa?messageID=340550

Stop the Instance
Detach the original volume from the instance
Create a snapshot of the original volume(old instance)
Create a new volume from the snapshot, specifying a larger size(As per requirement)
Attach the new volume to the instance
Start the instance and find its old public IP
Login on the server
sudo resize2fs /dev/sda1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment