AWS RDS Database

AWS RDS Database

Teaches an AI agent to deploy and manage AWS RDS databases with Multi-AZ, read replicas, backups and encryption, using the AWS CLI and Terraform.

Skill files6 files

references/

scripts/

templates/

SKILL.md98 lines
1
---
2
name: aws-rds-database
3
description: >
4
Deploy and manage relational databases using RDS with Multi-AZ, read replicas,
5
backups, and encryption. Use for PostgreSQL, MySQL, MariaDB, and Oracle.
6
---
7
8
# AWS RDS Database
9
10
## Table of Contents
11
12
- [Overview](#overview)
13
- [When to Use](#when-to-use)
14
- [Quick Start](#quick-start)
15
- [Reference Guides](#reference-guides)
16
- [Best Practices](#best-practices)
17
18
## Overview
19
20
Amazon RDS simplifies relational database deployment and operations. Support multiple database engines with automated backups, replication, encryption, and high availability through Multi-AZ deployments.
21
22
## When to Use
23
24
- PostgreSQL and MySQL applications
25
- Transactional databases and OLTP
26
- Oracle and Microsoft SQL Server workloads
27
- Read-heavy applications with replicas
28
- Development and staging environments
29
- Data requiring ACID compliance
30
- Applications needing automatic backups
31
- Disaster recovery scenarios
32
33
## Quick Start
34
35
Minimal working example:
36
37
```bash
38
# Create DB subnet group
39
aws rds create-db-subnet-group \
40
--db-subnet-group-name app-db-subnet \
41
--db-subnet-group-description "App database subnet" \
42
--subnet-ids subnet-12345 subnet-67890
43
44
# Create security group for RDS
45
aws ec2 create-security-group \
46
--group-name rds-sg \
47
--description "RDS security group" \
48
--vpc-id vpc-12345
49
50
# Allow inbound PostgreSQL
51
aws ec2 authorize-security-group-ingress \
52
--group-id sg-rds123 \
53
--protocol tcp \
54
--port 5432 \
55
--source-security-group-id sg-app123
56
57
# Create RDS instance
58
aws rds create-db-instance \
59
--db-instance-identifier myapp-db \
60
--db-instance-class db.t3.micro \
61
--engine postgres \
62
--engine-version 15.2 \
63
// ... (see reference guides for full implementation)
64
```
65
66
## Reference Guides
67
68
Detailed implementations in the `references/` directory:
69
70
| Guide | Contents |
71
|---|---|
72
| [RDS Instance Creation with AWS CLI](references/rds-instance-creation-with-aws-cli.md) | RDS Instance Creation with AWS CLI |
73
| [Terraform RDS Configuration](references/terraform-rds-configuration.md) | Terraform RDS Configuration |
74
| [Database Connection and Configuration](references/database-connection-and-configuration.md) | Database Connection and Configuration |
75
76
## Best Practices
77
78
### ✅ DO
79
80
- Use Multi-AZ for production
81
- Enable automated backups
82
- Use encryption at rest and in transit
83
- Implement IAM database authentication
84
- Create read replicas for scaling
85
- Monitor performance metrics
86
- Set up CloudWatch alarms
87
- Store credentials in Secrets Manager
88
- Use parameter groups for configuration
89
90
### ❌ DON'T
91
92
- Store passwords in code
93
- Disable encryption
94
- Use public accessibility in production
95
- Ignore backup retention
96
- Skip automated backups
97
- Create databases without Multi-AZ
98

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…