The VPC hosts the EC2 origin. The instance must be in a public subnet with a route to an Internet Gateway so CloudFront can reach it.
https://console.aws.amazon.com/vpc/

cloudfront-lab10.0.0.0/16

Enable DNS hostnames gives the EC2 instance a Public IPv4 DNS name, which you use as the CloudFront origin later.


