-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add standardized instance sizing in AWS (#172)
* Veronica/tshirt deployment (#171) * feat: Add support for t-shirt-sized deployments * Remove duplicates --------- Co-authored-by: Veronica JungYeon Kim <[email protected]> * changes * test * terraform fmt * touchups * a bit o polish --------- Co-authored-by: Veronica JungYeon Kim <[email protected]>
- Loading branch information
1 parent
ce44732
commit e6b4ab7
Showing
9 changed files
with
151 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
################################################## | ||
# standard deployment sizes are specified in | ||
# this object | ||
################################################## | ||
|
||
locals { | ||
deployment_size = { | ||
small = { | ||
db = "db.r6g.large", | ||
node_count = 2, | ||
node_instance = "r6i.large" | ||
cache = "cache.m6g.large" | ||
}, | ||
medium = { | ||
db = "db.r6g.xlarge", | ||
node_count = 2, | ||
node_instance = "r6i.xlarge" | ||
cache = "cache.m6g.large" | ||
}, | ||
large = { | ||
db = "db.r6g.2xlarge", | ||
node_count = 2, | ||
node_instance = "r6i.2xlarge" | ||
cache = "cache.m6g.xlarge" | ||
}, | ||
xlarge = { | ||
db = "db.r6g.4xlarge", | ||
node_count = 3, | ||
node_instance = "r6i.4xlarge" | ||
cache = "cache.m6g.xlarge" | ||
}, | ||
xxlarge = { | ||
db = "db.r6g.8xlarge", | ||
node_count = 3, | ||
node_instance = "r6i.8xlarge" | ||
cache = "cache.m6g.2xlarge" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters