Yearly Archives: 2010

Amazon RDS now with Read Replica

The most awaited feature of RDS for DB replication.

“We are excited to announce the release of Read Replicas, a new feature that makes it even easier to scale MySQL database deployments to meet the performance demands of high-traffic web applications. You can now create one or more replicas of a given source DB Instance and serve incoming read traffic from multiple copies of your data. This new database deployment option enables you to elastically scale out beyond the capacity of a single DB Instance for read-heavy database workloads. In conjunction with the release of Read Replicas, we are also announcing lower prices for High Memory DB Instance classes.” –Amazon

I’m getting ready to scale DB read access using RDS. 😉

Amazon Resource Tagging

After several years of waiting, Amazon now has new feature to tag instances, volumes, and other resources. Need to check it out? Amazon EC2 Resource Tagging

Simple test with Tagging an EC2 instance and an EBS volume.

1. Download the latest API tools here

2. In your terminal update the variable EC2_HOME and PATH:

 shell_prompt$ export EC2_HOME=/Applications/ec2/ec2-api-tools-1.3-57419
 shell_prompt$ export PATH=$EC2_HOME/bin:$PATH
 shell_prompt$ ec2_version 
 1.3-57419 2010-08-31

3. Now for the tagging(just replace the instance-id and volume-id):

shell_prompt$ ec2-create-tags i-12345678 vol-12345678 -t webserver=host2
TAG	instance	 i-12345678	webserver	host2
TAG	volume	vol-12345678	webserver	host2

shell_prompt$ ec2-describe-tags
TAG	volume	vol-12345678	webserver	host2
TAG	instance	 i-12345678	webserver	host2

I’m now looking for a way to tag my current instances probably by writing a script.
Happy tagging.