- Newest
- Most votes
- Most comments
Based on your description, the issue appears to be related to network connectivity between your Amazon Managed Grafana workspace and your Timestream for InfluxDB instance, despite being in the same VPC.
When you see an "i/o timeout" error, it typically indicates that the connection attempt is being blocked or timing out at the network level. Here are some potential causes and solutions:
-
VPC Configuration: Even though both services are in the same VPC, Amazon Managed Grafana requires a specific VPC connection setup. Amazon Managed Grafana needs to create connections (using elastic network interfaces) per subnet to connect to your VPC. Make sure you've properly configured the VPC connection for your Grafana workspace.
-
Security Group Rules: Although you mentioned security groups allow all needed traffic, double-check that the security group associated with your Managed Grafana workspace's VPC connection allows outbound traffic to port 8086, and the security group for your InfluxDB instance allows inbound traffic from the Grafana security group on port 8086.
-
Routing Configuration: Ensure that the route tables in your VPC are correctly configured to allow traffic between the subnets where Grafana and InfluxDB are deployed.
-
Availability Zone Considerations: Amazon Managed Grafana requires at least two Availability Zones with one private subnet in each when connecting to a VPC. Verify that your VPC setup meets this requirement.
-
IP Address Availability: Each subnet used for the VPC connection must have at least 15 available IP addresses. Check if your subnets have sufficient IP addresses available.
Since your local Grafana can connect to the InfluxDB instance but AWS Managed Grafana cannot, this strongly suggests a network/VPC configuration issue rather than an authentication or configuration problem with InfluxDB itself.
Try reviewing your Amazon Managed Grafana VPC connection settings and ensure that all prerequisites for VPC connectivity are met. You might need to check the VPC connection status in the Amazon Managed Grafana console to verify it's properly established.
Sources
Connect to data sources or notification channels in Amazon VPC from Amazon Managed Grafana - Amazon Managed Grafana
Grafana - Amazon Timestream
Connect to an InfluxDB data source - Amazon Managed Grafana
Relevant content
- asked 2 years ago
- asked 2 years ago
