Operation
Google Cloud Serverless Spark
What is Google Cloud Serverless Spark?
Apache Spark has become a popular platform for data workers (engineers, analysts, and scientists) to efficiently run streaming, machine learning (ML), or SQL workloads that require fast, iterative access to datasets. As a fast in-memory data processing engine, it offers unprecedented capabilities in exploring and preparing both simple and complex data. However, this tool comes with some undesirable limitations that impact efficiency. With Apache Spark, there must be an on-premises method for managing clusters and adapting infrastructure to the requirements of each individual job. For this reason, highly skilled data centre staff are required who are well-versed in all areas of executing data workloads. Against this backdrop, is there a way to benefit from Apache Spark without having to deal with these limitations?
Introducing Spark on Google Cloud, the first autoscaling, serverless Spark that is cloud-native and fully integrated with, but not limited to, GCP. With serverless Spark, you can run ETL, data science, and data analytics workloads at scale. For half a decade, Google has been running business-critical Spark workloads for enterprises at scale using Dataproc (the open-source Spark). These capabilities are now also being made available to customers so they can run their clusters in a cloud-native way with serverless Spark.
Serverless Spark Features
Serverless Spark leverages Dataproc, BigQuery, Dataplex, and Vertex AI to allow users to:
Reduce the time spent managing Spark clusters.
Run Spark jobs via the interface of your choice.
Flexibly deploy workloads across different clusters based on requirements.
Just like other services in GCP, the infrastructure powering serverless Spark is fully managed by Google Cloud. Developers don't need to be infrastructure experts; they can simply focus on code and logic. This service is integrated into Dataproc to help users accelerate their open-source data and analytics processing. Dataproc offers unmatched support for the most common open-source software, including Apache Spark and Hadoop. If you run OSS clusters on-premises, you can seamlessly migrate these workloads to the cloud and take advantage of autoscaling and infrastructure management.
Serverless Spark Integrations
Users can also write SQL or PySpark code in BigQuery, and serverless Spark will execute that code. Data can be stored in BigQuery while serverless Spark performs analytics on a unified platform. Vertex AI Workbench enables developers to connect their notebooks to Spark with a single click and engage in interactive development. Vertex AI also provides the ability to use other ML frameworks such as TensorFlow, PyTorch, etc., with Spark. You can build and deploy ML models as Spark jobs on Dataproc to automatically analyse large volumes of data.
You can centrally and natively manage data distributed across multiple data lakes, silos, or warehouses with Spark via Dataplex. Dataplex provides a unified analytics interface integrated with SparkSQL, PySpark, and notebooks, just a click away. Here, you can store, share, and search notebooks and scripts alongside data.
Depending on your needs or preferences, Spark can be used in 3 different ways. If you prefer Kubernetes for infrastructure management, you can run it on GKE, but if you prefer the Hadoop infrastructure style, you can run it on GCE. Serverless Spark is primarily intended for customers who prefer a No-Ops Spark deployment. Whichever you choose, billing is per Spark job.



