Cis AWS Database 3.2
DevOps & Securitycis-aws-database-3.2Cis AWS Database 3.2 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Ensure to Create The Appropriate Deployment Configuration
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/AWS/CIS_AWS_Database_Services_Benchmark_v2.0.0/cis-aws-database-3.2/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-aws-database-3-2, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
3.2 Ensure to Create The Appropriate Deployment Configuration (Manual)
Description
This control is important and helps businesses to choose from two deployment options, either single or multi-AZ deployment. Depending on the business factor and their security needs the organization is then encouraged to make a decision that would benefit them.
Rationale
Selecting the appropriate deployment configuration ensures high availability, data durability, and minimal downtime based on business requirements.
Impact
Choosing the wrong deployment configuration could lead to unnecessary downtime, data loss during failures, or excessive costs for over-provisioned infrastructure.
Audit Procedure
Using AWS Console
-
Evaluate High Availability Requirements
- Assess the high availability needs of your application. Consider factors such as uptime requirements, business continuity, and disaster recovery.
- Determine if your application requires automatic failover, data durability, and minimal downtime during maintenance or outages.
-
Understand RDS Deployment Options
- Familiarize yourself with the deployment options available on Amazon RDS. These include single-AZ (Availability Zone) and multi-AZ deployments.
- Understand the differences between these options regarding availability, durability, and cost.
-
Single-AZ Deployment
- Consider a single-AZ deployment if high availability is not a critical requirement for your application.
- In a single-AZ deployment, your database runs in a single Availability Zone, providing basic durability and availability.
-
Multi-AZ Deployment
- Choose a multi-AZ deployment if high availability and automatic failover are crucial for your application.
- In a multi-AZ deployment, your database is replicated synchronously to a standby replica in a different Availability Zone, providing automatic failover in the event of a primary database failure.
- Multi-AZ deployments provide enhanced availability and durability, ensuring minimal downtime during maintenance or outages.
-
Evaluate Cost Implications
- Consider the cost implications of your deployment choice.
- Multi-AZ deployments incur additional costs than single-AZ deployments due to the replication and standby infrastructure.
-
Make a Deployment Decision
- Based on your evaluation of high availability requirements, consider the trade-offs between single-AZ and multi-AZ deployments.
- Choose the appropriate deployment configuration that meets your application's availability, durability, and cost requirements.
-
Configure RDS Deployment
- Once you have determined the deployment configuration, go to the Amazon RDS console.
- Create a new database instance or modify an existing one to match your chosen deployment configuration.
- Follow the prompts and configure the deployment options, selecting the desired AZs and replication settings.
- Adjust other configuration settings, such as instance type, storage, and backup options, based on your application's needs.
-
Test and Monitor
- After the deployment is set up, thoroughly test your application's functionality and performance.
- Monitor the RDS instance and replication status using the Amazon RDS console or CloudWatch metrics.
- Ensure that the database failover and automatic maintenance operations work as expected.
Expected Result
The deployment configuration should match the application's high availability and durability requirements. Production databases handling critical workloads should use multi-AZ deployments.
Remediation
Using AWS Console
Review the current deployment configuration and modify to multi-AZ if high availability is required. In the Amazon RDS console, select the instance, click Modify, and enable Multi-AZ deployment.
Default Value
Single-AZ deployment is the default when creating a new RDS instance.
References
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 0.0 Explicitly Not Mapped | |||
| v7 | 0.0 Explicitly Not Mapped |
Profile
Level 1 | Manual