Is EC2 cost just the hourly instance rate?
EC2 instance costs vary widely, from about $0.01/hour for small t3.micro instances to over $30/hour for high-end GPU instances, depending on instance type, operating system, and purchasing model.On-Demand Pricing
Amazon EC2 On-Demand Instances let you pay for compute capacity by the hour or second with no long-term commitment. Pricing depends on the instance type, region, and operating system. For example, a t3.micro Linux instance costs around $0.0104 per hour, while a p4d.24xlarge GPU instance can cost $32.77 per hour in the US East (N. Virginia) region