AWS AmazonRDS: PostgreSQL getting-started intro reworded; notes public access option
Summary
Rewrites the tutorial introduction to clarify the EC2 instance is only a client and that the DB instance can also be reached from other resources such as Lambda, or made publicly accessible.
Security assessment
Purely editorial expansion of the tutorial preamble. It still recommends a private DB instance in a VPC, and the added mention that the instance can be made publicly accessible is neutral informational text rather than new security guidance or a fix for a specific weakness.
Evidence
+This tutorial creates an EC2 instance and an RDS for PostgreSQL DB instance. The tutorial shows you how to access the DB instance from the EC2 instance using a standard PostgreSQL client. You use the EC2 instance only as a client to connect to the database; it isn't required for the DB instance to operate. As a best practice, this tutorial creates a private DB instance in a virtual private cloud (VPC). In most cases, other resources in the same VPC, such as EC2 instances, can access the DB instance, but resources outside the VPC can't access it. You can also connect from other resources, such as a Lambda function, or make the DB instance publicly accessible.
Diff
diff --git a/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.CreatingConnecting.PostgreSQL.md b/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.CreatingConnecting.PostgreSQL.md index 102c690..bf51860 100644 --- a//AmazonRDS/latest/UserGuide/CHAP_GettingStarted.CreatingConnecting.PostgreSQL.md +++ b//AmazonRDS/latest/UserGuide/CHAP_GettingStarted.CreatingConnecting.PostgreSQL.md @@ -11 +11 @@ PrerequisitesCreate an EC2 instanceCreate a PostgreSQL DB instance(Optional) Cre -This tutorial creates an EC2 instance and an RDS for PostgreSQL DB instance. The tutorial shows you how to access the DB instance from the EC2 instance using a standard PostgreSQL client. As a best practice, this tutorial creates a private DB instance in a virtual private cloud (VPC). In most cases, other resources in the same VPC, such as EC2 instances, can access the DB instance, but resources outside of the VPC can't access it. +This tutorial creates an EC2 instance and an RDS for PostgreSQL DB instance. The tutorial shows you how to access the DB instance from the EC2 instance using a standard PostgreSQL client. You use the EC2 instance only as a client to connect to the database; it isn't required for the DB instance to operate. As a best practice, this tutorial creates a private DB instance in a virtual private cloud (VPC). In most cases, other resources in the same VPC, such as EC2 instances, can access the DB instance, but resources outside the VPC can't access it. You can also connect from other resources, such as a Lambda function, or make the DB instance publicly accessible.