Skip to content

Commit e9dc4bb

Browse files
authored
Merge pull request #46 from qonto/update-doc
🚀 feat(RDSDiskSpaceLimit.md): add step to request aws admin permissio…
2 parents 0689504 + 4ac6ef5 commit e9dc4bb

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

content/runbooks/rds/RDSDiskSpaceLimit.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,13 @@ You must avoid reaching no disk space left situation.
7979
export AWS_PROFILE=<AWS account>
8080
```
8181

82-
2. Determine the minimum storage for the increase
82+
2. Request aws admin permissions
83+
84+
```bash
85+
qontoctl aws admin get-access "bump $RDS_INSTANCE storage"
86+
```
87+
88+
3. Determine the minimum storage for the increase
8389
💡 RDS requires a minimal storage increase of 10%
8490

8591
```bash
@@ -91,7 +97,7 @@ You must avoid reaching no disk space left situation.
9197
| 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))}'
9298
```
9399

94-
3. Increase storage:
100+
4. Increase storage:
95101

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

105111
❗ 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
106112

107-
4. Backport changes in Terraform
113+
5. Backport changes in Terraform
108114

109115
## Additional resources
110116

0 commit comments

Comments
 (0)