DEVELOPER BLOG

HOME > DEVELOPER BLOG > 【Introduction to AWS】Summarizing Amazon RDS Best Practices and Cautions - PrismScaler

【Introduction to AWS】Summarizing Amazon RDS Best Practices and Cautions - PrismScaler

1. Introduction

Hello! We are a writer team from Definer Inc. In this issue, you are wondering about the use of some of the best practices and cautions for Amazon RDS. Let's take a look at the actual screens and resources to explain in detail.

2. Purpose/Use Cases

This article summarizes best practices and things to keep in mind when using Amazon RDS.

3. What is Amazon RDS?

First, let's review Amazon RDS.   Amazon RDS (Amazon Relational Database Service) is a relational database service provided by AWS. A relational database is represented by two axes, rows and columns, based on which data is searched and edited. In layman's terms, it is like a highly functional Excel. Relational databases are suited for efficient biosynthesis and management of information. As such, they are used to manage many types of data, such as deposit and withdrawal data, employee lists, and so on.   The following engines are supported, covering all major databases   PostgreSQL An open source (OSS) database with a reputation for high scalability and rich functionality.   MySQL An open source (OSS) database that is widely used as a basic database.   Oracle Oracle's long-established database with a good balance of scalability and robustness, and a well-developed support system.   SQL Server A database developed by Microsoft, with high compatibility with Microsoft products.   MariaDB An open source (OSS) database based on MySQL with excellent scalability, security, and performance.   Amazon Aurora A database provided by Amazon, featuring high performance.

4. Best Practices and Cautions for Using Amazon RDS

The following are some best practices for using RDS.   Monitoring Monitor CPU, memory, storage, replica latency, etc. via CloudWatch. Setup CloudWatch alarms to notify you when monitored items reach threshold values.   Performance Have some buffer in storage, and expand storage of RDS instances when approaching the limit. Monitor I/O and consider using read replicas or upgrading the instance type if performance issues arise.   Backups Enable automatic backups and set backup windows so that backups are performed at times of the day when I/O is low and batch processing does not occur, such as late at night. Test failover in the event of a disaster in advance to confirm behavior and to understand the time required.     In addition, take note of the following points.   Points to note ・RDS instances can only be stopped for a maximum of 7 days; they will be automatically started up after 7 days have passed, so be careful if you are managing costs severely. ・A restart is required for setting changes such as instance type upgrades and maintenance window changes. ・Storage size can be expanded but not reduced. ・Storage size can be expanded, but not reduced. ・If client applications cache the DNS of the RDS instance, set the TTL to less than 30 seconds. (Because the IP address of the database may change due to failover, connections from applications may fail if the TTL is too long.

5. Cited/Referenced Articles

6. About the proprietary solution "PrismScaler"

・PrismScaler is a web service that enables the construction of multi-cloud infrastructures such as AWS, Azure, and GCP in just three steps, without requiring development and operation. ・PrismScaler is a web service that enables multi-cloud infrastructure construction such as AWS, Azure, GCP, etc. in just 3 steps without development and operation. ・The solution is designed for a wide range of usage scenarios such as cloud infrastructure construction/cloud migration, cloud maintenance and operation, and cost optimization, and can easily realize more than several hundred high-quality general-purpose cloud infrastructures by appropriately combining IaaS and PaaS.  

7. Contact us

This article provides useful introductory information free of charge. For consultation and inquiries, please contact "Definer Inc".

8. Regarding Definer

・Definer Inc. provides one-stop solutions from upstream to downstream of IT. ・We are committed to providing integrated support for advanced IT technologies such as AI and cloud IT infrastructure, from consulting to requirement definition/design development/implementation, and maintenance and operation. ・We are committed to providing integrated support for advanced IT technologies such as AI and cloud IT infrastructure, from consulting to requirement definition, design development, implementation, maintenance, and operation. ・PrismScaler is a high-quality, rapid, "auto-configuration," "auto-monitoring," "problem detection," and "configuration visualization" for multi-cloud/IT infrastructure such as AWS, Azure, and GCP.