AWS and Cloudanix team co-authored this blog: Real-Time Threat and Anomaly Detection for Workloads on AWS

Cloudanix – Your Partner in Cloud Security Excellence

15 Top AWS RDS Misconfigurations To Avoid in 2022

  • Sujay Maheshwari Sujay Maheshwari
  • Monday, Feb 22, 2021

In this blog post, we will take a look at the AWS top 15 RDS misconfigurations that you should avoid. Before getting started, let us brush up on our knowledge of what AWS RDS is!

What Is AWS RDS?

Amazon Relational Database Service (Amazon RDS) is a web service that helps in setting up, operating, and scaling a relational database in the cloud. AWS RDS provides cost-efficient, resizable capacity for an industry-standard relational database and manages everyday database administration tasks. To protect you from any attacks and information leaks, Amazon RDS provides you with specific configurations that enable your cloud and data backup, software patching, automatic failure detection, and recovery. However, as a CISO or cloud security associate, you need to ensure that your account is configured with the best practices of AWS RDS to avoid RDS Misconfigurations achieving the CIA triad(confidentiality, integrity, and availability of data) of security.

The 15 Common AWS RDS Misconfigurations

Let us take a look at the top 15 AWS RDS misconfigurations you should avoid in 2021.

1. Public Snapshots

To avoid any AWS RDS misconfiguration, ensure that your AWS Relational Database Service (RDS) database snapshots are not publicly accessible. By having a public snapshot, you give another AWS account permission to copy your snapshots and create database instances from it. This leads to exposing your private data. Having a public snapshot and the threats arising from them also violate compliance standards like the GDPR, NIST,PCI DSS,ARPA, and MAS.

2. Automated Backups

Not enabling automated backups is a misconfiguration and affects the availability of your system/product. You should enable automated backups of your RDS database instances to ensure point-in-time recovery. This helps you to have an efficient data restoration process. Furthermore, compliance standards like NIST and ARPA require you to follow this step.

3. Encryption Disabled

RDS database instances should be encrypted to fulfill compliance requirements for data-at-rest encryption. This is even more important in production databases that store sensitive information. This is a critical configuration that often goes overlooked and results in data leaks, which can be your worst nightmare. Furthermore, the GDPR, HIPAA, PCI DSS, APRA, MAS, and NIST require encryption of data and charge hefty fines in the event of a violation.

4. Storage Space

You should always free up storage space. Low space on disk drives can cause misconfigurations. You can also scale up RDS instances that run on low disk space. This will avoid any problems arising from insufficient disk space, thereby affecting your product’s availability. Implement this configuration to achieve better performance efficiency.

5. Publicly Accessible RDS Instance

Another big red flag is a publicly accessible RDS instance. When your RDS instance is public, it offers unrestricted access for anyone and everyone to establish a connection to your database. Having this misconfiguration is an open invitation to brute-force attacks, DDoS attacks, and SQL injections. Furthermore, you will pay heavy fines as this security arrangement would violate the GDPR, HIPAA, APRA, PCI DSS, MAS, and NIST compliance standards.

6. Transport Encryption Feature Disabled

To avoid this misconfiguration, ensure that Microsoft SQL Server and PostgreSQL instances provisioned with AWS RDS have the Transport Encryption feature enabled. This is even more important while storing, process and transporting Protected Health Information (PHI) since HIPAA compliance explicitly makes it mandatory to have this configuration.

7. Idle RDS Instances

Another RDS Misconfiguration can be avoided by identifying any Amazon RDS database instances that appear to be idle and deleting them to help lower the cost of your monthly AWS bill. This will help in cost optimization.

8. Overutilized RDS Instances

Identify any Amazon RDS database instances that appear to be overutilized and upgrade (upsize) them to better handle the database workload and improve the response time. If you do not upgrade the RDS database, it can decrease the quality of work and response time, thereby affecting your data integrity and availability.

9. Use Customer-Managed Keys instead of AWS-Managed Keys

Ensure that your RDS database instances use KMS CMK customer-managed keys rather than AWS-managed keys to having more granular control over your data-at-rest encryption/decryption process. Doing this is one step towards achieving GDPR**,** APRA**,** MAS, and**** NIST compliance.

10. RDS Instances Provisioned in VPC Public Subnets

To avoid these RDS Misconfigurations, ensure that no AWS RDS database instances are provisioned inside VPC public subnets to protect them from direct exposure to the Internet. Instead, provision them in private subnets to prevent inbound traffic from the public internet. This will also ensure the security of the AWS RDS database.

11. Not Renewing RDS Reserved Instances before the expiration

Ensure that your AWS RDS Reserved Instances (RIs) are renewed before expiration to get the appropriate discount on these instances’ hourly charges.

12. Failed RDS Reserved Instances

Identify any failed RDS Reserved Instances (RIs) available within your AWS account. A failed RDS RI is an unsuccessful reservation that received the “payment-failed” status during the purchase process.

13. Pending RDS Reserved Instances Purchases

Building on the previous misconfiguration, another misconfiguration is not keeping track of your pending RDS RI purchases. Identify any pending RDS Reserved Instance (RI) purchases available within your AWS account. A payment-pending RDS RI purchase is a reservation purchase that cannot be fully processed due to the payment method’s issues.

14. Underutilized RDS Instances

Another misconfiguration is not resizing underutilized AWS RDS instances. Identify any Amazon RDS database instances that appear to be underutilized and downsize (resize) them to help lower the cost of your monthly AWS bill.

15. RDS Reserved Instances not having corresponding DB Instances

Ensure that all your AWS RDS Reserved Instances (RI) have corresponding database instances running within the same account or within any AWS accounts members of an AWS Organization.

How Can Cloudanix Help?

RDS Misconfigurations issues are not new. It is the largest issue faced by organizations for years. It is essential to understand what they are and why acting on them immediately is necessary. Cloudanix provides you with a recipe for best practices for RDS Misconfigurations that helps audit your AWS account for these misconfigurations and more! We also help you remediate these misconfigurations in an automated way! What’s more? You can today!

People Also Read

What Our Users Are Saying

Customer Reviews

Cloudanix is trusted by security leaders worldwide to deliver proactive, reliable, and cutting-edge cloud security.

One day, I changed the password of a root account, and my CTO called me within less than a minute to confirm if I did so. I was not expecting a reaction this quick. He told me Cloudanix alerted him of this password change and that he wanted to confirm as it was a critical security notification. I couldn't believe it!

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Compliance is one way of staying secure, but what I want is the ability to go deeper and attain 'true security.' Cloudanix provides us the capability to do so.

Vishal Madan
Vishal Madan
Head of Engineering, iMocha

Cloudanix is building for the future of the cloud, which makes the product all the more desirable.

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Cloudanix gave us the visibility we were missing. Being able to move from permanent access to a robust Just-In-Time (JIT) workflow has fundamentally changed our security posture without slowing down our engineering velocity.

Pavan Kumar Lekkala
Pavan Kumar Lekkala
SRE Lead, HugoHub

We are excited to leverage Cloudanix's comprehensive multi-cloud DevSecOps solution to secure our production workloads on AWS. Cloudanix has demonstrated that it can solve many challenges that DevSecOps teams face while continually adding new features such as SOC2 compliance and drift detection.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Managing third-party partner access was once a major concern for our security posture. With Cloudanix JIT Cloud, we've effectively achieved zero third-party risk. We can now grant access confidently, knowing that it is temporary, audited, and automatically revoked, resulting in a 100% reduction in our privileged access exposure.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

The snooze feature and responsible alerts have helped us save time and prioritize what to tackle first.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Implementing Cloudanix JIT internally allowed us to practice what we preach. By eliminating permanent access to our own clouds and databases, we've neutralized the risk of standing privileges, ensuring our own 'keys to the kingdom' are never left exposed.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

The problem with permissions is a lot of times, the gaps are left open due to oversights from inside the organization itself. With Cloudanix's CIEM, we get a complete view of user permissions and access. This enables us to update the permissions, reducing the attack surface.

Nilesh Pethani
Nilesh Pethani
Application Architect, iMocha

In the world of Fintech, trust is our currency. Cloudanix provided the frictionless visibility we needed to secure our EKS workloads across AWS, ensuring we stay audit-ready for SOC2 and GDPR without slowing down our engineering velocity.

Amol Naik
Amol Naik
Head of Security & Infrastructure, HugoHub

Cloudanix delivered value within 5 minutes of onboarding. Continuous monitoring, timely detection, and excellent documentation helped us attain a great cloud security posture.

Divyanshu Shukla
Senior DevSecOps, Meesho

Technology strategies and business strategies are in a state of constant change which includes centralization and decentralization of responsibilities. Regardless of strategic shift, we still have intellectual property to protect. Cloudanix are critical partners for us in our public cloud security posture across our three cloud providers.

Jerry Locke
Jerry Locke
Senior Director Global Solutions Engineering, Eversana

Cloudanix has been amazing. They opened up a common Slack channel with us — and it feels like we are talking to our own team and getting things done with Cloud security. The support team is always available, friendly, helpful, and ready to go out of their way.

Satish Mohan
Satish Mohan
CTO, Airgap Networks

Beyond just access management, Cloudanix CSPM has given us a unified view of our AWS environment. The real-time alerting and anomaly detection allow us to prevent any untoward activity before it happens, which is critical for a marketplace connecting 50+ financial institutions.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

For a Fintech company, data is our most valuable — and most sensitive — asset. Cloudanix DAM hasn't just improved our visibility; it has given us control. The ability to mask data and prevent unauthorized queries in real-time is a game-changer for our compliance and customer trust.

Jiten Gala
Jiten Gala
President Engineering and Product, Kapittx

Our clients, especially in the Middle East financial sector, demand absolute accountability. Cloudanix JIT Cloud has been a competitive differentiator for us, allowing us to provide secure, governed access to customer accounts that meet their strictest audit and compliance requirements.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

Cloudanix is always on my team's lips because of its exceptional support. Be it a small or big query, Cloudanix has gone above and beyond to resolve them. This one's a keeper for us.

Sujit Karpe
Sujit Karpe
CTO, iMocha

For a long-lasting partnership, great support goes a long way. Cloudanix has delivered exceptional support whenever required. Their edge is their team is always ready to go beyond to solve any issues that we have. This speaks volumes about the culture at Cloudanix.

Akash Maheshwari
Akash Maheshwari
Co-founder, MoveInSync

Beyond the technology, Cloudanix feels like an extension of our own team. Their willingness to stand up a dedicated Middle East tenant for us and provide exceptional support at a sensible price makes them a long-term partner for Hugosave.

Surya Tamada
Surya Tamada
CTO, HugoHub

The real-time notifications that Cloudanix provides are a real lifesaver. Their adaptive notifications ensure that my team stays productive and doesn't get interrupted all the time.

Digvijay Singh
Staff Security Engineer, Meesho

The whole point in technological evolution is to help improve the world we live in. We must protect that and to do so requires an effective and efficient security strategy. The Cloudanix team helped make our public cloud security posture management strategy a reality. The symbiotic relationship we have allows for a continuous feedback loop which is how business should operate.

Larry Wheat
Larry Wheat
Staff Solutions Engineer, Eversana

Ready to see your graph?

Connect a cloud account in under 30 minutes. See every finding rooted in identity, asset, and blast radius — with a fix path attached.

Book a Demo