Skip to content

AWS Location Service Usage - Free Tier

0

I just started using the AWS Location Service API for an app I'm working on. I'm only calling two methods using the AWS PHP SDK: "searchPlaceIndexForSuggestions" and "searchPlaceIndexForText". I'm logging everytime the API is called and I can see it's been accessed less than 200 times total, however when I view the "Free Tier offers in use" list, it says my current usage is at almost 10,000 adresses geocoded as well as listing 30 other services, all of which showing usage. Where is the 10,000 calls coming from? I also see 64 requests to "Amazon Simple Storage Service", which we're not using and the IAM user does not have permission to, as well as 40 "Map Tiles" when the app doesn't use or show maps. The app has only been live for ONE day and has had almost no usage except for a small group of testers. Can someone help me understand how this usage is calculated and how this is possible? Screen capture below. Usage Screenshot

asked 2 years ago522 views
1 Answer
2

Hello.

I'm not sure what code you're using or what operations you're doing, but aren't you also doing something like the "getPlace" API?
The free tier of Location Service also includes the "getPlace" API.
https://aws.amazon.com/location/pricing/?nc1=h_ls

*A request to each of the following APIs is considered one address geocoded: searchPlaceIndexForText and getPlace. *A request to the SearchPlaceIndexforPosition API is considered one address reverse-geocoded.

Maybe you're getting more map tiles than you expected.
As far as I can see the count, if it stays as it is, it won't exceed the free limit, so I don't think there will be any problems.
https://aws.amazon.com/location/pricing/?nc1=h_ls

*Using Hybrid map style results in a higher number of map tile requests. This style overlays two map tiles: the satellite image (raster tile) in the background and the road network and labels (vector tile) on top. Your charges will include all tiles retrieved.

Regarding S3, even if you are not using it, the API "ListAllMyBuckets" will be executed just by opening the S3 console.
In other words, operations on the management console are likely included in that count.
https://aws.amazon.com/s3/pricing/?nc1=h_ls

By the way, if you have any questions about pricing, I recommend that you open a case with AWS Support under "Account and billing".
Inquiries under "Account and billing" can be made free of charge.
https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
  • Thanks for the quick response. I'm not currently calling "getPlace" just "searchPlaceIndexForText" to get longitude and latitude, and then "searchPlaceIndexForSuggestions" for the typeahead dropdowns. Is it possible that the suggestions, currently set to return 5 results is counting as 5 seperate requests? For that request I'm only looking for the location name (e.g. city, state, country) and nothing else. I just want to make sure I understand how the requests and address counts are reflected correctly because I litterally only have two simple functions for fetching geolocation and typeahead suggestions, and monitor very close each time it is called to ensure I don't trigger too many API calls.

  • According to the documentation, "searchPlaceIndexForText" appears to treat one address per request. Just to be sure, it would be a good idea to check with AWS Support about the circumstances and fees. You can contact us free of charge for "Account and billing" cases.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.