I have a working AWS Elastic Beanstalk instance with an attached RDS database and want to enable SSH from my development machine. What\'s the best way to do that? Specifical
To add ssh to your EB instances, first make sure you know which policy it currently uses.
In your EB web console, go to the environment and then Configuration and then Instances. You'll see the Instance profile name there.
Now go to the your IAM console and locate that role. Here's the policy I have there, which allows me to add SSH to the environment:
{
"Version": "2015-01-14",
"Statement": [
{
"Action": [
"autoscaling:Describe*",
"cloudwatch:*"
],
"Effect": "Allow",
"Resource": "*"
}
]
}