| By Edward M. Goldberg | Article Rating: |
|
| November 2, 2009 10:00 AM EST | Reads: |
758 |
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 758
Copyright © 2009 SYS-CON Media, 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.
- Kindle 2 vs Nook
- Is Cloud Computing Like Teenage Sex?
- GovIT Expo Highlights Cloud Computing
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Cloud Computing Can Revitalize Your Career as Software Developer
- Ubuntu-based Open Source Linux Mint Tests KDE Version
- Yahoo! SVP Shelton Shugar to Discuss Innovation at Cloud Computing Expo
- Virtualization Journal "Readers' Choice Awards" Voting Is Now Open
- Einstein, Sharks and Clouds: IT Security in the Cloud
- Adobe Flex Developer Earns $100K in New York City
- Virtualization Expo Call for Papers Deadline December 15
- Amazon Web Services Database in the Cloud
- Kindle 2 vs Nook
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Is Cloud Computing Like Teenage Sex?
- 1st Annual GovIT Expo: Letter from the Technical Chair
- Ulitzer News: Search vs New Media
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Confessions of a Ulitzer Addict
- GovIT Expo Highlights Cloud Computing
- Twitter, Linked In, Ning and Ulitzer: Easy Personal Branding Strategy
- My Thoughts on Ulitzer
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- The i-Technology Right Stuff
- Linux.SYS-CON.com Exclusive: Linus Discloses *Real* Fathers of Linux
- After Ubuntu, Windows Looks Increasingly Bad, Increasingly Archaic, Increasingly Unfriendly
- Linus' Top Ten SCO Barbs
- A Closer Look at Damn Small Linux
- Netscape Co-Founder's 12 Reasons for Growth of Open Source
- Introducing "Cooperative Linux" - Linux for Windows, No Less
- *POINT - COUNTERPOINT SPECIAL* What's Wrong with the Open Source Community?
- Where Are RIA Technologies Headed in 2008?
- Linux.SYS-CON.com Exclusive: What Would UserLinux Look Like?
- i-Technology Viewpoint: The New Paradigm of IT Buying
- Is Linux Desktop-Ready Yet...or Not?























