Aws glue http timeout

Hi I’m new to aws
I had set redshift with public accessibility disabled.
I need to read tables from redshift then do some transformation and write back to other tables

But it gives me error like glue http timeout

AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: com.amazonaws.SdkClientException: Unable to execute HTTP request: Connect to glue.eu-west-1.amazonaws.com:443

What steps should I follow to get it running.

Are you running the glue job in your VPC? If so, does that VPC have a glue VPCe available or internet gateway?

It sounds like a networking issue. If public access to redshift is disabled, you can’t just connect to it from home. I don’t ever recommend making a database public, is it an option to use an ec2 instance to do your work, or use an ssh tunnel or vpn?

If you have no other choice but to make public, at least add your ip to the security group rather than allowing all ingress.

But how can i do ETL using glue?

https://docs.aws.amazon.com/glue/latest/dg/aws-glue-programming.html

I’m totally new. How i know glue is running under VPC.
I have attached redshift connection in glue job.
Also what is VPCe is it end point. I have added glue endpoint but how to attach that to vpc

I know how to do transformation but spark instance not connecting due to above error

Your role might have bad permissions