1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
1
hello
Instance types: IPv6 is supported on all instance types, except C1, M1, M2, M3, and T1.
if you want ssh to a ec2 instance via public ip address:
- Make ec2 accessible to the internet
- you MUST put your ec2 instance into a public subnet
- assign a public ip to it (a public ipv4 address or a ipv6 address).
- Open the SSH port for your client (usually the 22 port)
for example:
- check route table,ensure that your EC2 is on a public subnet
- check you security group
- ssh into you ec2(can accessible both public ipv4 and ipv4 )
my ec2 have a public ipv4 address and a ipv6 address
for more details:
beantwortet vor 6 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
From globally its working. not an issue allow port 22 from ::/0 its working. issue comes when I restrict the port from specific IP. port 22 allowed from 126.271.33.4/32 to access IPv6 address. my home network don't have IPv6 address. so without open globally how I restrict my IPv4 address to access the Ec2 instance which is running on IPv6 address.