Skip to main content

misc

How to SSH into the server​

The main AWS server requires an SSH key to log into, once you have it, the command to get in is:

ssh -i main.cer ec2-user@ec2-18-216-84-227.us-east-2.compute.amazonaws.com

How to resize the server​

Follow the directions below:

https://til.codes/extending-the-disk-space-on-an-amazon-ec2-instance/

Though, I often run into problems with the resize2fs command:

Here is an SO thread that explains it: lvm - resize2fs: Bad magic number in super-block while trying to open - Stack Overflow

In either case, so far I have found that a restart of the service is necessary to get the disk size to show as larger, after the resize.