Maintaining an AWS account requires continuous attention. Over time, resources are no longer used, permissions become outdated, and configurations that once made sense can pose risks to the operation.
This review, known as housekeeping, helps prevent security issues, resource waste, and availability failures.
Below, we have gathered ten points to include in your routine before 2027.
1. Rotate IAM keys and enforce MFA for all users
Old access keys may remain active even when they are no longer needed. If exposed, they can allow third parties to access account resources. Therefore, review user and service credentials, identify unused keys, and rotate those that are still necessary.
The rotation should be planned to prevent disruptions to applications and integrations that depend on these credentials. Whenever possible, prioritize temporary access mechanisms instead of maintaining permanent keys.
Also enforce multi-factor authentication (MFA) for all users, including the root account. This additional layer makes unauthorized access difficult even when a password is compromised.
2. Test backups by actually restoring them, not just checking that they exist
Having backups configured does not mean your data can be recovered when needed. A file may be corrupted, a configuration may be incomplete, or the restoration process may not work as expected.
Perform periodic recovery tests, verifying that the restored data is intact and that applications can resume operation. The test must also consider the time required to complete the recovery.
Two indicators help guide this effort:
RPO: how much data the operation can lose, measured in time.
RTO: how long the operation can remain unavailable until it is restored.
3. Close what is public: S3 buckets, databases, and snapshots
Resources unnecessarily exposed to the internet increase the infrastructure's attack surface. An S3 bucket with public permissions, for example, can make files accessible to anyone. Databases and snapshots also require attention.
Review access policies, bucket permissions, and database network configurations. Also check whether snapshots and images are shared with external accounts or publicly available without an operational justification.
Public exposure is not always a mistake, as some services need to receive external connections. The key is to ensure that each access point has a clear purpose and is limited to what is necessary.
4. Define and test your DR and monitoring plan
The disaster recovery (DR) plan establishes how the infrastructure should resume operation in the event of a major failure. It needs to define responsibilities, priorities, required resources, and procedures for recovering applications and data.
Run simulations to verify that the steps work, that the responsible parties understand their roles, and that the estimated recovery times are realistic.
Monitoring must also be part of this routine. Use tools like Amazon CloudWatch to track metrics, identify non-standard behavior, and configure alarms for situations that require intervention.
5. Review Security Groups: no ports open to the world
Security Groups control inbound and outbound traffic for resources in AWS. An overly permissive rule can leave services accessible to any IP address, even when they should only accept connections from specific networks.
Review inbound rules and look for permissions open to all addresses, such as 0.0.0.0/0 and ::/0. Pay special attention to ports used by administrative services and databases, such as SSH, RDP, and database connections.
Keep only necessary ports open and restrict the source of connections whenever possible. The review should consider the function of each resource, avoiding both unnecessary exposure and blockages that hinder operations.
6. Delete what no one uses: old volumes, IPs, snapshots, and AMIs
Forgotten resources can continue to generate costs even when they are no longer part of the operation. Detached EBS volumes, unused IP addresses, old snapshots, and obsolete AMI images are common examples.
Take inventory of these items and confirm whether any dependencies still exist before deleting them. A snapshot might be necessary for retention or recovery, while an AMI might be part of a deployment pipeline.
After verifying these dependencies, remove what is genuinely no longer useful. This simple review helps reduce expenses and keep the environment more organized.
7. Review RIs and Savings Plans before they expire
Reserved Instances (RI) and Savings Plans allow you to reduce costs in exchange for usage or consumption commitments. The issue is that these commitments must match the reality of your infrastructure. A reservation that made sense months ago may no longer be suitable following shifts in demand.
Before expiration, check the utilization and coverage of existing commitments. Evaluate whether instances and services still match the planned profile and if there is a need to renew, replace, or adjust planning.
Avoid renewing automatically without reviewing the scenario. The decision should consider expected consumption for the upcoming period, not just the terms of the current contract.
8. Upgrade unsupported versions: OS, runtimes, and RDS engines
Operating systems, programming languages, and database engines that have reached end-of-support may stop receiving security updates. This increases the risk of vulnerabilities and can limit compatibility with newer tools and services.
Review the versions used in instances and applications, including operating systems, runtimes such as Java, Python, PHP, and Node.js, as well as Amazon RDS engines.
Plan upgrades with compatibility testing before applying them to production. Depending on the application, migration may require adjustments to code, dependencies, or database configurations.
9. Enable termination protection on EC2, RDS, and load balancers
Accidental deletion can disrupt services and cause data loss or downtime. AWS offers protection mechanisms that make it harder to remove critical resources, but they must be enabled and reviewed.
In EC2, verify termination protection for instances. In RDS, enable deletion protection for databases that should not be removed by mistake. For load balancers, review permissions and access controls that might allow their deletion.
These configurations do not replace backups or access controls, but they add a safeguard against operational errors. Prioritize resources that are critical to infrastructure operations.
10. Create cost alarms in the payer account
In multi-account AWS environments, tracking expenses only on an individual basis can make it difficult to detect unexpected spikes. The payer account provides a consolidated view of consumption and allows you to track costs across the entire organization.
Configure alerts in AWS Budgets to track spending thresholds and receive notifications when consumption reaches specific amounts. It is also worth enabling AWS Cost Anomaly Detection, which helps identify unusual cost increases.
In addition to the total, monitor spending by account and service. This makes it easier to pinpoint the source of a fluctuation and act before it turns into a surprise on the bill.
BONUS: Turn the checklist into a routine
The ten points do not need to be addressed all at once. The first step is to identify the most critical risks to the operation and organize fixes by priority.
Then, establish a review frequency based on the criticality and complexity of the infrastructure. Security, backups, access, and costs require ongoing monitoring, but each environment may require different intervals.
The goal of housekeeping is to prevent small problems from piling up. A well-defined maintenance routine helps keep the AWS account secure, organized, and prepared for the coming year's needs.




