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=ade92bba-3f48-4e67-a274-c8b6c3bb0889)
Next (Accessing Your EC2 Instance)>