Share via

Web App requiring database

max06net 96 Reputation points
2020-07-10T20:26:55.12+00:00

Good evening,

I'm currently setting up a Linux Web App (Docker), which requires a redis database to function.

On my local setup, I have both, the app and redis (with persistent storage) running in docker containers linked to each other.
What would be the best way to achive this on Azure, considering securing the redis instance so only the app is able to access it?

Best,
max06.net

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

Answer accepted by question author

max06net 96 Reputation points
2020-07-10T20:55:48.513+00:00

I'm answering myself, in case someone needs it.

I deployed the redis container into a container instance and assigned a private vnet to it.
Also I attached the App service to the private vnet. One restart later... it works!

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.