AWS has a pool of public IP addresses that can be used by their customers. You are billed for an Elastic IP (EIP) if you don't have it attached to an instance. This is because the IPv4 address space is almost completely used.