The solution: instead of upgrading the instance type, just add SWAP :)
- Create a new EBS volume
- Attached it to the EC2 instance
- Start the instance and configure the new storage to be swap/swap file
Disk /dev/xvdg: 1073 MB, 1073741824 bytes
139 heads, 8 sectors/track, 1885 cylinders, total 2097152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfc4b3755
Device Boot Start End Blocks Id System
/dev/xvdg1 2048 2097151 1047552 82 Linux swap / Solaris
total used free shared buffers cached
Mem: 992M 914M 78M 16K 2.2M 25M
-/+ buffers/cache: 886M 106M
Swap: 1.0G 12M 1.0G
No comments:
Post a Comment