Can Cassandra be used with Google App Engine application? - google-app-engine

I want to use Cassandra database with a GAE application.
I tried DataStax Java driver and the following exception comes while connecting to the database:
access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
Any suggestions as to how to resolve this Exception?
The answers to the question in the link says it is not possible to use Cassandra directly.
Is it possible to use Cassandra directly with GAE? Is there any other driver or workaround which can support Cassandra on GAE?

Related

Is there a GCP service that could be used as EKM for MS SQL Server?

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.

Can pgadmin and pgmodeler connect to Google Cloud Spanner?

I want to start cloud spanner emulator in docker, and then use pgadmin to connect to emulator, but when creating server, I am not sure how to fill in the username and maintenance, has anyone tried it? Because I think cloud spanner is also using pgsql, so I should be able to connect to emulator with pgadmin.
Cloud Spanner itself does not support the PostgreSQL wire protocol, which means that you cannot connect directly to Cloud Spanner using psql or any other PostgreSQL tool. There is however an open source adapter that will allow you to use psql with Cloud Spanner. The adapter can be found here: https://github.com/cloudspannerecosystem/pgadapter
I don't think that pgAdmin will work with the adapter, as pgAdmin will also automatically execute a number of queries on the system tables of PostgreSQL to determine which tables etc. are in the database. Those queries will probably fail.
An alternative to using pgAdmin could be to use DBeaver: https://dbeaver.io/.
DBeaver has built-in support for Google Cloud Spanner.
When creating a connection to Cloud Spanner in DBeaver, make sure to select the Google Cloud Spanner JDBC Driver and not the Google Cloud Spanner Community (Topicus) Driver. The latter is deprecated and does not support the newest features of Cloud Spanner.
The following screenshot shows the connection dialog for Google Cloud Spanner in DBeaver Community Edition 7.3.0.

Pivotal Cloud Foundry (PCF) - SQL Server credentials

I am looking for an easy and maintainable solution for connection-string storage and retrieval on Pivotal Cloud Foundry (PCF) running on-premise. I have explored CredHub, ConfigServer, Vault and I am looking for anybody who may have faced this dilemma in the past. I would appreciate any input.
Technical Specifications
.NET Core 2.2
Prefer to use existing SteelToe functionality.
C#

"TLS requested but server does not support TLS" error with Google Cloud SQL (2nd generation) from Google App Engine?

I'm running into an issue in re-using my connection string (resolved here ... Cannot connect to Google Cloud SQL using SSL + Golang from Google App Engine ...) from connecting to a Google Cloud SQL generation one instance while trying to connect to a generation two instance. I'm receiving this error: TLS requested but server does not support TLS
I can't figure out how to get around this, and the documentation is pretty scarce.
I caught the fact that Instance connection name follows a different structure on generation two, but that doesn't seem like the issue. Has anyone solved this? I'm connecting from Golang.
MySQL level SSL is not currently supported between App Engine Standard Environment and Cloud SQL Second Generation instances.
Communication between App Engine Standard Environment and Cloud SQL is already encrypted so using MySQL level SSL does not add a lot of value, though I can understand that doing application level SSL can add some peace of mind since what happens between Cloud SQL and App Engine is opaque.
I'll try to see if this is something we can change.

How to connect to Cloud SQL using dart app engine and sqljocky

I would like to use the application identifier access control method for allowing my app engine service connect to a Cloud SQL database. The app engine service is written using dart with sqljocky.
In the Developers Console, Storage, Cloud SQL, db instance, Overview tab, there is a link titled "How to connect to your Cloud SQL instance". There, I only see sample code for doing this in PHP, Java and Python. I've tried to find an analogous implementation for dart with no luck.
Can anyone suggest an approach for doing this?

Resources