我有一个ruby项目,没有rails。在我的项目中,我使用了一些plsql,使用了ruby_plsql gem,如下所示: require 'ruby_plsql'
plsql.connection = OCI8.new('user','password',"//host:1521/my-db") # This only execute one time
def execute_pl
ds = plsql.my_package.my_procedure(company, country) # This execute
我正在尝试从MySQL客户端工具连接到RDS实例。但我发现的问题是它只能通过SSH连接到一台机器(AWS堡垒主机)。但是,我如何通过AWS堡垒主机在内部连接到RDS实例?
Consider the machines A, B and C where,
A-> local machine
B-> AWS ec2-instance
C-> RDS instance
在将机器B作为AWS堡垒主机时,是否可以通过SSH通过AWS堡垒主机(机器B)连接到RDS实例,只需从机器A连接到机器B?
即,从机器A通过SSH连接到机器B时,机器B应该自动使用SSH并连接到MySQL RDS实例