Could not find S3 endpoint or NAT gateway for subnetId
I am unable to connect AWS Glue with RDS
VPC S3 endpoint validation failed for SubnetId: subnet-7e8a2. VPC: vpc-4d2d25. Reason: Could not find S3 endpoint or NAT gateway for subnetId: subnet-7ea32 in Vpc vpc-4d225.
Solution 1:
Check that you have an Amazon S3 VPC endpoint set up, which is required with AWS Glue.
For more details on how to setup a S3 VPC endpoint please refer the following AWS documentation :
https://docs.aws.amazon.com/glue/latest/dg/vpc-endpoints-s3.html
Solution 2:
The mistake I was making is that I was setting up an endpoint for Glue and not S3. Check your VPC endpoint and make sure that it was created for S3.