Skip to content

Redshift serverless workgroup suddenly stopped accepting JDBC connections

0

We have 2 identical serverless setups (workgroup/namespace), named dev and prod. Overnight, prod stopped accepted JDBC connections from any 3rd party source. We didn't change any parameters.

  • Prod has been it was working fine for months, up to last night.
  • No changes were made to prod's setup
  • Dev and prod have the same parameters. Dev continues to work as normal.
  • I can access prod via QEv2, it works as normal.

So, production is down. Does anyone have any idea how this could happen? What to look for? It's actually the 2nd time it's happened to us. The first time, we gave up on a fix and had to create a new prod serverless setup, still with no explanation.

It seems like I'm not the only one with issues like this: https://repost.aws/questions/QUsbJOzs-xTryQYo1-SqkxJA/redshift-serverless-stopped-allowing-connections Those there wasn't a solution to that post from 9 months ago, for my case.

asked 2 years ago498 views

1 Answer
0

I understand your frustration with the sudden connection issues to your Amazon Redshift Serverless production workgroup. This is indeed a concerning situation, especially since it's happened before. Let's explore some potential causes and troubleshooting steps:

  1. Auto-pause feature: Even though you mentioned no changes were made, it's possible that the production workgroup entered an idle state and auto-paused. When this happens, connections can fail until the workgroup is resumed. Try logging in with a different authentication method (as you did with QEv2) to resume the workgroup, then attempt to connect again with your JDBC connection.

  2. Security group or network configuration: Although you didn't change any parameters, it's possible that an automated process or another team member inadvertently modified security group rules or network settings. Double-check your VPC security group settings to ensure that inbound rules for your client CIDR/IP addresses are still in place.

  3. IAM permissions: Verify that the IAM roles or users associated with your JDBC connections still have the necessary permissions to access the Redshift Serverless workgroup.

  4. JDBC driver compatibility: Ensure that your JDBC driver version is up-to-date and compatible with the current Redshift Serverless version. Sometimes, AWS updates can cause compatibility issues with older driver versions.

  5. SSL certificate issues: If you're using SSL for your connections, check if there have been any changes or expirations to the SSL certificates.

  6. Connection string: Verify that your connection string is still correct and includes all necessary parameters. The basic format should be: jdbc:redshift://workgroup-name.account-number.aws-region.redshift-serverless.amazonaws.com:5439/dev

  7. AWS service health: Check the AWS Service Health Dashboard to see if there are any ongoing issues with Redshift Serverless in your region.

  8. CloudWatch logs: Review CloudWatch logs for your Redshift Serverless workgroup to look for any error messages or unusual activity around the time the connections started failing.

  9. AWS support: If none of the above steps resolve the issue, it may be worth contacting AWS support, especially since this is a recurring problem affecting your production environment.

Remember to document all your troubleshooting steps and findings. This will be valuable information if you need to escalate the issue to AWS support or if you encounter similar problems in the future.
Sources
Troubleshooting connection issues in Amazon Redshift - Amazon Redshift
Troubleshooting connections from Amazon Redshift query editor v2 - Amazon Redshift
Connecting to Amazon Redshift Serverless - Amazon Redshift

answered 2 years ago

AWS
SUPPORT ENGINEER

reviewed 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.