Saturday, August 13, 2016

JIRA on AWS EC2 t2.micro

Finally, we were able to setup a demo of JIRA on AWS EC2 t2.micro.  Initially, it crashed due to insufficient memory...

The solution: instead of upgrading the instance type, just add SWAP :)
  1. Create a new EBS volume
  2. Attached it to the EC2 instance
  3. 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

ubuntu@iemijira:/$ free -h
             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