File Store.... Flashcards
File Store
is a managed file storage service for applications that require a file system interface and a shared file system for data.
managed network attached storage with either Compute Engine or Google Kubernetes Engine instances
Applications gain the benefit of features such as scale-out performance, hundreds of terabytes of capacity,
and file locking without the need to install or maintain any specialized plug-ins or client-side software.
Filestore use cases.
- expedite migration of enterprise applications.
- For media rendering, you can easily meant filestore file shares on Compute Engine instances, enabling visual effects artists to collaborate on the same file share
- Electronic Design Automation, or EDA, is all about data management.
- Data analytics workloads include Compute complex financial models or analysis of environmental data.
- Genome sequencing
- web content management
Cloud SQL
is a fully managed service of either MySQL, PostgreSQL, or Microsoft SQL Server databases.
patches and updates are automatically applied, … but you still have to administer MySQL users with the native authentication tools that come with these databases.
Why would you use a Google Cloud service for SQL, when you can install a SQL Server application image on a VM using Compute Engine?
- failover
- automated and on-demand backups with point-in-time recovery.
(import and export databases using mysqldump, or import and export CSV files.) - scale up, which does require a machine restart or scale out using read replicas.
if you are concerned about horizontal scalability, you’ll want to consider Cloud Spanner
which clients Cloud SQL supports
Cloud Shell, App Engine and Google Workspace scripts…SQL Workbench, Toad…
Cloud SQL performance and scalability
Cloud SQL delivers high performance and scalability with up to 64 TB of storage capacity, 60,000 IOPS, and 624 GB of RAM per instance.
You can easily scale up to 96 processor cores and scale out with read replicas.
Currently, you can use Cloud SQL with either MySQL 5.6, 5.7, or 8.0, PostgreSQL 9.6, 10, 11, 12, 13, or 14, or either of the Web, Express, Standard or Enterprise SQL Server 2017 or 2019 editions.
Cloud Sql high availability and failover
within a regional instance, the configuration is made up of a primary instance and a standby instance.
In the event of an instance or zone failure, the persistent disk is attached to the standby instance, and it becomes the new primary instance. Users are then rerouted to the new primary.
This process is called a failover.
Performance-based recommendation for connection type to your Cloud SQL
If you’re connecting an application that is
collocated in the same region as Cloud SQL (??within the same network as your Cloud SQL instance??within same project), choosing the Private IP connection will provide you with the most performant and secure connection using private connectivity.
In other words, traffic is never exposed to the public internet.
If the application is hosted in another region or project, or if you are trying
to connect to your Cloud SQL instance from outside of Google Cloud, you have 3 options:
Recommendation is using the Cloud SQL Auth Proxy, which handles authentication, encryption, and key rotation for you.
If you need manual control over the SSL connection, you can generate and periodically rotate the certificates yourself.
Otherwise, you can use an unencrypted connection by authorizing a specific IP address to connect to your SQL server over its external IP address.
Cloud Spaner
is a service built for the cloud specifically to combine the benefits of relational database structure with non relational horizontal scale.
This service can provide petabytes of capacity and offers transactional consistency at global scale schemas, SQL and automatic synchronous replication for high availability.
Cloud Spaner use cases
financial applications and inventory applications traditionally served by relational database technology
transactions and inventory management in the financial services and retail industries
Cloud Spaner characteristics
Schema, sql, consistency, availability, scalability, replication
architecture of cloud spanner
cloud spanner instance replicates data in end cloud zones which can be within one region or across several regions, database placement is configurable.
Replication of data will be synchronized across zones using Google’s global fiber network. Using atomic clocks ensures adamiscity whenever you are updating your data.
Firestore
highly scalable NoSQL database
fast, fully managed, serverless, cloud native, NoSQL, document database that simplifies storing, synking and querying data for your mobile web and IOT apps at global scale.
for serverless apps.
supports ACID transactions
with automatic multi region replication and strong consistency
Firestore is next generation of Datastore and can operate in two modes:
Datastore mode:
-compatible with datastore applications
-strong consistency
-no entity group limits
Native mode (for mobile and web apps):
-Strongly consistent storage layer
-Collection and document data model
-Real time updates
-mobile and web client libraries
A general guideline is to use Cloud Firestore in Datastore mode for new server projects and native mode for new mobile and web apps.