Do you need a MySQL server to use RDS? - mysql

New newbie question:
I have a standard LAMP stack that I have configured to use with Amazon RDS MySQL. http://aws.amazon.com/rds/mysql/
It occurred to me that RDS itself uses MySQL, therefore do I need MySQL running on my webserver? Will I see a significant performance increase if I delete/disable it?
Thanks

RDS is, in effect, a MySQL server operated for you by Amazon. If you are using RDS for your databases, you don't need your own MySQL server. (You will still need MySQL modules loaded into PHP et. al. to access RDS, though.)

Related

From localhost to aurora serverless

I'm studying the possibility to switch from an rds mysql (in use and with tables and data inside) to aurora serverless mysql to try to spend less money because the database is used for few operations. I can connect to rds mysql from my pc (dbeaver, mysql workbench and so on) without problems and I can design tables, view data, create users...
Now, I've created the new serverless db and attached to the same vpc and sec group of the first one but I can't connect to it from my pc. I've read on aws guides that there are two solutions:
use ec2 to ssh tunnel requests --> but it's a payware solution;
use cloud9 and connect via terminal --> but organizing a db in this way is not so simple as using a gui client.
For this reasons I've quite understood that serverless is not a good solution for now.
Any idea or suggest?
Thanks in advance

How to Synchronize MySQL Database from an On Premise to Amazon RDS

I am new to Amazon RDS, and looking to get answer for my question below and couldn't find the answer on stackoverflow yet.
I have a MySQL Database on premise that I want to synchronize with the MySQL Database on Amazon RDS. I understand that replication is possible with Amazon RDS, but how about continuous synchronization? Say my existing local database has one transaction that has been made, I want to synchronize just that transaction, either immediately or by schedule, so that I don't need to replicate the whole thing to RDS.
Does RDS have this feature for MySQL or any other database?
If not, what tools should I be using? EC2 + ? ?
Or is there any database that supports this so I can just run the database on EC2?
Your best (first) option should probably be the AWS Database Migration Service. This is a migration service for exactly your use-case.
If uptime is less of an issue, you could always do a mysql_dump, move that to an EC2 instance and load that into an RDS instance.

Setting up master/slave databases on same server?

I'm looking to have a master and slave DB on the same server, both in an Amazon RDS instance. Is this possible? I'm using MySQL Workbench to access it and am a little confused with the instructions I have seen so far.
"On the same server" is not possible with Amazon RDS for MySQL, because RDS is a managed service. Amazon provides, configures, and has exclusive access to the actual server where an RDS instance is running... you, the user, do not have direct (shell) access to that machine, so you can't do the kind of customization of configuration that running a master and slave on the same server would require.
Other being not possibile since RDS is a managed MySQL (you don't have SSH access or SUPER privileges) it would be also not that useful:
You make a slave replica for scaling out or for backup/failover, on the same machine it doens't make sense

AWS RDS MySQL vs AWS RDS SQL Server

Amazon RDS MySQL vs Amazon RDS SQLServer
I have a data size of about 30-50 GB and its all in SQL Server 2008 present in physical servers. I am thinking of moving my data to cloud and I am considering Amazon web services as a solution.
Now Amazon provides both MySQL and SQLServer and I am trying to figure out which database is the most seamlessly and efficiently supported. SQLServer in AWS is a very new service. My requirements are following :
Scalability (should be provided for both the databases)
Replication
One important thing is that recently there has been a lot of news about Oracle trying to kill MySQL . link --> http://techcrunch.com/2012/08/18/oracle-makes-more-moves-to-kill-open-source-mysql/
What would the implications of this be on Amazon MySQl service. Also besides this I dont think integration of the current db into Amazon should be a problem but how well are both db supported in Amazon. I am looking for a detailed and clear answer. Thanks!
EDIT 1 : I am still looking for a thorough answer. Does anybody have nay idea how well is SQLserver supported in AWS ?

How does one see what data is stored in the RDS database?

Running our app on Amazon RDS. How does one review / inspect data in the database? For example, how can I get a list of articles?
My app is running on Ruby on Rails and on Heroku. One method I thought of, is by running the Heroku console command.
Is there a better way to see what data is stored in the RDS database?
I use MySQL Workbench to view data, run queries, and so on. It connects right up to the Amazon RDS MySQL instance using the regular MySQL settings.
Updated:
Be sure to add the ip address of the computer for which you're connecting to the RDS instance to the access list in RDS. IIRC, by default RDS instances will only accept connections from within AWS.
I was using SequelPro but they don't support ssl. Amazon RDS says something to the effect of having to use SSH to connect your EC2 to your RDS.
This is essentially what was done in the following tutorial which uses MySQL Workbench: http://thoughtsandideas.wordpress.com/2012/05/17/monitoring-and-managing-amazon-rds-databases-using-mysql-workbench/
I had also been using SequelPro before but this tutorial is very clear and I was up and running on MySQL Workbench in just a few minutes.