Let's break down the costs for running one real-time recommender in Amazon Personalize on both a daily and monthly basis.
Fixed Costs
-
Recommender Hours:
- Amazon Personalize charges $0.40 per recommender hour.
- There are 24 hours in a day.
Daily Cost for Recommender Hours:
[
24 \text{ hours/day} \times $0.40/\text{hour} = $9.60/\text{day}
]
Monthly Cost for Recommender Hours:
[
24 \text{ hours/day} \times 30 \text{ days/month} \times $0.40/\text{hour} = $288.00/\text{month}
]
Variable Costs
Amazon Personalize charges for recommendation requests and additional metadata. Since there is a minimum requirement of 1 recommendation request transaction per second (TPS) for all active real-time recommendation campaigns, we need to calculate the costs based on this minimum TPS.
-
Recommendation Requests:
- Minimum: 1 TPS
- 1 TPS = 60 requests/minute = 3,600 requests/hour = 86,400 requests/day
- Charge: $0.0556 per 1,000 recommendation requests
Daily Cost for Recommendation Requests:
[
\frac{86,400 \text{ requests/day}}{1,000} \times $0.0556= $4.80/\text{day}
]
Monthly Cost for Recommendation Requests:
[
\frac{86,400 \text{ requests/day} \times 30}{1,000} \times $0.0556= $144.00/\text{month}
]
-
Additional Metadata:
- Charge: $0.0167 per 1,000 recommendations as additional metadata
- Same request amount as above.
Daily Cost for Additional Metadata:
[
\frac{86,400 \text{ requests/day}}{1,000} \times $0.0167= $1.44/\text{day}
]
Monthly Cost for Additional Metadata
[
\frac{86,400 \text{ requests/day} \times 30}{1,000} \times $0.0167= $43.20/\text{month}
]
Total Costs
Daily Total Cost:
[
$9.60 \text{ (Recommender Hours)} + $4.80 \text{ (Recommendation Requests)} + $1.44 \text{ (Additional Metadata)} = $15.84/\text{day}
]
Monthly Total Cost:
[
$288.00 \text{ (Recommender Hours)} + $144.00\text{ (Recommendation Requests)} + $43.20 \text{ (Additional Metadata)} = $475.20/\text{month}
]
So, for one real-time recommender, the minimum cost is:
- $15.84 per day
- $475.20 per month