Event-driven messaging for data ingestion and data movement
Cloud Pub/Sub is a scalable, durable, event ingestion and delivery system that supports the publish-subscribe pattern at large and small scales. Cloud Pub/Sub makes your systems more robust by decoupling publishers and subscribers of event data.
Instantly ingest events from any place, at any scale
Data ingestion is the foundation for analytics and machine learning, whether you are building stream, batch, or unified pipelines. Cloud Pub/Sub provides a simple and reliable staging location for your event data on its journey towards processing, storage, and analysis.
With Cloud Pub/Sub, data engineers can:
- Scale without provisioning, partitioning, or load isolation worries
- Expand your applications and pipelines to new regions simply with global topics
- Enrich, deduplicate, order, aggregate, and land events using Cloud Dataflow
- Mix real-time and batch processing via Cloud Pub/Sub’s durable storage
Simplify development with event-driven microservices
Whether you’re just beginning your journey to event-driven asynchronous microservices or migrating an existing system, making your events accessible through messaging middleware is a critical early step. Application developers on GCP rely on Cloud Pub/Sub to reliably deliver each event to all the services that must react to it.
Upon event publication to Cloud Pub/Sub:
- Push subscriptions deliver the event to serverless apps running in Cloud Functions or App Engine
- Pull subscriptions make it available to more complex stateful services running in Google Kubernetes Engine or Cloud Dataflow
- Multi-region environments operate seamlessly because of Cloud Pub/Sub’s global nature
Be production ready from day one
Cloud Pub/Sub is designed as a premium service that lets Google Cloud users focus on application logic, regardless of location or scale. The service is minimal and easy to start with but also eliminates the operational, scaling, compliance, and security surprises that inevitably reveal themselves in software projects.
This is why Cloud Pub/Sub includes these always-on features:
- End-to-end encryption, IAM, and audit logging
- NoOps, fully automated scaling and provisioning with virtually unlimited throughput
- Extreme data durability and availability with synchronous cross-zone replication
- Native client libraries in major languages and an open-service API
Cloud Pub/Sub for global messaging and event ingestion
Cloud Pub/Sub Features
Synchronous, cross-zone message replication and per-message receipt tracking ensures at-least-once delivery at any scale.
Open APIs and client libraries in seven languages support cross-cloud and hybrid deployments.
Cloud Dataflow supports reliable, expressive, exactly-once processing of Cloud Pub/Sub streams.
Global by default
Publish from anywhere in the world and consume from anywhere, with consistent latency. No replication necessary.
No provisioning, auto-everything
Cloud Pub/Sub does not have shards or partitions. Just set your quota, publish and consume.
Compliance and security
Cloud Pub/Sub is a HIPAA-compliant service, offering fine-grained access controls and end-to-end encryption.
Take advantage of integrations with multiple services, such as Cloud Storage and Gmail update events and Cloud Functions for serverless event-driven computing.
Seek and replay
Rewind your backlog to any point in time or a snapshot, giving the ability to reprocess the messages. Fast forward to discard outdated data.
Cloud Pub/Sub makes it simple for us to decouple our background data and event processing from the code that handles user-facing requests. This lets us analyze data in real-time with lower code complexity and without impacting the performance of our site.- Colin Fuller, Khan Academy
We are very excited about the productivity benefits offered by Cloud Dataflow and Cloud Pub/Sub. It took half a day to rewrite something that had previously taken over six months to build using Apache Spark.- Paul Clarke, Director of Technology, Ocado
As one of the earliest Google partners to develop a set of reusable tools, reference architectures and methods for accelerating IoT products to market, we’ve been impressed with Cloud Pub/Sub, a durable, low-latency and scalable service for handling many-to-many asynchronous messaging.- Agosto
Cloud Pub/Sub Pricing
The more you use Cloud Pub/Sub, the cheaper it gets — with no upfront costs and no fees to create or maintain topics or subscriptions.
|Monthly data volume1||Price Per TB2|
|First 10 GB||$0.00|
|Next 50 TB||$60|
|Next 100 TB||$50|
|Beyond 150 TB||$40|
1 For detailed pricing information, please consult the pricing guide.
2 TB refers to a tebibyte, or 240 bytes.
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Cloud Pub/Sub Docs
Cloud Pub/Sub for Stream Analytics
IoT on Cloud Pub/Sub
Learn and build
New to GCP? Get started with any GCP product for free with a $300 credit.
Need more help?
Our experts will help you build the right solution or find the right partner for your needs.