Cost - Real-Time Live Sports Updates Using AWS AppSync

Cost

You are responsible for the cost of the AWS services used while running this solution. At the date of publication, the cost for running the demo provided in this solution using the default settings in the US East (N. Virginia) Region is approximately $2.00/day, which includes running the simulation stack using one Amazon Kinesis shard with 400 simulated game events per day and three users.

Refer to Table 1 for a cost estimate, which accounts for the following factors:

  • For data ingestion, the cost for Amazon Kinesis is based on the volume of data that is ingested, since you may need multiple shards.

  • For the real-time live updates, AWS AppSync costs are based on the real-time nature of this use case, and are dependent on the number of events per game, the number of games occurring in a given month, and the number of clients subscribing to real-time updates. For example, a use case with 100,000 users receiving real-time updates, with the following parameters:

    • 1 game per week

    • 40 managed games per month (or 10 games per week)

    • 200 events per game

    • Amazon DynamoDB configured in On-Demand mode

Optional costs

This solution deploys additional AWS services that you can enable: AWS Step Functions, AWS Lambda functions, and Amazon API Gateway. An AWS Step Functions workflow polls and retrieves data from external third-party APIs. Step Functions pricing is determined by the number of state transactions, and is directly related to the polling frequency, and the number of sports games managed.

Refer to Table 1 for a cost estimate with these AWS services enabled. For information about how these AWS services work in the solution, refer to Solution Components/Design Consideration.

Table 1: Cost estimate

AWS Service Example Use Case Total Cost

Data ingestion:

Amazon Kinesis

  • 1 shard

  • 8,000 game events per month (200 events x 40) , 1 KB per event

  • 1 enhanced fan-out

$21.00 / month

Real-time live updates:

AppSync

  • 100,000 users getting real-time data for one game per week

  • 40 games managed per month (10 games per week)

  • 200 events per game

$193.00 / month
Amazon DynamoDB
  • 8,000 game events per month (200 events x 40) , 1 KB per event

  • 100,000 users querying DynamoDB from AWS AppSync

$20.00 / month
Optional services
AWS Step Functions
  • 24,000 state transactions (polling frequency), based on 200 events per game

  • 40 games per month

$1.50 / month
AWS Lambda 8,000 game events per month $0.01 / month
Amazon API Gateway 8,000 game events per month $3.50 / month
Total: $239.00 / month

Prices are subject to change. For full details, refer to the pricing webpage for each AWS service you will use in this solution.