Quick intro to AWS Relational Database Service (RDS)

This is yet another service that most of us have used. Pretty much every site is powered by a database, whether it’d be relational or non relational.

The only difference here is that AWS has taken the database and put it in a separate server for you (they install all the software that’s needed to keep it running).

So when you create a RDS you’re essentially creating a EC2 server and putting a database program in there and only using it for that purpose. (Well AWS does this for you). You get the idea.

A small site serving couple thousand users a month will have a database, but often this is going to be running on the same server. For example, in the same server you got Apache/nginx and 100 other applications running!

If your server slows down, your database slows down.

If you server is out of space, your database will stop.

If your server has weird permissions issues, database will go rogue.

If your server is hacked, your database is hacked.

If your server just dies, your database is gone

Enters RDS.. Relational Database Service.

How’s this different than a normal database running on same server… we’ll you probably guessed it’s NOT running on same server. It’s running on a separate server manged by AWS. They look after its security and software patches etc.

Because it’s on a separate machine you get flexibility of resizing it anytime you like, run backups only on database etc..

If you do go with RDS you will need to keep in mind that because data is sent and transferred from a different server, you might experience a delay compared to database server running on same machine. This also adds to data transfer costs.
(APP) <– ..data transfer.. –> (RDS)

RDS aren’t as cheap as other services like EC2 or S3.
Use RDS if you really need to, RDS doesn’t really make things easy, you’ll still need to make sure you set the database to be backed up regularly, keep your credentials safe allow EC2 to access RDS etc..

There you have it then, that’s pretty much what an RDS is!

Download a free copy

Leave a comment

Your email address will not be published. Required fields are marked *