Welcome to WebmasterWorld Guest from 54.147.20.131

Forum Moderators: open

Message Too Old, No Replies

Mysql server on Amazon S3 or AWS

     

dertyfern

4:22 am on Nov 27, 2010 (gmt 0)

10+ Year Member



I've got a dedicated server running about 20 websites that use a single mysql database.

I'd like ax the dedicated server, locate each individual website on to web servers in distinct countries and use Amazon S3 or AWS to host mysql server for query requests by each website.

Is this possible with Amazon?

Thanks in advance.

lammert

9:44 am on Nov 29, 2010 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



It is possible to rent an Amazon EC2 instance and put a MySQL database on it. But practically that solution is nothing different from a dedicated server you have now already.

The other option is to use the Amazon Relational Database Service which runs MySQL 5.1. This service is still in beta though.

The main problem you will run into are security, because your database now has to be open for requests over the Internet which adds additional vectors for hackers, and latency. Especially with web pages which are built using multiple SQL queries you may see a noticeable slowdown of page generation speed due to the time needed to transfer the SQL requests to the Amazon server and sending the responses back to the web server front-end.

dertyfern

1:14 am on Dec 1, 2010 (gmt 0)

10+ Year Member



Thanks for that lammert. I suppose the best and quickest solution would be to split up the current database tables and host separate instances of mysql for each website.

lammert

3:32 am on Dec 1, 2010 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Amazon EC2 instances are paid per instance per runtime. Having more instances each running one database will cost you more money than having all databases in one instance. You can have multiple databases on one EC2 instance, so from a financial point of view it would be wise to run all databases from one EC2 instance.

I am not sure about the functionality and pricing of Amazon RDS instances. Because it is fully compatible with MySQL 5.1, you should be able to create more than one database in one instance, which is also more cost-effective than having one instance per database.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month