Monthly Archives: May 2014

RDS Instance Sizes, maximum concurrent connections

RDS Class max_connections

t1.micro 34
m1.small 125
m1.medium 296
m1.large 623
m1.xlarge 1263
m2.xlarge 1441
m2.2xlarge 2900
m2.4xlarge 5816

How to waste less money with AWS

First of all, you need to carefully select the region where you are going to stablish your servers.

US-EAST / US-WEST-2 are the cheaper regions by the time that i wrote.

You can check the prices per regions on the links at the end of this post.

Using AWS for almost a year in free tier, i did not paid attention to purchasing options of instances.

How to change timezone in ubuntu

To change timezone in ubuntu, just use that in terminal:

sudo dpkg-reconfigure tzdata

How to survive with AWS EC2 T1.Micro instance

amazon-ec2

With my t1.micro, i can host my personal redmine, git and blog. But i couldn’t do that with default settings.

I have used swap on file to it and here is how you can do it:

Copy & paste the code below:

sudo su -c '

dd if=/dev/zero of=/var/swapfile bs=4096 count=524288

chown root:root /var/swapfile
chmod 0600 /var/swapfile
mkswap /var/swapfile
swapon /var/swapfile
echo "/var/swapfile none swap sw 0 0" >> /etc/fstab
'

To disable you can use:

sudo swapoff -v /var/swapfile
sudo rm /var/swapfile
sudo sed -i '/swapfile/d' /etc/fstab