- 最新
- 最多得票
- 最多評論
This error seems to be due to connection timeout.
I see that you have two JDBC sources and you have two glue connections defined. When a glue connection is attached to an ETL job, it creates ENIs (Elastic Network Interface) in the subnet configured in the connection. This ENI is used to manage access to your resources in your VPC. When you have multiple such connections attached to the job, it creates ENIs from the first connection only. It doesn't create/attach ENIs from other glue connections.
With that said, is your Redshift and RDS both in same VPC or different VPC? If both are in same VPC, check if security group in first connection (I assume it is redshift since it is working) is allowed in RDS security group inbound rules.
If they are in different VPC, check if there is network path from one VPC to the other. This can be done using VPC peering. For further information on this setup, please refer to this doc - https://aws.amazon.com/blogs/big-data/connecting-to-and-running-etl-jobs-across-multiple-vpcs-using-a-dedicated-aws-glue-vpc/
AWS Glue catalog is a metadata catalog. It does not actually store the data. Therefore, in your code, you can use a glue table (write_dynamic_frame.from_catalog) that points to your RDS table or you can use connection details as you have done it in the code(write_dynamic_frame.from_jdbc_conf or from_options). Either way you would face this error if above network configuration is missing.
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前