[CSS-CLOUD] gRPC and AWS
Holger Dreihahn
Holger.Dreihahn at esa.int
Thu Dec 11 05:01:54 EST 2025
Hello Erik,
Thanks! Yes, I was checking the same and gRPC support seems widely given. In addition, it is really efficient to use. That makes me believe it is a good choice. For CCSDS or standardization in general I like the fact that you get a very clear and concise way to describe services. As a developer I like the easy and efficient way to implement gRPC services.
Best regards,
Holger
From: Barkley, Erik J (US 3970) <erik.j.barkley at jpl.nasa.gov>
Date: Wednesday, 10. December 2025 at 19:25
To: Holger Dreihahn <Holger.Dreihahn at esa.int>
Cc: CDDS WG <css-cloud at mailman.ccsds.org>
Subject: gRPC and AWS
Hi Holger,
I was curious to see what an AI would have to say regarding this prompt “Do various implementations, enterprises, make use of gRPC with AWS?”. Below is what Gemini (essentially google on it’s Amazon competitor) had to say. In summary there appears to be significant integration of gRPC with AWS. I also asked it to provide real-world examples and it cited a few such as Lyft (a service like Uber) that apparently uses gRPC on AWS to push out vehicle locations to mobile apps.
Best regards,
-Erik
---Gemini response---
Yes, absolutely. Various implementations and enterprises heavily utilize gRPC with AWS to build high-performance, scalable, and resilient microservices architectures.1
AWS has continuously improved its support for gRPC, offering native integration with key networking and compute services.2
Here is an overview of the primary ways gRPC is used on AWS:
________________________________
1. Networking and Load Balancing3
AWS provides direct support for gRPC traffic through its Application Load Balancer (ALB) and Content Delivery Network (CDN) services.4
* Application Load Balancer (ALB):
* HTTP/2 End-to-End Support: ALB provides native support for HTTP/2, which is the underlying transport protocol for gRPC.5 This allows the ALB to properly inspect, route, and load balance gRPC traffic between services.6
* gRPC Health Checks: ALBs can perform gRPC-specific health checks (using the standard /aws.grpc.health.v1.Health/Check endpoint) to ensure that only healthy gRPC targets receive traffic.7
* Amazon CloudFront:
* CloudFront (AWS's global CDN) can accept gRPC requests and proxy them to your origin servers.8 This is crucial for reducing latency for global users and benefiting from CloudFront's security features (like AWS WAF) at the edge.9
* AWS VPC Lattice:
* This application networking service is designed for service-to-service communication and offers native support for gRPC, simplifying connection, monitoring, and security across services in a VPC.
2. Compute Platforms
gRPC-based microservices are most commonly deployed on AWS's container services.10
* Amazon ECS (Elastic Container Service) & AWS Fargate:
* Many enterprises containerize their gRPC services using Docker and deploy them on ECS, often using Fargate (the serverless compute engine) for easy scaling.11 The ALB (mentioned above) sits in front of the ECS tasks to handle load balancing.12
* Amazon EKS (Elastic Kubernetes Service):
* In Kubernetes environments on AWS (EKS), gRPC is used extensively for inter-service communication. Traffic routing is often managed using Ingress Controllers or service mesh tools like Envoy or Istio, which sit inside the EKS cluster and are highly optimized for gRPC/HTTP/2 traffic.13
* AWS Lambda:
* While Lambda is generally best suited for REST/HTTP/1.1 endpoints, it can be used as a gRPC client in a simple request/response (Unary) pattern.14 Full gRPC streaming capabilities (server, client, or bidirectional) are typically better handled by the persistent connections available in ECS or EKS.15
3. Service Discovery and Communication
gRPC's efficient, binary nature is ideal for the high-volume, low-latency communication needed in modern architectures.16
* Service Discovery: Services running on AWS often leverage AWS Cloud Map for service discovery, allowing gRPC clients to efficiently find and communicate with their respective gRPC server endpoints without hardcoding IP addresses.17
* Microservices Communication: This is the most prevalent use case. Companies use gRPC to replace or supplement REST/JSON for communication between their internal microservices due to the superior performance and the strict contract enforcement provided by Protocol Buffers.18
🎯 Key Benefits for AWS Users
1. Performance: The combination of gRPC's Protocol Buffer serialization and AWS's HTTP/2 support in ALB and CloudFront results in significantly lower latency and higher throughput for inter-service calls compared to traditional JSON/REST over HTTP/1.1.
2. Architecture Flexibility: The ability to use all four streaming types (Unary, Server, Client, Bidirectional) allows for the creation of complex, real-time applications (e.g., live dashboards, real-time order tracking) that are difficult to build with standard REST.19
3. Cross-Language Support (Polyglot): Given AWS's support for many programming languages, gRPC enables development teams to use the best language for each microservice while maintaining a consistent, type-safe API contract.20
In summary, gRPC is a first-class citizen in modern, cloud-native deployments on AWS, particularly within containerized environments (ECS/EKS).
AWS Service / Feature
Key Feature Cited
Relevant AWS Documentation
Application Load Balancer (ALB)
Native support for HTTP/2, gRPC routing, and gRPC-specific health checks (/aws.grpc.health.v1.Health/Check).
AWS Documentation for Application Load Balancer (specifically the sections on Listeners, Target Groups, and supported Protocols).
Amazon EKS / ECS
Primary compute environments for hosting containerized gRPC microservices.
AWS Open Source Blog and documentation examples showing how to containerize and deploy gRPC applications on Fargate and EKS.
AWS Cloud Map
Used for service discovery within the AWS environment to allow gRPC clients to find service endpoints.
AWS Cloud Map Documentation integrated with ECS and EKS for microservices.
This message is intended only for the recipient(s) named above. It may contain proprietary information and/or protected content. Any unauthorised disclosure, use, retention or dissemination is prohibited. If you have received this e-mail in error, please notify the sender immediately. ESA applies appropriate organisational measures to protect personal data, in case of data privacy queries, please contact the ESA Data Protection Officer (dpo at esa.int).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ccsds.org/pipermail/css-cloud/attachments/20251211/91265a24/attachment-0001.htm>
More information about the CSS-CLOUD
mailing list