ben salem youssef
ben salem youssef

Reputation: 1

deploy Rshiny application connected to an sql database

Please how can i deploy my shiny application developed with R studio and connected an sql database. I created the mysql database on a local server (wampserver) and the application connects to it perfectly but i have to deploy it with the database.

Upvotes: 0

Views: 251

Answers (1)

IanK
IanK

Reputation: 386

Consider deploying your sql database in the same place that you will be deploying your application. Otherwise, you will need to look into options for exposing your database in such a way that your app will be able to access it.

For example, you could deploy both the database and app on an AWS EC2 instance. Alternatively, you could deploy the database to an RDS instance and connect to it remotely with your app on EC2. Those examples are only pertinent to Amazon resources, but the logic applies regardless of your platform.

Upvotes: 1

Related Questions