Revisit Amazon Web Services re:Invent 2024’s biggest moments and watch keynotes and innovation talks on demand
Amazon AppSync
Power your applications with the right data, from one or more data sources, at global scale
Amazon AppSync
Power your applications with the right data, from one or more data sources, at global scale
Amazon AppSync simplifies application development by letting you create a flexible API to securely access, manipulate, and combine data from one or more data sources. AppSync is a managed service that uses GraphQL to make it easy for applications to get exactly the data they need.
With AppSync, you can build scalable applications, including those requiring real-time updates, on a range of data sources such as NoSQL data stores, relational databases, HTTP APIs, and your custom data sources with Amazon Lambda. For mobile and web apps, AppSync additionally provides local data access when devices go offline, and data synchronization with customizable conflict resolution, when they are back online.
Amazon AppSync simplifies application development by letting you create a flexible API to securely access, manipulate, and combine data from one or more data sources. AppSync is a managed service that uses GraphQL to make it easy for applications to get exactly the data they need.
With AppSync, you can build scalable applications, including those requiring real-time updates, on a range of data sources such as NoSQL data stores, relational databases, HTTP APIs, and your custom data sources with Amazon Lambda. For mobile and web apps, AppSync additionally provides local data access when devices go offline, and data synchronization with customizable conflict resolution, when they are back online.
Benefits
Start Effortlessly; Scale With Your Business
Real-Time Subscriptions and Offline Access
Unify and Secure Access to Your Distributed Data
Benefits
Start Effortlessly; Scale With Your Business
Real-Time Subscriptions and Offline Access
Unify and Secure Access to Your Distributed Data
How It Works
How It Works
Customers Using Amazon AppSync
Customers Using Amazon AppSync
Use Cases
-
Real Time Collaboration
-
Data Layer
-
Offline
-
Real Time Collaboration
-
Data Broadcasting
You can use Amazon AppSync to enable scalable, real-time collaboration use cases by broadcasting data from the backend to all connected clients (one-to-many) or broadcasting data between clients themselves (many-to-many). For example, you can build a second screen scenario where you broadcast the same data to all clients, and users then respond in real time by voting and commenting about what's on the screen.
Reference Architecture: Sample Code
Chat Applications
You can use Amazon AppSync to power collaborative and conversational applications. For example, you can build a mobile and web application that supports multiple private chat rooms, offers access to conversation history, and enqueues outbound messages, even when the device is offline.
Reference Architecture: Sample Code
Internet of Things
You can use Amazon AppSync to access IoT device data sent to Amazon IoT. For instance, you can build a real-time dashboard in a mobile or web application to visualize telemetry from a connected car.
Reference Architecture: Sample Code
-
Data Layer
-
Microservices Access Layer
You can use Amazon AppSync as a single interface to access and combine data from multiple microservices in your application, even if they're running in different environments such as containers in a VPC, behind a REST API on Amazon API Gateway, or behind a GraphQL API on another Amazon AppSync endpoint.
Reference Architecture: Sample Code 1 Sample Code 2
Polyglot Backend Data Access
You can retrieve or modify data from multiple data sources (SQL databases in Amazon Aurora Serverless, NoSQL tables in Amazon DynamoDB, search data in Amazon Elasticsearch Service, REST endpoints in Amazon API Gateway, or serverless backends in Amazon Lambda) with a single call. Query and create relations between data sources using GraphQL connections. Provide real-time and offline capabilities to web and mobile clients.
-
Offline
-
Offline Delta Sync
You can use AppSync with Amplify DataStore, an on-device persistent storage engine that automatically synchronizes data between mobile/web apps and the cloud using GraphQL with a local-first and familiar programming model, leveraging Amazon AppSync built-in support for data versioning with advanced conflict detection and resolution strategies such as auto-merge, optimistic concurrency or custom resolution with your own Lambda functions.
Use Cases
-
Real Time Collaboration
-
Data Layer
-
Offline
-
Real Time Collaboration
-
Data Broadcasting
You can use Amazon AppSync to enable scalable, real-time collaboration use cases by broadcasting data from the backend to all connected clients (one-to-many) or broadcasting data between clients themselves (many-to-many). For example, you can build a second screen scenario where you broadcast the same data to all clients, and users then respond in real time by voting and commenting about what's on the screen.
Reference Architecture: Sample Code
Chat Applications
You can use Amazon AppSync to power collaborative and conversational applications. For example, you can build a mobile and web application that supports multiple private chat rooms, offers access to conversation history, and enqueues outbound messages, even when the device is offline.
Reference Architecture: Sample Code
Internet of Things
You can use Amazon AppSync to access IoT device data sent to Amazon IoT. For instance, you can build a real-time dashboard in a mobile or web application to visualize telemetry from a connected car.
Reference Architecture: Sample Code
-
Data Layer
-
Microservices Access Layer
You can use Amazon AppSync as a single interface to access and combine data from multiple microservices in your application, even if they're running in different environments such as containers in a VPC, behind a REST API on Amazon API Gateway, or behind a GraphQL API on another Amazon AppSync endpoint.
Reference Architecture: Sample Code 1 Sample Code 2
Polyglot Backend Data Access
You can retrieve or modify data from multiple data sources (SQL databases in Amazon Aurora Serverless, NoSQL tables in Amazon DynamoDB, search data in Amazon Elasticsearch Service, REST endpoints in Amazon API Gateway, or serverless backends in Amazon Lambda) with a single call. Query and create relations between data sources using GraphQL connections. Provide real-time and offline capabilities to web and mobile clients.
-
Offline
-
Offline Delta Sync
You can use AppSync with Amplify DataStore, an on-device persistent storage engine that automatically synchronizes data between mobile/web apps and the cloud using GraphQL with a local-first and familiar programming model, leveraging Amazon AppSync built-in support for data versioning with advanced conflict detection and resolution strategies such as auto-merge, optimistic concurrency or custom resolution with your own Lambda functions.