This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Cost estimate
Adrian Solis edited this page Jun 27, 2019
·
2 revisions
The estimate below assumes:
- 1 list to search, with a 24-hour refresh interval
- Total data size in list is < 1 GB
- 50 pages of data
- 500 users in the tenant
- user has 10 search sessions per month
- search session produces 5 intermediate queries as the user enters text in the search box
- Lists are configured infrequently
The recommended SKUs for a production environment are:
- QnAMaker: Standard (S0)
- App Service: Standard (S1)
- Azure Search: Basic
- Create up to 14 knowledge bases
- The Azure Search service cannot be upgraded in place, so select a tier that will meet your anticipated needs.
Number of search sessions: 500 users * 10 session/month = 5000 sessions
Number of search queries: 5000 sessions * 5 queries = 25000 queries
Number of KB refresh triggers: 4 triggers/day * 30 days = 120 triggers
Number of KB refreshes: 1 list * 1 refresh/day * 30 days = 30 refreshes
Data storage: 1 GB max
- Knowledge base and token info is on the order of KBs
- List data is serialized into blobs, so max blob size is < 1GB
Table data operations:
- KB Info
- (1 read/search session * 5000 sessions) + (1 read/query * 25000 queries) = 30000 reads
- (1 read/refresh trigger * 120 triggers) + (1 read/refresh * 30 refreshes) = 150 reads
- (1 write/refresh * 30 refreshes) = 30 writes
- Token
- (1 write/refresh * 30 refreshes) = 30 reads
- (50 reads/refresh * 30 refreshes) = 1500 reads
Blob data operations: 4,500 operations
- (50 writes/refresh + 50 reads/refresh + 50 deletes/refresh) * 30 refreshes = 4,500 operations
IMPORTANT: This is only an estimate, based on the assumptions above. Your actual costs may vary.
Prices were taken from the Azure Pricing Overview on 25 June 2019, for the West US 2 region.
Use the Azure Pricing Calculator to model different service tiers and usage patterns.
Resource | Tier | Load | Monthly price |
---|---|---|---|
Storage account (Blob) | Standard_LRS | < 1GB data, 1,500 writes, 1,500 reads, 1,500 deletes | $0.0184 + $0.05 + $0.004 = $0.0724 |
Storage account (Table) | Standard_LRS | < 1GB data, 5,000 operations | $0.045 + $0.0144 = $0.0486 |
Bot Channels Registration | F0 | N/A | Free |
App Service Plan | S1 | 744 hours | $74.40 |
App Service (Messaging Extension) | - | (charged to App Service Plan) | |
Application Insights (Messaging Extension) | - | < 5GB data | (free up to 5 GB) |
App Service (Configuration) | - | (charged to App Service Plan) | |
Application Insights (Configuration) | - | < 5GB data | (free up to 5 GB) |
Logic App | - | 120 runs | $0.015 |
QnAMaker Cognitive Service | S0 | $10 | |
Azure Search | B | $75.144 | |
App Service (QnAMaker) | F0 | (charged to App Service Plan) | |
Application Insights (QnAMaker) | - | < 5GB data | (free up to 5 GB) |
Total | $159.69 |