May need a little more info on the error you’re seeing. A shot in the dark here. With an Aurora DB, I believe you need to be within the same VPC as the Aurora DB. In this thread, there are essentially 3 options listed:
- Run command from on an ec2 instance that is in the same VPC and has access
- Create that
command_job.rb
function and configure it with avpc_config
function property. More info here: Jets Function Properties and Considerations VPC - Create an SSH tunnel from your local machine to ec2 instance set up as described in number 1. Then you can run
jets db:migrate
3 SSH tips: Ssh-agent, Tunnel, and Escaping from the Dead - BoltOps Blog
If you’re trying technique #2, please make sure you configure vpc_config
and make sure that subnet contains a NAT gateway.