GCP is often renowned as the โdata cloudโ. After all, Google run the largest ad network in the world, they run YouTube, and youโve probably searched the Google search engine once or twice (or many times). Google services generate vast quantities of data every second, which are subsequently stored and analysed using GCPโs data tools.
Before you start looking at how GCP fits into your data landscape, you need to know what your landscape looks like - imagine trying to get out of a dense forest without knowing which way is out. ๐ฅด
First, you must split your data horizontally, meaning observing an atomic piece of data as it traverses through your organisation, from collection ๐ฆ to activation ๐ช.
To help you remember the key services and their primary functions, we've created a handy reference. Bookmark our GCP Data Cheat Sheet for your next project.
Googleโs take on data
Google has their own take on where its services fit into an organisationโs data landscape. They call it the โData Lifecycleโ. They split this into four stages:
Ingest: The first stage is to pull in the raw data, such as streaming data from devices, on-premises batch data, app logs or mobile app user events and analytics.
Store: After the data has been retrieved, it needs to be stored in a durable format that can be easily accessed.
Process and analyse: In this stage, the data is transformed from its raw form into actionable information.
Explore and visualise: The final stage is to convert the results of the analysis into a format that is easy to draw insights from and share with colleagues and peers.
(and yes, we get that โprocess and analyseโ, and โexplore and visualiseโ are two-parters, but bear with us - itโs for good reason!)
If you want to take a super in-depth dive into the different data designs and constructs on GCP, this article is your best bet - be warned, though, itโs a 44-minute read (according to the read-o-meter)!
If you want a condensed overview, youโre in the right place. Keep reading. ๐
Data Generation and Ingestion
The first step in the data process is data generation. Whether youโre using Uber to get to where you need to, listening to your favourite songs on Spotify, or taking notes from your meeting on Google Docs (all of which use GCPโs infrastructure, by the way), you and the applications you use generate countless data points.
Of course, an action becomes a data point when the necessary tools and processes are in place. So, the first thing we must do to make sense of data is ingest it. GCP gives us plenty of tools to do that.
APIs from a provider
If youโre using any SAAS tool, chances are they have an API (or they gate it behind a specific tier - got to love enforced data siloes ๐).
You can pull data from APIs using the roster of Google Cloudโs compute services.
Cloud Functions for small, frequent API pulls
Cloud Run for more robust, frequent API pulls
Kubernetes or Compute Engine for longer-running API jobs.
Because you need API knowledge to do this, which - in turn - requires programming knowledge, third-party providers have appeared that essentially do this whole step for you, such as Stitch Data or funnel.io. Cobryโs development team can also help!
Streaming Data
You may have applications, processes, or real-life things constantly generating data. If youโd like this data to be quickly available on your analytics platform, you must set up a streaming pipeline. Sounds scary, but it isnโt. Google Cloud IoT is brilliant for โInternet of Thingsโ devices generating lots of timestamped data. At the same time, Pub/Sub is great for everything else. Cloud IoT can output data into a Pub/Sub queue, which is the recommended practice.
Large data transfers
Sometimes you may just have a truckload of data sitting in a database somewhere, whether on-premises or on a different cloud provider. Googleโs best practices are to use a:
Cloud VPN To transfer anything under 100GB
Transfer Appliance for anything above 100GB
If you have a dedicated interconnect (chances are, you donโt), then these rules donโt apply.
Thereโs a nifty table that helps us decide what service to use. Thanks, Google!
Now that youโve successfully used one of the above tools to collect your data, the next step is to start processing it.
Processing
Processing can be as simple as running a few checks on your inbound data to doing complete data transforms. This totally depends on your data set and what youโre trying to achieve.
Wrangling data
If you have a messy dataset that needs to be wrangled, then Google Dataprep is your best bet. Itโs an intuitive โdrag-and-dropโ style interface for cleaning data. It has AI-based anomaly detection, and it easily allows you to assess the quality of your data. You can even set up streaming pipelines into Dataprep, so if youโre getting consistent data from any streaming services outlined above you can fire them right into Dataprep for quality control and continuous processing.
Aggregation and analytics
If you need to do some sort of aggregation to your data, you can do so using Dataproc. Dataproc is a managed and scalable service for running open-source data processing tools, such as Apache Spark, Hadoop, Flink, or Presto. If youโre an analyst, youโll know what they are; if not, ask your analysts! If you or your data department are drowning in a sea of Jupyter notebooks, you should probably give Dataproc a try.
Data Integration
Sometimes, data from completely different sources may need to be blended together to create something more useful. For example, you may want to bring in a โone-pane-of-glassโ view for your customers. You may need to bring in sales information, service desk information and maybe their commercials, too. That are three different sources storing data on your customers. Blending them allows you to formulate complex questions such as โon average, how much do customers pay for a helpdesk resolution?โ. Hereโs where Cloud Data Fusion is your best bet. Data Fusion is a GCP service that is all about bringing data from different sources together.
Storing
This is probably our favourite bit because Google Cloud makes this very fun to do.
Objects
If youโre storing objects, like pictures, spreadsheets or files in general, use Cloud Storage. Easy peasy.
Databases
If youโre piping data into a database, you have a whole load of options.
For relational databases, you have:
Cloud SQL for your run-of-the-mill database use cases
Cloud Spanner for a vast, distributed database optimised for performance and consistency.
BigQuery for all analytical needs. BigQuery is very much GCPโs secret sauce for anything analytics.
There are different types of databases, though, not just relational. Thereโs Cloud Bigtable for fast read-write analytical workloads - usually used for adtech, recommendation engines, โInternet of Thingsโ devices, and fraud detection.
Thereโs also document storage, which is great for web apps or mobile applications, which is what Google Firestore is for! Weโve outlined all of this in the diagram below ๐
Activating
This is the part where most data engineers throw their hands up and say, โNot my job!โ. Theyโve done all the heavy technical lifting - establishing data flows, pipelines, aggregations, schemas, tables - everything. You have the most pristine dataset in the world, sitting on the most scalable architecture in the world.
But whatโs the point if you canโt activate it?
This is the bit where we put data to work, and the best way to do this is using Looker. You plonk Looker on top of your storage medium - preferably BigQuery, and start enabling your organisation to get insights from their work.
Looker becomes the โsingle sourceโ of your organisational data, meaning anyone within the business can probe and query the data from a governed, scalable, and - most importantly - usable data platform. In another blog post, weโll dive into why Looker and BigQuery are such powerhouses.
Additional benefits to using GCP:
Without getting too tangential, there are several additional benefits to using GCP that can create win-win scenarios from using it for your data initiatives:
GCP tools are highly scalable. You can buy extra storage or extra computing power for busy periods, and you only pay for it as, and when you need it - in the case of data, this makes it highly useful for instances where there is an upsurge in the amount of data being generated and to be processed.
GCP is highly secure. As well as an armoury of cybersecurity features, GCP can distribute your data among multiple centres so that even if a centre were broken into or burned down (highly unlikely), no data would be lost.
GCP is a greener alternative. Google is already carbon neutral and aims to become carbon-free by 2030, making running your organisationโs digital infrastructure on Google a significant way to reduce your carbon footprint.
If GCPโs tools sound like the data doctor ordered, drop Cobry a message, and weโll get back to you to discuss how GCP can help your organisation achieve its aims.
[hubspot portal="25477499" id="381876e5-0719-4f79-a4b2-f0b5c6c52cf9" type="form"]



