You could also generate all those files, put that into a GCS Bucket and put an API Gateway in front.
easier would be and thats just a thought: You could build a go/c++/java app which contains that database pre compressed in some arbitrary better format than just 2 floats, get it down from your original 34gig and just keep it in memory.
Like if you know that 99% of all ips in a certain range are from US, then only store the 1% as a list.
GCS for example and its the same with S3, costs space, egress and requests themself.
Data Storage 50 GB Standard Storage * $0.026 per GB $1.30
Network 10 GB egress * $0.12 per GB $1.20
Operations 10,000 Class A operations * $0.05 per 10,000 operations $0.05
Operations 50,000 Class B operations * $0.004 per 10,000 operations $0.02
easier would be and thats just a thought: You could build a go/c++/java app which contains that database pre compressed in some arbitrary better format than just 2 floats, get it down from your original 34gig and just keep it in memory.
Like if you know that 99% of all ips in a certain range are from US, then only store the 1% as a list.