Skip to content

Commit

Permalink
docs: db scaling options (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap authored Aug 5, 2024
1 parent f192532 commit c6cd946
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/resources/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ The `service` block supports:
service.
- `container_memory_limit` - (Default: 1024) The memory limit (in MB) of the
service's containers.
- `container_profile` - (Default: `m4`) Changes the CPU:RAM ratio of the
- `container_profile` - (Default: `m5`) Changes the CPU:RAM ratio of the
service's containers.
- `m4` - General Purpose (1 CPU : 4 GB RAM)
- `c5` - CPU Optimized (1 CPU : 2 GB RAM)
Expand Down
5 changes: 3 additions & 2 deletions docs/resources/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ resource "aptible_database" "example_database" {
this defaults to the latest recommended version.
- `container_size` - (Default: 1024) The size of container used for the
Database, in MB of RAM.
- `container_profile` - (Default: `m4`) Changes the CPU:RAM ratio of the
- `container_profile` - (Default: `m5`) Changes the CPU:RAM ratio of the
Database container.
- `m4` - General Purpose (1 CPU : 4 GB RAM)
- `m5` - General Purpose (1 CPU : 4 GB RAM)
- `c5` - CPU Optimized (1 CPU : 2 GB RAM)
- `r5` - Memory Optimized (1 CPU : 8 GB RAM)
- `disk_size` - The disk size of the Database, in GB.
- `iops` - The disk Input/Output Operations Per Second

## Attribute Reference

Expand Down
6 changes: 6 additions & 0 deletions docs/resources/replica.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ resource "aptible_replica" "example_database_replica" {
only contain letters, numbers, `-`, `_`, or `.`
- `container_size` - (Default: 1024) The size of container used for the
Database, in MB of RAM.
- `container_profile` - (Default: `m5`) Changes the CPU:RAM ratio of the
Database container.
- `m5` - General Purpose (1 CPU : 4 GB RAM)
- `c5` - CPU Optimized (1 CPU : 2 GB RAM)
- `r5` - Memory Optimized (1 CPU : 8 GB RAM)
- `disk_size` - The disk size of the Database, in GB.
- `iops` - The disk Input/Output Operations Per Second

## Attribute Reference

Expand Down

0 comments on commit c6cd946

Please sign in to comment.