| By Edward M. Goldberg | Article Rating: |
|
| November 2, 2009 10:00 AM EST | Reads: |
1,281 |
This time AWS has does it right. The Relational Database Servers in AWS called “RDS” are the “Real Thing”.
I just transferred over my whole Drupal DB in a few moments to an RDS Instance. Is was very simple.
Let me show you the one line command solution:
(Warning Linux command comes next!)
$ mysqldump –add-drop-table –databases Comments EdwardMGoldberg NOC myCloudWatcher_drupal wikidb | mysql -h mycloudwatcher.xxx.us-east-1.rds.amazonaws.com -u TheCloudWatcher -pXxXxXxXxXx4
(all password info is fake)
Let me break down this command into the parts:
mysqldump:
This is the LINUX command line database dump program. I just used the default connection (defined in my.cnf) and dumped a few tables I wanted. I added the drop table option so I can update as many time as I like.
mysql -h :
This does the “remote” connection to the new RDS instance and most of the heavy lifting.
So with a one line of shell script I moved into the Cloud.
The RightScale Dashboard was used to set up my RDS instance. It made the whole process of configuration a point and click process.
Next step, look at the results and check out the tables:
http://dev.mysql.com/downloads/gui-tools/5.0.html
Down load these great GUI tools and connect to the Database from your Laptop. You do have to “allow” the IP address for you Laptop in the configuration.
It took me about one hour to get setup and transferred into the Cloud. Not Bad.
What’s next? Get my monitor system to track the DRS and alert me when issue happen. I like collectd for that task. So that will be my next step.
Take an hour and set up an RDS server for your database. It works great as a “Cold Backup Server”. You pay only a few cents for data storage on the “Cold RDS Server” stored as SNAP data. When you need to “Fail Over” in the Disaster Recovery (DR) mode just Launch the RDS from SNAP. In a very short amount of time you are back on line. To keep the DB up-to-date just launch it once a day for one hour and update the contents. Keep the “Delta” ready for the last few records you may need to add at Launch.
For DR and fail Over RDS ROCKS!!!!
It may be Beta for now, but start learning how to use this service in the Cloud and never be caught with no Database Server again.
When the Beta ends you will be ready to use RDS full time for you next project.
If you are in the process of learning SQL the RDS servers will provide you a real Database to do your homework with.
Read the original blog entry...
Published November 2, 2009 Reads 1,281
Copyright © 2009 Ulitzer, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Edward M. Goldberg
My name is Ed I have working in the computer industry for a very long time. sI started working with computers in 1962. Yea that is the very log time to be focused on one theme. For the last few year I have been working on Server Deployment. I found out about Cloud Computers and became very interested in the idea of a dynamic server farm configuration. I started to play around with the ideas and developed my own version of a dynamic server farm. Later I started to use the AWS EC2 servers. Today I develop server farm configurations for many projects.
- DrupalCon 2010 San Francisco Venue Announced
- Safari Books Online Adding 350 Packt Titles in 2010
- DrupalCon 2010 Coming to San Francisco in April
- Spredfast Introduces First Comprehensive Social Media Campaign Management Dashboard to Plan, Execute, Manage and Respond across Multiple Social Media Channels
- Gigya 4 Social Optimization Platform Unveiled for Online Business
- Unigo Selects Kaltura to Power Video for Its Online Platform for College Students and Its Recently Launched 'WSJ On Campus' Initiative
- Technology + Humanitarian Relief Working for Haiti Crisis Camp IN Canada
- Automotive Digital Marketing Expert Tyler Tanaka Joins PostRelease to Spearhead Advertising Sales, Forum Ad Network’s Expansion Within Auto Sector and Beyond
- Marker Seven Transforms ArtSpan Site into Portal for San Francisco Visual Arts
- Project6 Design Wins W³ and Davey Awards for Blanc & Otus Web Site
- Doteasy Announces "US$5.95 Domain Name Registration with Free Web Hosting Services”
- New OSMOBI Release: the Mobile Web Just got Even Easier (and More Beautiful)
- Mzinga Teams with Kaltura to Deliver Integrated Social Video
- DrupalCon 2010 San Francisco Venue Announced
- Safari Books Online Adding 350 Packt Titles in 2010
- DrupalCon 2010 Coming to San Francisco in April
- Spredfast Introduces First Comprehensive Social Media Campaign Management Dashboard to Plan, Execute, Manage and Respond across Multiple Social Media Channels
- Gigya 4 Social Optimization Platform Unveiled for Online Business
- Open Source Drupal for the New Open Government
- Unigo Selects Kaltura to Power Video for Its Online Platform for College Students and Its Recently Launched 'WSJ On Campus' Initiative
- Technology + Humanitarian Relief Working for Haiti Crisis Camp IN Canada
- Automotive Digital Marketing Expert Tyler Tanaka Joins PostRelease to Spearhead Advertising Sales, Forum Ad Network’s Expansion Within Auto Sector and Beyond
- TV Guide Magazine Partners With Kaltura to Power Video on tvguidemagazine.com
- Marker Seven Transforms ArtSpan Site into Portal for San Francisco Visual Arts
- Drupal Content Management Platform Has Been Chosen By Ulitzer
- Ulitzer to Give Drupal 6.0 Its Biggest Scalability Challenge Yet
- Drupal Creator Forms Company
- Bye Bye Traditional Webmastering, Hello "Web Manager 2.0"
- EOS Editorial —The Times They Are a Changing
- Am I Seeing Python Everywhere?
- Drupal CMS to Move to a Whole New Level
- Selecting an Open Source Content Management Solution
- SpikeSource To Certify Open Source Apps on Windows
- JasperSoft Open Source Community Grows to Over 30,000 Registered Developers
- CorraTech Aligns With SpikeSource To Deliver Integrated Business-Ready Open Source Applications
- CorraTech Announces Alliance with SpikeSource























Ulitzer content is offered under Creative Commons "Attribution Non-Commercial No Derivatives" License.
For any reuse or distribution, you must make clear to others the license terms of this work.
The best way to do this is with a link to this web page.
Any of the above conditions can be waived if you get written permission from Ulitzer, Inc., the copyright holder.
Nothing in this license impairs or restricts the author's moral rights.