@Francesc Arolas Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
Based on your requirements, I would recommend using Azure Virtual Machines to deploy your Spring Boot API and mount the Azure File Share.
Here are the general steps to do so:
- Create an Azure Virtual Machine: Create an Azure Virtual Machine in the Azure portal. You can choose the operating system and size that best fits your needs.
- Mount the Azure File Share: Once the virtual machine is created, you can mount the Azure File Share to the virtual machine. You can follow the instructions in the Azure documentation to mount the file share.
- Install and configure Spring Boot: Install and configure Spring Boot on the virtual machine. You can follow the instructions in the Spring Boot documentation to install and configure Spring Boot.
Deploy the API: Deploy your Spring Boot API to the virtual machine. You can use a tool such as Jenkins or Azure DevOps to automate the deployment process.
By using Azure Virtual Machines, you can deploy your Spring Boot API and mount the Azure File Share, which can help to ensure that the API has access to the files it needs. Additionally, using Azure Virtual Machines can be more cost-effective than using Azure Spring Apps service, as you only pay for the resources that you use.
Please let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.