Aws ec2 quiz. 1) First make sure the EC2 instance has a public IP.