Skip to content
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

Azure Database for MySQL single server is on the retirement path #3540

Closed
ciprianmaf opened this issue Jun 6, 2023 · 9 comments
Closed

Azure Database for MySQL single server is on the retirement path #3540

ciprianmaf opened this issue Jun 6, 2023 · 9 comments
Assignees

Comments

@ciprianmaf
Copy link
Contributor

Hello,

as the "Azure Database for MySQL single server" is on the retirement path, please update to "Azure Database for MySQL - Flexible Server".

Thank you!

Regards,

Ciprian Maftei
NTT DATA

@marrobi
Copy link
Member

marrobi commented Jun 6, 2023

@ciprianmaf thanks, if this is an issue for yourselves, maybe you could look at doing a PR to update the terraform?

@migldasilva
Copy link
Contributor

@marrobi I have advanced in this issue. So far I was able to move to MySQL Flexible Server for Gitea Shared service and Gitea Workspace service. Flexible Server requires a dedicated VNet, so I had to change TRE's Core for Gitea Shared service, and the workspace definition, for Gitea Workspace service.

I would be able to create a PR in a couple of days.

@tamirkamara
Copy link
Collaborator

@migldasilva thank you for having a look at this.
Changes in the core network can be disruptive for existing deployments and need to be done carefully.
Azure MySQL flexible server is about to receive support for private endpoints which will make it far easier to be integrated into an exiting framework. Let us give Microsoft the summer to release it and then revisit (single server isn't going away anytime soon). wdyt?

@migldasilva
Copy link
Contributor

@tamirkamara Perfect. Let's wait. On the other hand, I've been testing the changes in core, so that everything keeps working. The main idea is to use one of the free subnets declared in core/terraform/network/locals.tf.

@tamirkamara
Copy link
Collaborator

@migldasilva apparently it's available already: https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-networking-private-link

@SvenAelterman
Copy link
Collaborator

This has some new urgency, as in a few days, the creation of new MySQL DB Single Servers will be blocked.

@tamirkamara, @marrobi

@marrobi
Copy link
Member

marrobi commented Mar 8, 2024

We discussed this and plan of action for anything using MySQL single server should be:

  1. Update the bundles with new major version numbers so new deployments can succeed
  2. Document manual migration approach and if deemed appropriate automate.
  3. Move on to Postgres for MLflow (or retire MLflow entirely as used in Azure ML?)

@nasaldrops
Copy link
Contributor

nasaldrops commented Mar 13, 2024

Any feedback on the Compute size name? Looking at General Purpose.

azurerm_mysql_server has sku_name "GP_Gen5_2"

azurerm_mysql_flexible_server doesn't have that option, so these are the GP ones available (see image)

image

@marrobi
Copy link
Member

marrobi commented Mar 14, 2024

Any feedback on the Compute size name? Looking at General Purpose.

azurerm_mysql_server has sku_name "GP_Gen5_2"

azurerm_mysql_flexible_server doesn't have that option, so these are the GP ones available (see image)

image

Ideally they would be options in the bundle, defaulting to the lowest burstable spec maybe? The CPU usage for TRE use cases is typically very low.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

8 participants