0

Im trying to invoke s3 and ssm commands using an EC2 instance. For aws s3api list-buketes,it returns list of names. But for aws ssm get-parameter --name "Customer" it times out.

I have attached a profile with admin access to the EC2 instance. But it is the same. The instance is attached to a security group which opens to the internet.

I can invoke the same ssm command with success from outside the VPC.

Any ideas? Thanks in advance.

mumbo_s5
  • 161
  • 1
  • 14

1 Answers1

0

As John Rotenstein mentined, my instance is in the wrong subnet.

Thanks for pointing it out.

mumbo_s5
  • 161
  • 1
  • 14