-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* FAQ: AWS resource provision * Update how-aws-provisioned-for-pr.md Co-authored-by: Erik Osterman <[email protected]>
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 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,24 @@ | ||
--- | ||
title: "How are AWS resources provisioned?" | ||
description: "We do not recommend deploying any new AWS resources for Pull Request environments." | ||
tags: | ||
- AWS | ||
- Postgres | ||
- PR | ||
- ElastiCache | ||
--- | ||
|
||
## Question | ||
|
||
How are AWS resources provisioned for Pull Request environments? | ||
|
||
|
||
## Answer | ||
|
||
We do not recommend deploying any new AWS resources for PR environments. | ||
|
||
For example, if the app depends on RDS Postgres, then we deploy Postgres as an ephemeral container. If it depends on ElastiCache Redis, then we deploy Redis as an ephemeral container for the PR. This ensures fully disposable and easily provisioned environments. | ||
|
||
This is also why we run a "pre-production" environment that uses all the standard fully-managed services like RDS and ElastiCache. Since thes is a finite/fixed environment, it works well. | ||
|
||
Basically, our goal for integration testing differs based on the type of environment (demo, qa, staging, PR, pre-predocution). For PR environments, our goal is to validate integration with backing services works, not our ability to spin up an RDS database. |