Price the whole server, not the instance
An EC2 price covers the instance alone. The disk is an EBS volume billed per GB-month ($0.08 for gp3 in US East), the public IPv4 address costs $0.005 an hour, and traffic out beyond 100 GB a month is billed per GB. Lightsail and CubePath fold the disk, the IPv4 and a transfer allowance into one figure, which is why this page adds the same disk and address to every EC2 row before comparing.