Amazon Relational Database Service (RDS) is an on-demand, ready-to-use, and resizable EC2 instance specifically tailored and configured to run the requested database server. You can launch many different relational database servers on RDS, and we'll focus on PostgreSQL for this recipe.
To step through this recipe, you will need the following:
A working Terraform installation
An AWS provider configured in Terraform (refer to the previous recipes)
An Internet connection
There are many parameters at play in a database deployment, even a simple one. To be certain of what we'll deploy, we'll start by filling a simple table with the database requirements, and build on it:
Parameter |
Variable name |
Value |
---|---|---|
RDS Database Engine |
|
|
RDS Database Engine Version |
|
|
RDS Instance Name |
|
|
RDS Instance Type |
|
|
RDS Storage Size... |