azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Reduce Costs by Minimizing Service Usage or Deactivation When Not Needed or in Idle
Please provide us with the following information:
This issue is for a: (mark with an x
)
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
- Deploy the azure-search-openai-demo app on Azure.
- Keep the app running 24/7, observe the consumption costs.
Any log messages given by the failure
None
Expected/desired behavior
I have noticed that running the app 24 hours a day incurs a daily cost of around $30, with the most significant cost coming from "Azure Cognitive Search." I would like to have an option to reduce the consumption costs by:
- Automatically pausing or shutting down services when not in use.
- Minimizing resource usage when the app is idle.
- Any alternative suggestions to lower costs while keeping the app functional on-demand.
OS and Version?
macOS (Ventura)
azd version?
azd version 1.9.5
Versions
Python 3.10, Node.js 18
Mention any other details that might be useful
Currently, the daily cost of running the app 24 hours a day is approximately $30, primarily due to Azure Cognitive Search. I am looking for ways to reduce this, especially when the app is not actively being used. Are there any options for configuring services like Azure AI Search or Azure OpenAI to minimize resource consumption when idle or to activate only when needed?
Thanks! We'll be in touch soon.