Skip to content

Commit

Permalink
FAQ: AWS resource provision (#436)
Browse files Browse the repository at this point in the history
* FAQ: AWS resource provision

* Update how-aws-provisioned-for-pr.md

Co-authored-by: Erik Osterman <[email protected]>
  • Loading branch information
drnickiw and osterman committed Jan 12, 2020
1 parent 29d21bb commit 13c1bbe
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions content/faq/how-aws-provisioned-for-pr.md
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.

0 comments on commit 13c1bbe

Please sign in to comment.