| By Edward M. Goldberg | Article Rating: |
|
| November 2, 2009 10:00 AM EST | Reads: |
4,115 |
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 4,115
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.
- Ubuntu-based Open Source Linux Mint Tests KDE Version
- Linux Virtualization and Tired Open Source Myths
- IGEL Supports Red Hat Enterprise Virtualization 3.0
- CloudLinux Announces Support for Atomia
- Amazon Kindle Fire Gets Its Own 'Personal Cloud Desktop' with AlwaysOnPC App Launch
- SPIRIT DSP Receives 2011 INTERNET TELEPHONY Product of the Year Award
- Hadoop Quickstart: Use Whirr to automate standup of your distributed cluster on Rackspace
- Jury Gets Novell Antitrust Case Against Microsoft
- The Utility Infrastructure Security Market 2012-2022: Cybersecurity & Smart Grids
- FORTUNE Magazine Names Rackspace Among “100 Best Companies to Work For”
- EnterpriseDB Announces Availability of Postgres Plus Cloud Database
- iFollowOffice Turns to Virtual Bridges and Savvis for On-Demand Virtual Desktop Services
- i-Technology in 2012: Five Industry Predictions
- Ubuntu-based Open Source Linux Mint Tests KDE Version
- Amazon to Rent Out Supercomputers
- Amazon Émigré Starts Network Monitoring Firm
- HP’s Putting a Back Door in the Itanium Alamo
- Linux Virtualization and Tired Open Source Myths
- CloudLinux Announces Preferred Partner Program
- MapR Pushes the Hadoop Envelope
- Rightware Announces Gaming Performance Benchmark for OpenGL ES 3.0/Halti
- IGEL Supports Red Hat Enterprise Virtualization 3.0
- CloudLinux Announces Support for Atomia
- 3Dconnexion Announces its Newest 3D Mouse - the SpaceMouse Pro
- 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
- A Closer Look at Damn Small Linux
- Linus' Top Ten SCO Barbs
- SCO CEO Posts Open Letter to the Open Source Community
- Netscape Co-Founder's 12 Reasons for Growth of Open Source
- Where Are RIA Technologies Headed in 2008?
- *POINT - COUNTERPOINT SPECIAL* What's Wrong with the Open Source Community?
- Introducing "Cooperative Linux" - Linux for Windows, No Less
- Linux.SYS-CON.com Exclusive: What Would UserLinux Look Like?
- Why Recovering a Deleted Ext3 File Is Difficult . . .



















