- Newest
- Most votes
- Most comments
Looking at all the available instance types and sorting by on-demand price, I reckon you're probably best off staying with what you have got https://aws.amazon.com/ec2/pricing/on-demand/
You can't lose a CPU without also losing memory, and as you've found you can't increase memory without an increaase in price (see screengrab below).
May I ask how you've arrive at the figure of 85% memory usage? If the workload is comfoptably within that at all times then tehre's probably not a reason to uplift this. It may actually be that it's not an actual active workload as such that's consuming some of this, it may be filesystem cache.
Or it may be that, depending on the application, it may grab a big chunk of memory when it starts, but never actually use all that much of it.
If you do find you're running short of memory, it may be more cost-effective to add a swap volume, rather than uplift the instance type.
Hello, The cheaper option with >1GB of RAM (t4g.micro is 1GB 2VCPU), is t4g.small (2GB 2VCPU). Monthly instance price would be $12.26 instead of $6.13 (in us-east-1) You may consider using Saving Plans/reserved instances for better price. (up to $2.63).
You can use the pricing calculator to make simulations : https://calculator.aws/#/estimate?id=2cf8ea6bafa89251747bfcf036dd1d57d3f0d833
Relevant content
- asked a year ago
- AWS OFFICIALUpdated a year ago
Thanks for that! The 85% number comes from monitoring - both through NewRelic and the AWS console itself. It is generally pretty steadily within 85%. I'll look into a swap volume, but won't try to change the instance type for now.