Database deployment options in GKE
Skills:
Database Integration90%
Key Takeaways
This video discusses database deployment options in Google Kubernetes Engine (GKE), focusing on fully-managed databases Cloud SQL and Cloud Spanner, and how to connect to them from GKE.
Full Transcript
[Music] welcome to this video where we will discuss database options for gke users we'll cover what your options are and focus on two managed databases Cloud SQL and Cloud spanner and see whether these might be right for your cluster requirements before we continue you should already be familiar with what stateless and stateful applications are as well as the differences between relational and non-relational databases now there are different types of workloads you can run in gke including stateless and stateful applications if you are using stateful applications in your cluster then you'll need a database as these apps need to store data let's review the options you have for running a database on the Google Cloud platform you could opt for a self-managed database a database on gke itself or a fully managed database in this video we'll focus on fully managed databases compared with the other two options this type of database requires the least effort from you to operate and manage you just need to create a database build your app and Google Cloud takes care of the rest installation upgrade storage as well as many of the maintenance tasks like backups and scaling this option makes it a lot easier to deploy and scale your database servers Cloud provides several database options to cover all database use cases from relational to non-relational database needs and even in memory each database has its own features and the type you'll need depends on your specific use case if you are looking for a database option for your gke clusters Cloud SQL and Cloud spanner are great choices using a fully managed database server outside your gke cluster can make your applications more highly available and allows for more complex scenarios like having your app spread across multiple clusters both Cloud SQL and spanner are fully managed services with a high level of availability scalability and performance so how do you know which database fits your needs better let's take a look at two fictitious organizations easy shop is a finish-based e-commerce company using gke to host the services they build they want to migrate their thousands of databases from their on-prem data centers to Google cloud with minimal downtime and want to easily connect to the database from gke their developers are familiar with postgres SQL so easy shop would prefer a managed database that is compatible with this system Game Wizards is a company that uses gke to build games for them data integrity and availability are critical needs for a database they don't want to spend too much time on Administration or scalability issues rather they prefer to focus on game development and user experience game results is launching a new game shortly and anticipates a huge increase in player base across the globe over the next few months so they are looking for a database that can handle massive amounts of data with extremely low latency Cloud SQL is a good choice for easy shop as it provides a fully managed environment for specific database engines including postgresql it's the more cost effective choice for an organization that requires a high level of availability and performance but doesn't need to scale Beyond a single region on the other hand Cloud spanner is a good fit for Game Wizards they need a globally distributed relational database that can handle large amounts of data for a successful Game launch with spanner there is no fixed size limit so it can grow as the business grows you can see from these examples how Cloud SQL and spanner can serve different business needs spanner is unique as it has the benefits of relational databases with the horizontal scalability you would normally expect from a non-relational database it's best suited for apps such as gaming retail banking Payment Solutions any large-scale Global applications where you require unlimited scalability and strong consistency Cloud SQL is more suited for smaller scale database requirements such as general purpose web Frameworks e-commerce apps and so on whichever platform you choose though both database options offer easy integration with gke first you'll set up a database instance and create the database then you'll set up a service account that will be used by gke to connect to the database of your choice once you deploy your applications in the gke cluster they will connect to the database instance using a fully managed database in Google Cloud simplifies the process of provisioning and maintaining the database and frees up your resources so you can focus on building your applications for more detailed steps on how to connect your gke applications to either Cloud SQL or Cloud spanner check out our documentation thanks for watching [Music]
Original Description
Connect to Cloud SQL from GKE → https://goo.gle/Connect_GKE_Cloud_SQL
Deploy an app using GKE and Cloud Spanner → https://goo.gle/Connect_GKE_Cloud_Spanner
This video describes your database options when deploying stateful applications on Google Kubernetes Engine (GKE). We focus on fully-managed databases, and explain why Cloud SQL and Cloud Spanner might fit your GKE cluster requirements.
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Google Cloud Tech · Google Cloud Tech · 49 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
▶
50
51
52
53
54
55
56
57
58
59
60
I’m going for it #GoogleCloudCertified
Google Cloud Tech
I had to get #GoogleCloudCertified
Google Cloud Tech
Be better overall at what you do #GoogleCloudCertified
Google Cloud Tech
Cloud Monitoring on our radar #Analysis #Uptime
Google Cloud Tech
Introduction to Generative AI Studio
Google Cloud Tech
How to use Github Actions with Google's Workload Identity Federation
Google Cloud Tech
Introduction to Responsible AI
Google Cloud Tech
Networking updates and CDMC-certified architecture
Google Cloud Tech
Create and use a Cloud Storage bucket
Google Cloud Tech
How to digitize text from documents
Google Cloud Tech
Faster analytical queries with AlloyDB
Google Cloud Tech
Next ‘23 sessions and FaaS Wave
Google Cloud Tech
Introduction to Assured Open Source Software
Google Cloud Tech
BigQuery Cost Optimization: Storage
Google Cloud Tech
BigQuery Cost Optimization: Compute
Google Cloud Tech
BigQuery Cost Optimization: Select Queries
Google Cloud Tech
Remote Field Equipment Management with Manufacturing Data Engine
Google Cloud Tech
Supercharging your applications with Cloud SQL Enterprise Plus
Google Cloud Tech
Vector Support on our radar #GenAI
Google Cloud Tech
Architecting a blockchain startup with Google Cloud
Google Cloud Tech
Kubernetes and multitasking updates!
Google Cloud Tech
GKE: Using Kubernetes Events
Google Cloud Tech
How to configure firewall rules for Cloud Composer
Google Cloud Tech
Vertex AI Embeddings API + Matching Engine: Grounding LLMs made easy
Google Cloud Tech
Geospatial analytics on our radar #EarthEngine #BigQuery
Google Cloud Tech
Ensuring requests are set in Kubernetes
Google Cloud Tech
Cloud Next 2023, Google research program, and more!
Google Cloud Tech
How to migrate projects between organizations with Resource Manager
Google Cloud Tech
How to run #MySQL in Google Cloud
Google Cloud Tech
#GenerativeAI for enterprises and #Next2023
Google Cloud Tech
How Google Photos scales to store 4 trillion photos and videos
Google Cloud Tech
Google Cross-Cloud Interconnect (Demo 2)
Google Cloud Tech
GKE Cost Optimization Golden Signals: Introduction
Google Cloud Tech
GKE Cost Optimization Golden Signals: Workload Rightsizing
Google Cloud Tech
GKE Load Balancing: Overview
Google Cloud Tech
GKE Load Balancing: Best Practices
Google Cloud Tech
Disaster Recovery in GKE
Google Cloud Tech
How to configure IP masquerade agent in GKE Standard clusters
Google Cloud Tech
Enable and use GKE Control plane logs
Google Cloud Tech
Compliance in Australia with Assured Workloads
Google Cloud Tech
Creating budgets and budget alerts in Google Cloud #FinOps
Google Cloud Tech
Cloud SQL Enterprise Plus on our radar #mySQL
Google Cloud Tech
What's Next for Google Cloud?
Google Cloud Tech
How Loveholidays scaled with Contact Center AI
Google Cloud Tech
What is fleet team management in GKE?
Google Cloud Tech
Troubleshoot VPC Network Peering
Google Cloud Tech
Introduction to DocAI and Contact Center AI
Google Cloud Tech
Cloud Run Direct VPC egress explained
Google Cloud Tech
Database deployment options in GKE
Google Cloud Tech
Analyze cloud billing data with #BigQuery
Google Cloud Tech
Tips to becoming a world-class Prompt Engineer
Google Cloud Tech
Serverless is simple. Do I need CI/CD?
Google Cloud Tech
Accelerating model deployment with MLOps
Google Cloud Tech
How Hawaii's Department of Human Services scaled with CCAI
Google Cloud Tech
Pricing API on our #Radar
Google Cloud Tech
How Recommendations AI for Media can boost customer retention
Google Cloud Tech
Troubleshooting: Node Not Ready Status
Google Cloud Tech
One weekend until Cloud Next 2023!
Google Cloud Tech
#GoogleCloudNext starts tomorrow!
Google Cloud Tech
#GoogleCloudNext will be demand!
Google Cloud Tech
More on: Database Integration
View skill →Related Reads
📰
📰
📰
📰
Capacity Is Not Generation: Anatomy of a Convenient Energy Myth
Medium · Data Science
matten: Heterogeneous data with `--features dynamic`
Dev.to · nabbisen
Compressor Oil Test Rig Data Acquisition: Closed-Loop Monitoring and Oil Condition Trending
Dev.to · Robin | Mechanical Engineer
Actuarial Science vs Data Science?
Reddit r/datascience
🎓
Tutor Explanation
DeepCamp AI