Skip to content

🚀 feat(RDSDiskSpaceLimit.md): add step to request aws admin permissio… #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions content/runbooks/rds/RDSDiskSpaceLimit.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,13 @@ You must avoid reaching no disk space left situation.
export AWS_PROFILE=<AWS account>
```

2. Determine the minimum storage for the increase
2. Request aws admin permissions

```bash
qontoctl aws admin get-access "bump $RDS_INSTANCE storage"
```

3. Determine the minimum storage for the increase
💡 RDS requires a minimal storage increase of 10%

```bash
Expand All @@ -91,7 +97,7 @@ You must avoid reaching no disk space left situation.
| jq -r '{"Current IOPS": .DBInstances[0].Iops, "Current Storage Limit": .DBInstances[0].AllocatedStorage, "New minimum storage size": ((.DBInstances[0].AllocatedStorage|tonumber)+(.DBInstances[0].AllocatedStorage|tonumber*0.1|floor))}'
```

3. Increase storage:
4. Increase storage:

```bash
NEW_ALLOCATED_STORAGE=<replace with new allocated storage in GB>
Expand All @@ -104,7 +110,7 @@ You must avoid reaching no disk space left situation.

❗ If the RDS instance has replicas instances (replica or reporting), you must repeat the operation for all replicas to keep the same configuration between instances

4. Backport changes in Terraform
5. Backport changes in Terraform

## Additional resources

Expand Down