You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a simple Spring Boot application which requires access to a PostgreSQL database.
4
4
@@ -7,3 +7,19 @@ The application has a single endpoint `/hello` which prints out if the database
7
7
Get it in a Docker image via `docker pull reflectoring/aws-rds-hello-world`.
8
8
9
9
Use the image instead of your real application to test AWS CloudFormation stacks which need access to a database.
10
+
11
+
## Testing AWS RDS connectivity with this application
12
+
13
+
1. Create an RDS PostgreSQL database with the AWS console.
14
+
2. Note the endpoint of your RDS database in the AWS console.
15
+
3. Deploy the Docker container `reflectoring/aws-rds-hello-world` into AWS instead of your real application (this could be via a CloudFormation stack, manually, or however you are deploying your app).
16
+
4. Configure your deployment in a way that Docker will pass the coordinates to your RDS database as environment variables, equivalent to this command:
0 commit comments