> For the complete documentation index, see [llms.txt](https://karansingh.gitbook.io/ccpnotes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://karansingh.gitbook.io/ccpnotes/pricing/ec2-pricing.md).

# EC2 Pricing

* If you have an **ELB** running, that also **incurs costs depending how much time it runs for and how much data it processes.**<br>
* **Per second billing for Linux (after the first 60 seconds).**<br>
* **Per hour billing for all other OSs.**

EC2 Pricing depends on:

* **Clock hours of server time:** Resources incur charges when they are running.<br>
* **Instance type:** Amazon EC2 provides a wide selection of instance types optimized to fit different use cases. Better instance = more expensive.<br>
* **Pricing model**: On-demand, reserved, spot or dedicated.<br>
* **Number of instances**: You can provision multiple instances of your Amazon EC2 and Amazon EBS resources to handle peak loads.<br>
* **Transfer of data between Regions.**<br>
* **Load balancing:** The number of hours the Elastic Load Balancer runs and the amount of data it processes contribute to the monthly cost.<br>
* **Detailed monitoring**: For a fixed monthly rate, you can opt for detailed monitoring, which includes seven preselected metrics recorded once a minute.<br>
* **Auto Scaling**: Auto Scaling automatically adjusts the number of Amazon EC2 instances in your deployment according to conditions you define.<br>
* **Elastic IP addresses**: You can have one Elastic IP (EIP) address associated with a running instance at no charge. Charged if they are not attached to instances or NAT gateways.<br>
* **Operating systems and software packages**: Operating system prices are included in instance prices, unless you choose to bring your own licenses.
