2 Answers
- Newest
- Most votes
- Most comments
0
I have installed AWS CLI and the session manager plugin inside the container and started the session. But is there any other way to make the connection from local and use the same connection to connect rds inside the container? FYI, I am using a rancher desktop.
answered 2 years ago
0
- Are you running your containers on a local machine or already on AWS? - My containers are running on my local machine using a rancher's desktop.
- Is your RDS instance in a private subnet (no public IP, as in your previous question)? - Yes it is in the private subnet and has no public IP.
- You're likely using the public Internet to connect to AWS? Neither VPN nor DirectConnect? - Starting SSM Session from my local machine using AWS account credentials to connect RDS. (SSM Session - EC2 - RDS)
- Is anything not working with the AWS CLI or are you looking for an alternative? - From my local machine, If start an SSM session I can able to connect the RDS database. My question here is to start a session on the local machine and connect the RDS database from the container.
Currently, I am starting a session inside the container itself and in this case, I can connect the RDS database from the container.
answered 2 years ago
Relevant content
- asked a year ago
- asked 3 years ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 3 years ago
Hi Vignesh, I might not have an answer here, but it might help other readers if you could elaborate on your setup.
kr, Uwe