I have a Redshift Cluster in my Private Subnet. I am trying to write a UNLOAD job using Glue Python Shell. But I am not able to connect with my Cluster since it resides in Private subnet. I tried to Add JDBC and Redshift Connection, still I am unsuccessful.
I went through this article and still unfortunately I am not able to understand the workflow.
How to connect Glue Python Shell to Redshift Cluster available in Private Subnet ? It will be great if some one could help me to understand this workflow.
I did the following steps in order to connect my Glue Python Shell Job with the Redshift Cluster under the Private Subnet.
If the configurations are fine you will see the success message. Now just go to your job and under Connections choose the connection defined above and you can access it.
References :
How can I access aws resources in VPC from AWS glue?
https://docs.aws.amazon.com/glue/latest/dg/setup-vpc-for-glue-access.html
https://docs.aws.amazon.com/glue/latest/dg/connection-JDBC-VPC.html
https://aws.amazon.com/blogs/big-data/how-to-access-and-analyze-on-premises-data-stores-using-aws-glue/
https://docs.aws.amazon.com/glue/latest/dg/how-it-works.html
Hope it helps..!!!