Skip to main content
Google Cloud
Documentation Technology areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Costs and usage management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
  • Migration
Related sites
  • Google Cloud Home
  • Free Trial and Free Tier
  • Architecture Center
  • Blog
  • Contact Sales
  • Google Cloud Developer Center
  • Google Developer Center
  • Google Cloud Marketplace
  • Google Cloud Marketplace Documentation
  • Google Cloud Skills Boost
  • Google Cloud Solution Center
  • Google Cloud Support
  • Google Cloud Tech Youtube Channel
/
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português
  • Português – Brasil
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Console Sign in
  • Google Cloud Serverless for Apache Spark
Guides Reference Support Resources
Contact Us Start free
Google Cloud
  • Documentation
    • Guides
    • Reference
    • Support
    • Resources
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Related sites
    • More
  • Console
  • Contact Us
  • Start free
  • Discover
  • Product overview
  • Serverless for Apache Spark tiers
  • Get started
  • Run an Apache Spark workload
  • Run PySpark code in BigQuery Studio notebooks
  • Create serverless interactive sessions and session templates
  • Use JupyterLab for serverless batch and notebook sessions
  • Accelerate batch workloads and sessions with Lightning Engine
  • Create an Apache Iceberg table with metadata in BigLake metastore
  • Use Dataproc templates
    • Overview
    • Cloud Spanner to Cloud Storage
    • Cloud Storage to BigQuery
    • Cloud Storage to Cloud Spanner
    • Cloud Storage to Cloud Storage
    • Cloud Storage to JDBC
    • Hive to BigQuery
    • Hive to Cloud Storage
    • JDBC to BigQuery
    • JDBC to Cloud Spanner
    • JDBC to Cloud Storage
    • JDBC to JDBC
    • Pub/Sub to Cloud Storage
  • Serverless Spark solution accelerators
  • Develop
  • Select Spark runtime versions
    • Spark runtime version list
    • Spark runtime version 3.0
    • Spark runtime version 2.3
    • Spark runtime version 2.2
    • Spark runtime version 1.2
    • Use custom containers
  • Use the BigQuery connector with Spark
  • Use GPUs with Serverless for Apache Spark
  • Configure Serverless for Apache Spark
    • Network configuration
    • Service account
    • Spark properties
    • Spark metrics
    • Staging buckets
  • Manage
  • Create custom constraints
  • Monitor and troubleshoot
  • Monitor and troubleshoot batch workloads
  • AI-powered Investigations with Gemini Cloud Assist
  • Monitor and troubleshoot interactive sessions
  • Troubleshoot batch and session creation failures
  • Troubleshoot batch and session connectivity
  • Enable data lineage
  • Profile resource usage
  • Dataproc Resource Manager audit logs
  • Secure and control access
  • Permissions and IAM roles
  • Use CMEK with Serverless for Apache Spark
  • Default security measures
  • Use Secret Manager with Serverless for Apache Spark
  • Optimize
  • Autoscale workload resources
  • Autotune Spark workloads
  • Use Lightning Engine
    • Accelerate Serverless for Apache Spark with Lightning Engine
    • Run the Native Query Execution qualification tool
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Costs and usage management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
  • Migration
  • Google Cloud Home
  • Free Trial and Free Tier
  • Architecture Center
  • Blog
  • Contact Sales
  • Google Cloud Developer Center
  • Google Developer Center
  • Google Cloud Marketplace
  • Google Cloud Marketplace Documentation
  • Google Cloud Skills Boost
  • Google Cloud Solution Center
  • Google Cloud Support
  • Google Cloud Tech Youtube Channel
  • Home
  • Documentation
  • Data analytics
  • Google Cloud Serverless for Apache Spark
  • Guides

Serverless for Apache Spark security

Serverless for Apache Spark workloads automatically implement the following security hardening measures:

  • Spark RPC authentication is enabled.
  • Spark RPC encryption is enabled.
  • User code runs as the non-root "spark" user within containers.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-17 UTC.

  • Why Google

    • Choosing Google Cloud
    • Trust and security
    • Modern Infrastructure Cloud
    • Multicloud
    • Global infrastructure
    • Customers and case studies
    • Analyst reports
    • Whitepapers
  • Products and pricing

    • See all products
    • See all solutions
    • Google Cloud for Startups
    • Google Cloud Marketplace
    • Google Cloud pricing
    • Contact sales
  • Support

    • Community forums
    • Support
    • Release Notes
    • System status
  • Resources

    • GitHub
    • Getting Started with Google Cloud
    • Google Cloud documentation
    • Code samples
    • Cloud Architecture Center
    • Training and Certification
    • Developer Center
  • Engage

    • Blog
    • Events
    • X (Twitter)
    • Google Cloud on YouTube
    • Google Cloud Tech on YouTube
    • Become a Partner
    • Google Cloud Affiliate Program
    • Press Corner
  • About Google
  • Privacy
  • Site terms
  • Google Cloud terms
  • Manage cookies
  • Our third decade of climate action: join us
  • Sign up for the Google Cloud newsletter Subscribe
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português
  • Português – Brasil
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어