splunk / observability-workshop

To get started, please proceed to The Splunk Observability Cloud Workshop Homepage.

Home Page:https://splunk.github.io/observability-workshop/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSH fails if number of EC2 created are large

shikhar1987 opened this issue · comments

Description
If we create small number of Ec2, say 3 or 5, the setup works just fine. If we increase this number to say 20, SSH logins to any EC2 machine fails giving the generic error message:
Permission denied (publickey)

To Reproduce
Steps to reproduce the behavior:

  1. Create say 20 ec2 hosts using terraform.
  2. Try to SSH to the same hosts, you'll get a login failed.

Expected behavior
SSH with username ubuntu should work just fine.

Note
This is completely random. Earlier we've even created 50 instances with this script and never ran into issues, but recently we've started seeing such issues.

I just created 75 for .conf workshop and randomly tested instances and was able to login. Which region are you deploying in? Can you test another?

I think this might be related to parallelism ... can you try dropping to 5 and see if you have more concurrent success @shikhar1987 ... thank you :-)

https://developer.hashicorp.com/terraform/cli/commands/apply#parallelism-n

@shikhar1987 Any updates on this? Can I close this issue?