Skip to content

Commit

Permalink
Spot VMs paragraph (#1) (#69)
Browse files Browse the repository at this point in the history
* spot vms paragraph



* typos fix #47



* typo fix #47



---------

Signed-off-by: lbg-oju <[email protected]>
  • Loading branch information
lbg-oju authored Aug 7, 2024
1 parent 9f01285 commit c78f81c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Guides/Cost Optimization in the Cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Before you can optimize anything, you need to turn on metrics to monitor the per
Examples of metrics monitoring services:

- AWS: [CloudWatch](https://aws.amazon.com/cloudwatch/)
- [Azure Monitor](https://azure.microsoft.com/en-us/products/monitor/)
- Azure: [Azure Monitor](https://azure.microsoft.com/en-us/products/monitor/)
- GCP: [Cloud Monitoring](https://cloud.google.com/monitoring/?hl=en)
- [Datadog](https://www.datadoghq.com/)

Expand All @@ -39,6 +39,17 @@ Rightsizing is a term that means identifying and adjusting specific resources to

After rightsizing your compute service, you can typically enable autoscaling to dynamically adjust resources up and down based on demand in your workload. This means that if demand is low, autoscaling will reduce the amount of resources provisioned allowing you to save money. Along with autoscaling, you will typically set high and low thresholds which should be based around your typical workload.

### Using spot instances

This is a type of VM instance that can be terminated at any time when resources need to be reallocated for other tasks. Because of this, spot VMs are offered at a much lower price with cost reductions of up to 90% as they make use of unused compute capacity. Spot VMs are suitable for fault-tolerant, stateless and flexible workloads that can handle interruptions but don't need to be completed at a specific time. Examples of these types of workloads include CI/CD jobs or batch processing jobs and more but it's not recommended for other types of workloads.

Examples of different spot VMs:

- AWS: [AWS ECS Spot Instances](https://aws.amazon.com/ec2/spot/)
- Azure: [Azure Spot VMs](https://azure.microsoft.com/en-us/products/virtual-machines/spot)
- GCP: [GCP Spot VMs](https://cloud.google.com/spot-vms)
- IBM: [Transient virtual servers](https://cloud.ibm.com/docs/virtual-servers?topic=virtual-servers-about-vs-transient)

### Savings plans

Finally, after exploring the above options, you can usually get significant savings by purchasing savings plans which are typically longer range commitments to use a predetermined amount of a resource. These are great when you know that your workload is relatively steady and predictable. Savings plans are a great high impact and low effort option for saving money.
Expand Down

0 comments on commit c78f81c

Please sign in to comment.