April 10, 2020 / Nirav Shah
This blog will detail how you can reduce the AWS bill of your AWS cloud infrastructure. We will provide some guidelines based on the experience of our organization for handling AWS costs and share some tips that worked well for us.
Let us first start with the process of analyzing your AWS bill. So we recommended
you to first check below things:
Some other ways to optimize your AWS costs:
1) EC2 — Elastic Compute Cloud
The first thing you need to do when reducing EC2 spending is to shut down unused instances. To reduce costs even further, use Spot Instances to scale-up your resources.The next cost-saving step is to have long-term (12 or 36 months) reservations for the instances you run 24/7.
Purchase Savings Plans: More information at https://aws.amazon.com/savingsplans/
Using AMD or ARM based instance types in favor of Intel-based instance types and it is also worth a look.
To know what is AMD and ARM please refer to below link
https://aws.amazon.com/ec2/graviton/
2) S3 — Simple storage Service
More details at:
https://aws.amazon.com/blogs/aws/new-amazon-s3-storage-class-glacier-deep-archive/
3) Data Transfer (ELB & S3)
AWS has three major data transfer costs that are Transfer Out, Inter-Regions and Inter AZ. Some ideas below to reduce costs:
Replacing your REST APIs for GraphQL APIs will also bring you savings. The reason for that is because GraphQL will reduce the number of requests performed. To know more about GraphQL follow this link: https://aws.amazon.com/graphql
4) Monitor, Track and Analyze your Services Usage
Trusted Advisor and CloudWatch are monitoring and management tools to access your instance metrics. Based on the data collected, you can assess your workloads and scale your instance size up or down. Each CloudWatch alarm costs $0.10 per month and CloudWatch dashboard costs $3.00 per month. Therefore, delete needless alarms and dashboards.Daily monitoring will help you to identify suspicious uptrends and take action as soon as possible.
To know about the Trusted Advisor visit our previous blog:
https://www.eternalsoftsolutions.com/blog/aws-cost-optimization-tools/
5) Select the correct AWS Region to minimize costs
Cost varies by region if you Choose the wrong one, and you will end up paying a lot more.
6) VPC — Virtual Private Cloud
Traffic between Availability Zones is charged at $0.02/GB. Check the traffic costs and think about making changes to your architecture when necessary.
7) Auto Scaling
Amazon EC2 Auto Scaling helps you maintain application availability and allows you to automatically add or remove EC2 instances according to conditions that you have define.so as per your requirement you can configure it
To know more about in details please visit below link
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html
8) Unused infrastructur
Detached Elastic IPs (EIPs), beacues they are free when attached to an EC2 instance but if you don’t use it you have to pay for it.
Load Balancer (ELB) :- Remove the unused load balancer because the cost around is $0.025 per load balancer per hour (or partial hour), and $0.008 per GB of data processed by the load balancer.
Note: Trusted advisor Tool can be used to remove above unused services
9) Elasticache — Reserved Nodes
Very few people know that you can purchase reserved instances for Elasticache. The savings are pretty good and detailed below:
1 Year Reservation — 65% discount
3 Years Reservation — 77% discount
The process is similar to acquiring EC2 reserved instances. To obtain a reserved node please go through below link
https://www.cloudconformity.com/knowledge-base/aws/ElastiCache/unused-reserved-cache-nodes.html
10) Choose AWS Support Type
There are four types of support levels
Basic — Free
Developer — $29/mo or 3% of monthly bill
Business — $100/mo or 10%-3% of the monthly bill depending on the volume
Enterprise →$15,000
For more information please visit
https://www.amazonaws.cn/en/support/compare-plans/
Resources
https://aws.amazon.com/blogs/startups/six-ways-to-reduce-your-aws-bill/
https://blog.back4app.com/2019/06/24/optimize-aws-costs/
https://medium.com/@george_51059/reduce-aws-costs-74ef79f4f348
https://cloudonaut.io/aws-cost-optimization-101/
https://github.com/alexcasalboni/aws-lambda-power-tuning
https://medium.com/teads-engineering/real-life-aws-cost-optimization-strategy-at-teads-135268b0860f
As a Director of Eternal Web Private Ltd an AWS consulting partner company, Nirav is responsible for its operations. AWS, cloud-computing and digital transformation are some of his favorite topics to talk about. His key focus is to help enterprises adopt technology, to solve their business problem with the right cloud solutions.
Have queries about your project idea or concept? Please drop in your project details to discuss with our AWS Global Cloud Infrastructure service specialists and consultants.