This article doesn't cover exposing the instance to the internet. Just wasted 2 hours trying to ssh into the instance I just created :(
A more complete article can be found here: medium.com/@hmalgewatta/setting-up...
Good catch! I forgot to associate security group with the instance. This should be added to instance resource:
vpc_security_group_ids = [ aws_security_group.ubuntu.id ]
I fixed the article too!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This article doesn't cover exposing the instance to the internet. Just wasted 2 hours trying to ssh into the instance I just created :(
A more complete article can be found here: medium.com/@hmalgewatta/setting-up...
Good catch! I forgot to associate security group with the instance. This should be added to instance resource:
I fixed the article too!