Postgres on
Profile picture
amaan-ngp

Manage client connections on server side.


#postgres #p #databases

Show More

Deploy databases and Services easily for development and testing pipelines.


#databases #kafka #postgres #p

Show More

Continious AWS IAM Security Practices


#security #aws #p #postgres

Show More

Sending PostgreSQL Database metrics to InfluxDB.


#monitoring #postgres #influxdb

Show More
Infrastructure security in Amazon RDS

#databases #security #postgres

Show More

Highlights

As a managed service, Amazon RDS is protected by the AWS global network security procedures that are described in the Amazon Web Services: Overview of security processes whitepaper. You use AWS published API calls to access Amazon RDS through the network. Clients must support Transport Layer Security (TLS) 1.0. We recommend TLS 1.2 or later. Clients must also support cipher suites with perfect forward secrecy (PFS) such as Ephemeral Diffie-Hellman (DHE) or Elliptic Curve Ephemeral Diffie-Hellman (ECDHE). Most modern systems such as Java 7 and later support these modes. Additionally, requests must be signed by using an access key ID and a secret access key that is associated with an IAM principal. Or you can use the AWS Security Token Service (AWS STS) to generate temporary security credentials to sign requests.

So which TLS version is a good one? #security

Show More

Highlights

Note that all OpenSSL versions that support TLS 1.1 also support TLS 1.2, so setting the minimum version to TLS 1.2 instead of TLS 1.1 would have no practical drawback for users of OpenSSL, as far as I can tell. There are PostgreSQL clients that don’t use OpenSSL, such as the JDBC driver, but it seems unlikely that the version of the Java stack you use would not support at least TLS 1.2 at this point. It is probably too early to require TLS 1.3. The protocol itself and the required OpenSSL release are only about a year old, and so you probably won’t find them in most operating installations that are currently in use.
Terraforming RDS — Part 3


If you were administering your own PostgreSQL instance, you would set these values in various ways:

  • In the server configuration file, postgresql.conf
  • On the command line when starting the server
  • In the database directly, using SQL to set values

Using AWS RDS, you don’t have access to the configuration file or the server startup command so AWS provides the “parameter group” resource to configure your RDS instance on startup.


#databases #postgres

Show More

Highlights

dynamic and static parameters Notice the “Apply type” column in the screenshot above. If the value in this column is “dynamic” then the value can be set or updated while the server is running. If it is “static” then the server must be restarted for the parameter to take effect. Since a parameter group is a separate resource from the RDS instance, you can update a static parameter value in the parameter group without restarting the server; AWS will store the change to be applied later.
... tech.instacart.com
Terraforming RDS — Part 1


#databases #postgres

Show More