My AWS Musings

Cloud computing, EC2, RDS, SQS, S3, Java…

Entries for the ‘EC2’ Category

7 Tips for running HBase in EC2

We are running a HBase (Currently 0.20.4) cluster on ec2. I thought it will be useful for others to know some tips about running HBase in EC2.
1) Use private dns addresses in config files such as hdfs-site.xml, hbase-site.xml. On ec2 Ubuntu instances java’s getHost() gets resolved to the private dns addresses.
2) Use [...]

Leave a Comment

Amazon AWS Java SDK released

Amazon recently announced the AWS SDK for java.
SDK or a java api is very much needed – especially if you are writing your automation scripts in groovy. We have tried multiple java apis in our scripts including JetS3t and Typica. These apis were really helpful, but they only supported some of the [...]

Comments (1)

Web serving in the cloud – our experiences with nginx and instance sizes

We have been doing various experiments in our ec2 web serving cluster to serve maximum traffic at the minimum costs. I thought our experience will be useful to many other people using ec2.
We have a web application with nginx + tomcat. We approximately get 200k requests per minute at the peak and about 65K [...]

Comments (14)

7 easy tips to reduce your Amazon ec2 cloud costs

Amazon ec2 costs can grow very fast if you are not mindful of the Amazon ec2 billing structure. We came across the following ways to save money at our company.
Keep machines in the same availability zone
Don’t scatter your machines that talk to each other across multiple availability zones. You will end up paying for [...]

Comments (2)

Amazon Relational Database Service (RDS) – The Timezone Problem

The default time zone of your RDS database instance is UTC. It simply can not be changed.
RDS does not give you super privileges. That is why you won’t be able to change the global time zone by simply executing:

SET GLOBAL time_zone = ‘US/Pacific’;

Comments (2)

4 easy steps to enable remote desktop on your ubuntu ec2 instance

Enabling remote desktop on an ubuntu ec2 instance is pretty easy by using NX. We will use FreeNX at the server and NoMachine NX client on the client machine. NX is a much better alternative to VNC. You can install NoMachine client on windows, mac or linux. For more information visit http://www.nomachine.com

Comments (2)