I had a NodeJS based application and currently, I'm using Mongolab for database storage. It's very easy to storing, querying, reading data on mlab.
Now, I'm thinking to create an independent MongoDB server on Digital Ocean.
Digital Ocean (a cloud computing company) provides one-click creation of MongoDB server.
My ques: How can I perform CRUD operations on Digital Ocean Server? Where to see the stored Data on Mongodb Server? Is it same as Mlab?
In Mlab, we get a link to perform CRUD operations, which looks like:
mongodb://dbuser:dbpassword#ds153719.mlab.com:53719/dbcollection
What would be the link on MongoDB Server on Digital Ocean?
I had read many tutorials on MongoDb but they mainly focus on interacting with mongoDb database on local storage/server. I hardly found any tutorial on step by step process to use MongoDb on cloud servers. I would prefer answers with Digial ocean Servers as they provide simple installation process.
Related
This question is about infosec, data privacy, specifically HIPAA compliance on GCP.
Is there any advantages for self managing Postgres server (built on GCP Compute instances using lets say Terraform) my own Vs using the managed offering, i,e. Cloud SQL
Thanks in advance
Google Cloud SQL Postgres is a fully managed option for deploying PostgreSQL to Google Cloud. The fully managed option is convenient, but is mainly suitable for cloud-native applications, or applications rebuilt for the cloud.
It has Built-in encryption for database tables, temporary files, backups, and any data transferred over Google’s internal networksSecure connections via SSL/TLS or the Cloud SQL Proxy.
Update1
As you are referring to HIPAA You can check this guide for HIPAA Compliance on Google Cloud Cloud sql encrypts the data at rest using the 256-bit Advanced Encryption Standard (AES-256), or better, with symmetric keys: that is, the same key is used to encrypt the data when it is stored, and to decrypt it when it is used. You can use your own encryptions as well with CMEK for cloud sql
And also you mentioned Infosec. I have not completely understood the term. I assume that you are referring to securing information from vulnerabilities. You can use Cloud Armor, which is a network security service that provides defenses against DDoS and application attacks like cross-site scripting (XSS) and SQL injection (SQLi).
Self hosted Postgres gives you full control over your PostgreSQL database on GCP, letting you to fine-tune server parameters, modify database configuration, and tune performance, just like in a local deployment.
Update2
As per this thread, it seems like postgresql is not HIPAA compliant.
For Encryption at rest on postgresql use can PostgreSQL TDE and Pgcrypto as discussed in this similar thread
For self hosted postgres You can also use shielded VM using which you can protect enterprise workloads from threats like remote attacks, privilege escalation, and malicious insiders
I am not sure on your application requirement, But based upon my
understanding about both cloud sql and self hosted postgres I
would recommend considering cloud sql as the best option as it is
fully managed by google and also complies with HIPAA and encryption.
For more information about pros and cons of Google Cloud SQL Postgres and Self hosted Postgres, Check this document
Is it possible to use Google KMS with Mongodb server on Ubuntu 18.04 (GCP) to encrypt data at rest? What are the requirements? How is it done? I want to use mongodb encryption feature for additional security.
The documentation mentions KMIP protocol and does Google provide such service?
ps: I have installed Mongodb enterprise edition on my server along with other services such as backend.
From your comment and assuming your questions is on regards of how to use the KMS integration with MongoDB:
For a start, it is possible to use KMS with MongoDB. Google even provides an out-of-the-box solution of MongoDB Atlas to integrate with KMS via Market Place.
However, this integration is not available on Atlas M0, M2 and M5.
You can follow the same link for details on how to use the integration. If you have any specific question on this integration, please edit your question to include it.
Data on GCP is always encrypted at rest. You can optionally use your own KMS keys to encrypt the disks.
gcloud compute disks create encrypted-disk \
--kms-key projects/[KMS_PROJECT_ID]/locations/[REGION]/keyRings/[KEY_RING]/cryptoKeys/[KEY]
I´m using the Power BI Service (https://app.powerbi.com) to present important KPI´s. Now I move to a new System which is fully based on Azure. The main database is a PostgreSQL Instance (DbaaS - https://azure.microsoft.com/en-us/services/postgresql/).
Connecting to the database from my local Power BI Desktop Version and querying data works perfect. But as soon as I deploy the Report on Power BI Service, I´m unable to automate data refresh cause it seems that the Power BI Service can only connect to the PostgreSQL instance on Azure using a local Data Gateway.
In fact it doesn´t make much sense to use an on-prem connector to bring data from one cloud application to another.
Does anybody know how I and if I can connect Power BI Service and PostgreSQL Database on Azure directly?
Thanks a lot in advance & best,
Michael
It seems that you need to configure a gateway to make it working https://blogs.msdn.microsoft.com/chmitch/2018/06/04/complete-guide-to-setting-up-power-bi-connecting-to-postgres-w-refresh-enabled/
Hope it helps.
I did not go so far myself. My expectation was to connect Postgres to Power BI in a few clicks and get a dashboard online. I was very surprised that it needs dancing with ssl certificates, configuring gateway o_O.
Hi i want to shift my self hosted Parse server to Amazon SNS and all the guides i have found online only show options to export data from parse.com dashboard and not self hosted parse / parse-dashboard, for example the following link:
https://aws.amazon.com/blogs/mobile/migrating-from-parse-push-to-amazon-sns/
My self hosted parse setup is using mongodb on a digitalocean droplet. Is there anyway i can export this mongodb to Amazon SNS without losing any data?
Part of being on Parse-Server is that you're now in charge of managing your database, which it seems you've delegated to digital ocean. Do they host through mLab? I haven't used them, but I know that's what Heroku does.
If you have access to your database directly, look into this documentation: https://aws.amazon.com/about-aws/whats-new/2017/04/aws-database-migration-service-adds-support-for-mongodb-and-amazon-dynamodb/
Otherwise, you may need to contact digital ocean and have them help migrate your data. I'd be shocked if they don't hand you the keys to their upcharged DB though.
I am building a app using Mean Stack (Mongo + Express + Backbone + Node) approach. I am already having a Web hosting plan but it does not provides Mongo as database. I thought of deploying my app on that hosting server and place my mongo db on one of the Mongo as service websites. Is this possible.I don't want to buy a new Hosting Plan for this alone.
Checkout mongolabs or monhohq.
They even have free tier hosting plans.
BTW checkout mean.io it brings a lot of the mean related integrations out of the box.