About
I'm Nobu, a web developer living in Mountain View, CA. Feel free to comment on any posts. I'm also tweeting on twitter.
Archives
-
add-on amazon rds applescript cocoa css firefox gmail javascript jquery mac mamp mashup mongo mysql oauth Open Tab-History In New Tab pear php skype social SweetCatcher twitter vim
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
-
Recent Posts
-
Blog under the Creative Commons Attribution 3.0 License
This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.
Amazon RDS quick start
I’ve tried to use Amazon Relational Database Service. Easy to scale-up appeals to me.
Official Getting Started Guide is very good. I almost followed this document.
Works on Mac OSX 10.5.8.
It takes several minutes.
% rds-describe-db-instances --headers Unable to find a $JAVA_HOME at "/usr/", continuing with system-provided Java... Unable to find a $JAVA_HOME at "/usr/", continuing with system-provided Java... DBINSTANCE DBInstanceId Class Engine Storage Master Username Status AZ Backup Retention DBINSTANCE myinstance db.m1.small mysql5.1 5 mymasteruser creating us-east-1d 1 SECGROUP Name Status SECGROUP default active PARAMGRP Group Name Apply Status PARAMGRP default.mysql5.1 in-sync % rds-describe-db-instances --headers Unable to find a $JAVA_HOME at "/usr/", continuing with system-provided Java... Unable to find a $JAVA_HOME at "/usr/", continuing with system-provided Java... DBINSTANCE DBInstanceId Created Class Engine Storage Master Username Status Endpoint Address Port AZ Backup Retention DBINSTANCE myinstance 2009-10-30T07:01:42.163Z db.m1.small mysql5.1 5 mymasteruser available myinstance.cpxpgflqvl3w.us-east-1.rds.amazonaws.com 3306 us-east-1d 1 SECGROUP Name Status SECGROUP default active PARAMGRP Group Name Apply Status PARAMGRP default.mysql5.1 in-syncThere is an error about $JAVA_HOME, but it works.
You can see ec2-security-group-name (Security Groups) and ec2-security-group-owner-id (Owner) on AWS Management Console for EC2.
Login to EC2 server, then:
Create snapshot, and delete.
It takes a couple of minutes.
Restore.
Modify instance size (scale-up).
small to large takes about 5 minutes. (mysqldumped-size is 700MB)
similar post:
tpcc-mysql rough benchmark for Amazon RDS