-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service Bus Premium SKU? #3782
Comments
It's used as it is VNet integrated so there are no public endpoints. Agree the cost differential can be a challenge. Standard could be used if IP filtering is sufficient (would need a consistent outbound IP from the resource processor) https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-ip-filtering . The majority of use cases require no public endpoints to be exposed, hence premium is required. It would be nice to have the option but requires development. Thought about deleting the service bus as part of |
I see - not so straightforward! I guess that its also not possible (or even desirable) to temporarily downgrade the SKU when stopping the service and upgrade when starting. |
No, not possible unfortunately. |
Thanks for the ideas @marrobi . Will close this off as a question - though it's something we're continuing to consider. |
I deleted the 'Service Bus Namespace' manually, but as it led to abnormal activity in the 'Log Analytics workspace' #3953 (comment) , I ran the '$ make deploy-core' command. This error message appeared: ╷
│ Error: A resource with the ID "/subscriptions/####################/resourceGroups/rg-mytre/providers/Microsoft.ServiceBus/namespaces/sb-mytre|diagnostics-sb-mytre" already exists - to be managed via Terraform this resource needs to be imported into the State. Please see the resource documentation for "azurerm_monitor_diagnostic_setting" for more information.
│
│ with azurerm_monitor_diagnostic_setting.sb,
│ on servicebus.tf line 94, in resource "azurerm_monitor_diagnostic_setting" "sb":
│ 94: resource "azurerm_monitor_diagnostic_setting" "sb" {
│
╵
Script done.
Terraform Error
make: *** [/home/vscode/AzureTRE/Makefile:110: deploy-core] Error 1 |
The easiest way would be to delete this resource and allow it to be recreated, try:
If that doesn't work use the portal (see https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/create-diagnostic-settings?tabs=portal ) to find the diagnostic setting and delete it. They are part of Azure Monitor, so deleting the service bus does not delete the diagnostic setting, but then terraform tries to recreate it with the service bus. |
Could the Service Bus SKU be reduced to Standard in order to reduce running costs? Are there any tradeoffs in doing so?
Cost between the Standard and Premium SKU in UK South:
Given it's not possible to suspend or stop the Service Bus (without deleting it) wanting to find out whether the Premium SKU is necessary.
The text was updated successfully, but these errors were encountered: