How to create an admin/monitoring dashboard in gcp based on tables data in CloudSql - SqlServer?
A simple use case would be:
Table - Students
Table - Books
Want to have a dashboard to display:
how many students have checked out a book?
What is the current inventory of books?
How can I have these metrics on a dashboard, so no need to go to database and query table(s)?
The monitoring dashboard for Cloud SQL in the Google Cloud Console is used for monitoring the metrics of Cloud SQL instance to keep an eye on the general health of the primary and replica of the Cloud SQL instance. So it is not for creating a dashboard based on the data in the database of the Cloud SQL instance.
To create a dashboard based on the data inside the Cloud SQL database you can use Google Data Studio. With Google Data Studio you can use only Cloud SQL for MySQL as Cloud SQL for SQL Server and Cloud SQL for PostgreSQL is not supported currently. You can find the detailed steps to connect to Cloud SQL for MySQL from Google Data Studio here.
Related
I have an SQL Server on Google Compute's VM. I would like to use Extensible Key Management. The requirement is to have everything in GCP. Ideally I would like Google Cloud Platform to be the provider of EKM. Otherwise I will have to install a third party EKM in GCP.
I looked into Google KMS but I cannot see any integration with SQL Server.
I cannot find any info about other Google services being able to manage keys and to integrate with MS SQL Server.
I am struggling to find any answers on Google.
Is there a GCP service that could do that?
UPDATE:
MS SQL Server has multiple databases. I would like to have each database encrypted with a different key and allow for a regular change of keys.
https://cloud.google.com/compute/docs/disks/customer-managed-encryption may meet your needs. This page describes how to use CMEK keys from KMS on a Compute VM and which parts of the VM are protected.
I've one requirement to migrate our application from Azure to GCP.
We are using Azure mssql (PaaS) as database and we need to migrate this to GCP cloud sql.
What is the right service available in GCP for this use case ?
Can Database Migration Service support this ?
Appreciate for the earliest response
Thanks
Shijith
We are planning to have a subset of our main DB (which is in the cloud) in our on-prem server. It would be for a few tables...and would scale out based on performance needs. We are trying to figure out how to trigger the sync from Azure to on-prem? which azure components and db features to use in this case?
Thanks
You could think about using Azure SQL database Data Sync feature:
SQL Data Sync is a service built on Azure SQL Database that lets you
synchronize the data you select bi-directionally across multiple
databases, both on-premises and in the cloud.
Data Sync uses a hub and spoke topology to synchronize data. You
define one of the databases in the sync group as the hub database.
The rest of the databases are member databases. Sync occurs only
between the hub and individual members.
You could create the Data Sync between Azure SQL database and on-premise SQL Server. Set the Azure SQL database as hub database, on-premise SQL Server ad member database, and Sync Direction: Hub to member. This will help sync data from Azure to on-prem.
The Sync group will sync the data every 5 mins automatically. You also could sync data manually.
Ref the tutorial: Tutorial: Set up SQL Data Sync between databases in Azure SQL Database and SQL Server
HTH.
I am working on a POC that needs the data to be moved to Azure so that Azure Search Service always provide me the latest data.
Here is my situation:
SQL Server deployed on-premises has a database that has few tables that always gets updated by user inputs. Tables are having millions of records and new records gets added/old data gets updated every day depending upon transactions
Planning to leverage Azure Search Service capabilities to search the data in my website
What is the best way to achieve the functionality regarding data sync between an on-premises SQL Server database and Azure? Any good architecture direction would help me in my decision making.
What is the best way to achieve the functionality regarding data sync between an on-premises SQL Server database and Azure?
I'd say the best option given the information you have provided is to use Azure SQL Data Sync.
You can setup a sync group and have Azure pull your data at regular intervals from your on-prem database to an Azure SQL database.
A client of mine has 2 SAP local servers and he would like to recover his data on the cloud using GCP.
The 2 SAP servers are working with a shared MS SQL database with clustering methodology, one server is active while the other is passive. His reason of recovering the data is that whenever his SAP servers are down he could still access his database with the same functionality he has locally.
I kept on trying to search for a solution to do so using the Google App Engine but as far as I understood there will be no full functionality.
What I thought of is to use the CloudSQL database as a mirror to his SQL database and to get the GAE as a passive server that only works when the systems are down. I found this link which was useful on connecting SAP with GAE but still not with much help on running GAE as an active server.
Any ideas on any other work around?
Thank you.