AWS Nitro Enclave instance does not have public ipv4 address

0

I have created an AWS ENclave enabled instance using the command

aws ec2 run-instances --image-id ami-<id> --count 1 --instance-type c5.2xlarge --key-name key_file_without_extension --region us-east-1 --enclave-options 'Enabled=true' --subnet-id subnet-<id>

But I cannot see a public IPv4 address though it has a private IPv4 address How to ssh in to this instance ? how to assign a public IPv4 address?

c02f2e
已提問 2 年前檢視次數 309 次
1 個回答
0

Have you launched the instance in a subnet that automatically assigned a public IP address? If not, you'll need to specify that you want a public IP assigned during instance launch.

profile pictureAWS
專家
已回答 2 年前
  • Launched using the wizard not sure what s the subnet is

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南