WELLlabs / JaltolAPI

MIT License
0 stars 0 forks source link

AWS Usage report #7

Open anmolsingh0219 opened 2 weeks ago

anmolsingh0219 commented 2 weeks ago

To create an AWS Usage report and how where the costs are divided

anmolsingh0219 commented 2 weeks ago

List of services used

Major Costs Incurred

VPC Cost
Our primary cost comes from public IPv4 addresses within our VPC. We have 750 hrs of free VPC usage which we exceed every month.

This usage comes from the public IPv4 addresses which are in use and cost $0.005 per hour.

Load Balancer in Multiple Availability Zones

Why the High VPC Hours

Ec2 Instance Type

bprashanth commented 1 week ago

3 AZ in APAC is probably not required

  1. Unless there are 3 vms
  2. OR we want to terminate TLS closer to the user and save a few milliseconds in performance

Neither of which I believe really apply, so maybe we can start off with just 1AZ.

ap-south-2 Asia Pacific (Hyderabad)
ap-south-1 Asia Pacific (Mumbai)

The vm is in ap-south-1. When we need higher availability we can distribute both vms and lbs across regions. For now we can stick to ap-south-1 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html)

There might be ways to get away without even needing an ELB (static ips on vms?) but lets start with bringing down the number of ips behind this elb.