RDS : What & How it is helpful

RDS : What & How it is helpful



What Is Amazon Relational Database Service (Amazon RDS)?

                  Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier to set up, operate, and scale a relational database in the cloud. It provides cost-efficient, resizable capacity for an industry-standard relational database and manages common database administration tasks.

Most important benefits for using Amazon RDS.

Availability

                  AWS RDS is a highly available relational database that offers a feature called Multi-AZ, which provides a SLA up-time of 99.95%. With the Multi-AZ feature enabled in a production database, AWS provides a synchronous “standby” replica of every database in another “zone.” Since both the database and its replica are in sync, there is no chance of data loss.

                  AWS also offers a domain name server (DNS) to access RDS, so even if the master database instance goes down, an RDS automatic failover mechanism will change the master DNS to a replica in order to achieve high availability.

Scalability

                  Database scalability can prove to be a real challenge if you try to scale your own, self-hosted database. Handling mandatory down times due to upgrades or infrastructure requirements can be quite tricky and is just the beginning of your scalability responsibilities. That is why one of AWS RDS key advantages is its scaling service. Moreover, MySQL RDS offers two levels of scalability features: vertical and horizontal.

            Vertical Scalability /Scaling Up – With RDS, Amazon enables push-button vertical scaling. This means that you can scale the size of an RDS instance [memory, CPU, PIOPS etc] or disk, either up or down, with the click of a button. AWS may need to stop the instance for vertical scaling, but if you have enabled the Multi-AZ feature, AWS will apply any scaling to your replicas first to ensure that they are available for use when the master is being scaled. AWS also offers the option to either configure immediate scaling or scale during weekly maintenance during non-peak hours.

            Horizontal Scalability /Scaling Out – Horizontal scalability is an approach that distributes the total database across many RDS instances that will work together.RDS MySQL offers read replica functionality using MySQL’s built-in replication feature, offering read-only database instances to serve read traffic. In order to achieve true database elasticity, a database needs to scale out beyond a simple master-slave set-up.  Amazon recommends that data be distributed across multiple RDS instances. This way, each RDS contains a portion of the complete database. By utilizing ScaleBase’s AWS AMI, you can create a real distributed relational database with many RDS instances working together as one, and without making modifications to your application. This brings you massive horizontal scaling, and after scaling out to a distributed RDS database, all AWS value-added services continue to work.

Performance

                  AWS RDS offers PIOPS (Provisioned IOPS) in order to achieve fast, consistent and predictable Input/Output (I/O) performance. This is ideal for online transaction processing (OLTP) databases or high I/O centric applications. With MySQL RDS, you can set up as many as 30,000 IOPS. The more IOPS you have set up, the more concurrent request processes increase, which in turn increases throughput and decreases latency to achieve higher database performance.

Backup

                  AWS RDS provides two types of backup mechanisms which are both very easy to setup:

            Automated backup – This functionality automatically performs a full daily snapshot of a database’s data (during a preferred window of time set up by the user). It also captures your transaction logs as well as any updates to your RDS database.
            Point-in-Time snapshots – RDS database snapshots are user initiated. Unlike automated backup, which is performed once a day, point-in-time snapshots can be performed as many times as desired. Generally, they are useful to backup set database states, like before a major release or an application upgrade.

Security

                  RDS provides same default configurations, which prevents the security missteps that occur during system set-up. Additionally, RDS provides security groups, enabling control over incoming/outgoing traffic.

More>>


Comparing Cross Platform App Development Tools








    • Related Articles

    • The RDS types with max_connections limit:

      t2.micro => 66 t2.small => 150 m3.medium => 296 t2.medium => 312 m3.large => 609 t2.large => 648 m4.large => 648 m3.xlarge => 1237 r3.large => 1258 m4.xlarge => 1320 m2.xlarge => 1412 m3.2xlarge => 2492 r3.xlarge => 2540
    • How do I create another master user for my RDS DB instance running MySQL?

      1. Begin by getting a list of the permissions currently available to the master user by running the SHOW GRANTS command: mysql> SHOW GRANTS FOR 'master_user'; The command provides output similar to the following (note: "master_user" is the master ...
    • PostgreSQL basic commnad

      How to connect AWS-RDS of PostgreSQL using terminal or CMD & basic of PostgreSQL - syntax format psql -h HOSTNAME --port=5432 -U USERNAME DATABASENAME -W -h = host or RDS Endpoint -p 5432 pre define port for postgresql -u user name for database ...
    • Connecting to development database

      Overview: Database Admin UI URL PHPMyAdmin https://pma.openxcell.dev Adminer https://adminer.openxcell.dev MySQL Databases: For all the application using mysql database https://pma.openxcell.dev serves the PHPMyAdmin Frontend. To access the ...
    • AWS Free Tier

      Some Common Frequently asked questions! 1. What is the capacity of free tier? How many users it can hold. - that entirely upon your application. We can test load balancing on that server after your application gets developed. Before that, it's ...