1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
Can you check what kind of error occurs when accessing RDS from Airflow?
The fact that you can connect from Lambda in the same VPC as EC2 means that there are no problems with settings such as routing.
Also, if the information that EC2 was originally able to connect to RDS is correct, there should be no problem with the security group.
Therefore, I think the only way to troubleshoot is to check the Airflow logs.
Relevant content
- Accepted Answerasked 7 months ago
- Accepted Answerasked 4 years ago
- asked a month ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
Thanks for the comment. The Airflow log is all about Mysql Connection failed. I use a PythonOperator to connect RDS and i wonder "is it Airflow problem or not?". So I tested bare python code connecting to RDS in python file and it was also failed.
I've done with below.