![]() When you create the subnet in your vpc, by default it assigns the default routing table, which probably does not accept incoming traffic from the internet. Routing Tableįor a new subnet in a vpc, you need to change to a routing table that points 0.0.0.0/0 to internet gateway target. You can find the security group through the ec2 menu, in the instance options. Make sure to have an inbound rule for tcp port 22 and either all ips or your ip. When it times out or fails, check the following: Security Group To connect use ssh like so: ssh -i keyname.pem keyname.pem is the name of your private key, username is the correct username for your os distribution, and xxx.xx.xxx.xx is the public ip address.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |