AWS/X-Ray

[AWS X-Ray= Pricing

brightlightkim 2022. 4. 28. 02:44

With AWS X-Ray, there are no upfront fees or commitments. You pay only for what you use, based on the number of traces recorded, retrieved, and scanned. A trace represents a request to your application and may include multiple data points, such as for calls to other services and database access. X-Ray provides a minimum guaranteed trace size of 100KB. Trace data is retained for 30 days from the time it is recorded at no additional cost.

 

Perpetual Free Tier

  • The first 100,000 traces recorded each month are free.
  • The first 1,000,000 traces retrieved or scanned each month are free.

Additional charges

Region:
  • US East (Ohio)

X-Ray Tracing

  • Beyond the free tier, traces recorded cost $5.00 per 1 million traces recorded ($0.000005 per trace).
  • Beyond the free tier, traces retrieved cost $0.50 per 1 million traces retrieved ($0.0000005 per trace).
  • Beyond the free tier, traces scanned cost $0.50 per 1 million traces scanned ($0.0000005 per trace).

AWS X-Ray enables customers to choose their own sampling rate. Customers considering AWS X-Ray may want to estimate their costs for recorded traces by multiplying their request or API call rate by the chosen sampling rate.

X-Ray Insights

$1.00 per million traces recorded ($0.000001 per trace).

 

Pricing example

If you have an application which receives 2,000 incoming requests per hour and you’re using a 10% sampling rate, then your cost would be calculated as follows:

Traces Recorded
Traces Recorded per Month = 2,000 requests per hour x 24 hours x 31 days x 10% = 148,800 traces
Billable Traces Recorded per Month = 148,800 traces - 100,000 traces in free tier = 48,800 traces
Monthly Traces Recorded Charges = 48,800 traces * $0.000005 = $0.24
 
In addition, let’s assume you make 100 queries per day each scanning the last hour of data captured (200 traces), and retrieve the full trace data for 50 traces per query.
 
Traces Retrieved and Scanned
Traces Scanned per Month = 100 queries x 200 traces per hour x 31 days = 620,000 traces
Traces Retrieved per Month = 100 queries x 50 traces per query x 31 days = 155,000 traces
Total Traces Retrieved/Scanned per Month = 155,000 traces + 620,000 traces = 775,000 traces
Billable Traces Retrieved/Scanned per Month = 775,000 traces - 1,000,000 traces in free tier = 0 traces
Monthly Traces Retrieved and Scanned Charges = 0 traces * $0.0000005 = $0
 

In addition, let’s assume you have enabled X-Ray Insights on any or all X-Ray groups.

X-Ray Insights Traces Processed
Traces Recorded per Month = 2,000 requests per hour x 24 hours x 31 days x 10% = 148,800 traces
Monthly Insights Traces Processed Charges = 148,800 traces * $0.000001 = $0.15

Your total cost per month for using AWS X-Ray equals $0.24+ $0.15 = $0.39.

'AWS > X-Ray' 카테고리의 다른 글

[AWS X-Ray] Features  (0) 2022.04.28
[AWS X-Ray] AWS X-Ray Basic  (0) 2022.04.28