Amazon EC2 is free to try. There are multiple ways to pay for EC2 instances: On-Demand, Savings Plans, Reserved Instances, and Amazon EC2 Spot Instances. For more information on how to optimize your EC2 spend, see Amazon EC2 Cost and Capacity Optimization.