Let's break down the minimum cost for one real-time recommender in Amazon Personalize.
Understanding the Minimums:
- Minimum TPS: 1 recommendation request per second.
- Minimum Hours: The recommender needs to be active for at least one hour.
Calculating the Daily Minimum Cost:
-
Recommender Hours: The recommender needs to run for at least 1 hour.
- Cost for recommender hours: 1 hour * 0.4/hour=0.40
-
Recommendation Requests: With a minimum of 1 TPS for 1 hour, the total number of requests is:
- Requests per minute: 60 requests
- Requests per hour: 60 requests/minute * 60 minutes/hour = 3600 requests
-
Recommendation Request Fee:
- Number of 1,000 requests: 3600 requests / 1000 requests/unit = 3.6 units
- Cost for recommendation requests: 3.6 units * 0.0556/unit=0.20016
-
Additional Metadata Fee: The minimum number of recommendations is 3600.
- Number of 1,000 recommendations: 3600 recommendations / 1000 recommendations/unit = 3.6 units
- Cost for additional metadata: 3.6 units * 0.0167/unit=0.06012
-
Total Daily Minimum Cost:
- 0.40(recommenderhours)+0.20016 (recommendation requests) + 0.06012(additio0.66028**
Calculating the Monthly Minimum Cost:
Assuming an average of 30 days in a month:
-
Daily Minimum Cost: $0.66028
-
Monthly Minimum Cost: 0.66028/day∗30days/month=∗∗19.8084**
Therefore, for ONE real-time recommender, the minimum cost is:
- Daily Minimum: Approximately $0.66
- Monthly Minimum: Approximately $19.81
Important Note: These are the absolute minimum costs. The actual cost will be higher if the recommender is used more frequently or processes more requests.