AWS AppSync

Accelerate application development with serverless GraphQL and Pub/Sub APIs

250k API requests free

per month for 12 months with the AWS Free Tier

What is AWS AppSync?

AWS AppSync is a serverless GraphQL and Pub/Sub API service that simplifies building modern web and mobile applications.

AWS AppSync GraphQL APIs simplify application development by providing a single endpoint to securely query or update data from multiple databases, microservices, and APIs.

AWS AppSync Pub/Sub APIs make it easy to create engaging real-time experiences by automatically publishing data updates to subscribed API clients via serverless WebSockets connections. 

Simplify data access with GraphQL APIs (1:23)

Benefits

A single data API

Power your applications with the right data, from one or more data sources, with a single network request using GraphQL. AWS AppSync securely connects your GraphQL API to data sources like AWS DynamoDB, RDS, OpenSearch, and Lambda. Adding caches to improve performance, authentication to secure your data, and client-side data stores that keep off-line clients in sync are just as easy. 

Real-time data experiences

Publish real-time data updates from any event source to subscribed web, mobile, and IoT clients by extending your GraphQL API to include subscriptions. Or, start with a simple Pub/Sub API without GraphQL. Either way, AWS AppSync handles the creation of serverless WebSockets connections, message broadcast, and fan out to up to millions of connected clients. 

100% serverless

AWS AppSync offers fully managed GraphQL API and Pub/Sub API setup, administration, auto-scaling, and high-availability. Easily secure, monitor, log, and trace your API via built-in support for AWS WAF, CloudWatch and X-Ray. Pay only for requests to your API and for any real-time messages delivered to connected clients.

How it works

  • AppSync GraphQL APIs
  • GraphQL APIs built with AWS AppSync give front-end developers the ability to query multiple databases, microservices, and APIs from a single GraphQL endpoint. 

    How AppSync works
  • AppSync Pub/Sub APIs
  • Pub/Sub APIs built with AWS AppSync give front-end developers the ability to publish real-time data updates to subscribed API clients via serverless WebSockets connections.

    AWS AppSync PubSub API Diagram

Use cases

  • Unified data access
  • Unified data access

    Retrieve or modify data from multiple data sources (SQL, NoSQL, search data, REST endpoints, and serverless backends) with a single call. Query and create relations between data sources using GraphQL connections.

    Additional resources: Tutorial

    Polyglot Backend Data Access
  • Unified microservices access
  • Unified microservices access

    Access and combine data from multiple microservices running in containers in a VPC, behind a REST API endpoint, a GraphQL API endpoint, and more, in a single interface.

    Additional resources: Tutorial
    Sample code examples: Airline, E-Commerce
    Microservices access layer
  • Offline application sync
  • Offline application sync

    Automatically synchronize data between mobile/web applications and the cloud with AWS AppSync and Amplify DataStore, an on-device persistent storage engine with built-in support for data versioning and conflict detection and resolution.

    Additional resources: Tutorial

    Offline delta sync
  • Real-time collaboration
  • Real-time collaboration

    Broadcast data from the backend to all connected clients (one-to-many) or between clients (many-to-many), such as in a second screen scenario where you broadcast the same data to all clients, who can then reply.

    Additional resources: Tutorial

    Data broadcasting
  • Real-time chat application
  • Real-time chat application

    Build conversational mobile or web applications that support multiple private chat rooms, offer access to conversation history, and queue outbound messages, even when a device is offline.

    Additional resources: Tutorial

    Chat Applications
  • Real-time IoT dashboard
  • Real-time IoT dashboard

    Access IoT device data sent to AWS IoT to build real-time dashboards in a mobile or web application that visualizes telemetry from a connected IoT device, like a car.

    Additional resources: Tutorial

    Internet of Things

Customers using AWS AppSync

case study

Real-time sports updates

Sky

Learn how Sky Italia uses AWS AppSync to deliver real-time sports updates and delight their fans.

Learn more »
case study

Accelerate digital transformation

BMW Group

Read how BMW increases developer velocity by using AWS AppSync to build scalable and universal APIs.

Learn more »
case study

Live Location Tracking

Hypertrack

Read about how HyperTrack uses AWS for real-time data processing for live location tracking at scale.

Learn more »
case study

Streaming Service

Peacock

Read how streaming service Peacock launched a new streaming service in 12 months and included AWS Appsync.

Learn more »

Learn more about AWS AppSync features

Visit the features page
Ready to build?
Open the AWS AppSync console
Have more questions?
Contact us