Get Public IP Address of EC2 Instance
Note: The placeholders in the code that are tagged by "<>" should be revised to match your information such as IP address, AMI ID, Instance ID, etc.
ws ec2 describe-instances --instance-ids <InstanceId> --query "Reservations[].Instances[].PublicIpAddress"
.png?inst-v=f0612cdc-3dd6-438a-8a5c-61f3829f362a)
Next (Accessing Your EC2 Instance)>