Is it possible to get the public-ip of an amazon sagemaker
notebook instance?
I was wondering if I can ssh into it using the public ip for remote debugging purposes.
I tried getting the public ip using the below curl command
$curl http://169.254.169.254/latest/meta-data
This just lists the local ip and not the public ip.
I also tried the below command.
$curl ifconfig.me
This returns an ip address like 13.232.96.15
. If I try ssh into this it doesnt work.
Is there any other way we can do this?
Note : The ssh port 22 is open already in the security group