External Campus Database Access
A guide on how to allow for external campus database accessUse Case
A partner required data access from their instance of campus to use in Google’s Data Studio. Google Data Studio has a MySQL Connector. The connector itself requires a named connection end point. This endpoint has to be publicly accessible. To allow for this the solution below was implementedSolution
Google Data studio can’t connect via a VPN to then gain access to the Relational Database Service. Amazon web services allows for a Relational Database Service to be publicly accessible. We can further secure by allowing only Data Studio IP addresses to access from outside the VPN.How to
- Identify the correct AWS RDS Instance
- Navigate to the relevant server in forge, the database service will be named the same as the server name
- Ensure you have SSH access to the server, add certificate if not
- Navigate to the application env file to obtain the all access login for the database in the service as well as the database name.
- Log in to the relevant database with details above and add a read only user with a secure password. How to create a read-only MySQL user?
- Enable public access of the AWS Relational Database service
- Create a new Zoho Password with the required details
- AWS RDS address
- Port Number
- Database Name
- User Name
- Password
- These details can be provided to the Google Data Studio MySQL Connector to establish a read only connection.
