Skip to content

How to access Aurora from a scheduled job #3084

Answered by Lou1415926
coopsmoss asked this question in Q&A
Discussion options

You must be logged in to vote

Hello 👋🏼 ! Your intuition is right, the security group needs to be configured to allow access from the scheduled job.

By default, the Aurora database is only accessible to the service (in your case, the Load-Balanced Web Service)! In your Aurora template, you can modify the security group ingress of the resource named <clusterName>DBClusterSecurityGroup to allow ingress from the scheduled job. I have an example on how to modify it here!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@coopsmoss
Comment options

Answer selected by coopsmoss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Issue requesting guidance or information about usage area/addon Issues about addons.
2 participants