9. How EC2 instance is assigned to to private and public IP address?
In Amazon Web Services(AWS),the way an Amazon EC2 instance receives its private and public IP address depends entirely on the VPC (Virtual Private Cloud),Subnet configuration,and launching settings you choose when creating the instance.