This Guidance demonstrates how you can set up scan and go technology using AWS services. It can help you move the scan and checkout process to your own application with the help of AWS AppSync, which creates GraphQL APIs and offers a single endpoint for your data. This Guidance also shows how you can configure various other AWS services to provide personalized recommendations, stream the data to a centralized data lake, and authenticate users. The authenticated users will scan any barcode, either 1D or 2D, where they can read about the product, check the price, and more, then move the product to their cart to complete the self-checkout process. Finally, by leveraging machine learning capabilities, the application incorporates features such as fraud detection, and near real-time redemption of loyalty points.

Please note: [Disclaimer]

Architecture Diagram

[Architecture diagram description]

Download the architecture diagram PDF 

Well-Architected Pillars

The AWS Well-Architected Framework helps you understand the pros and cons of the decisions you make when building systems in the cloud. The six pillars of the Framework allow you to learn architectural best practices for designing and operating reliable, secure, efficient, cost-effective, and sustainable systems. Using the AWS Well-Architected Tool, available at no charge in the AWS Management Console, you can review your workloads against these best practices by answering a set of questions for each pillar.

The architecture diagram above is an example of a Solution created with Well-Architected best practices in mind. To be fully Well-Architected, you should follow as many Well-Architected best practices as possible.

  • AWS AppSync, Lambda, API Gateway, OpenSearch, Amazon Redshift, and QuickSight are configured in this Guidance so that you can run and monitor your systems effectively while gaining insights into your operations. AWS AppSync enables near real-time data synchronization across users and devices, vital for a seamless scan and go experience. Lambda and API Gateway, particularly crucial for handling POS transactions, automate functionalities and secure interactions to reduce the need for extensive server management. OpenSearch supports near real-time data analysis and visualization, which are necessary for understanding system performance. Finally, Amazon Redshift and QuickSight transform operational data into accessible, understandable formats for analysis and reporting, thereby supporting data-driven decision-making.

    Read the Operational Excellence whitepaper 
  • Cognito, AWS Identity and Access Management (IAM), API Gateway, and Lambda help secure your workloads. Cognito provides robust user sign-up, sign-in, and access control—enhancing the security of user data and interactions. IAM facilitates secure control access to AWS resources. It enables the management of users, security credentials such as access keys, and permissions that control which AWS resources users can access. API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization, and access control. Additionally, the automatic scaling behavior for Lambda is designed to maintain optimal security and performance at the lowest operational cost.

    Read the Security whitepaper 
  • Configure Lambda, API Gateway, AWS AppSync, and OpenSearch to enhance the reliability of your workloads. These services are resilient, scalable, and helps ensure your data consistency—essential for reliability. Lambda and API Gateway handle traffic efficiently and ensure the smooth running of operations. AWS AppSync offers strong data synchronization capabilities, enabling consistent user experiences across various devices and platforms. And OpenSearch provides the ability to analyze and visualize system data, helping identify potential issues early and make informed decisions.

    Read the Reliability whitepaper 
  • Lambda and API Gateway are designed for low-latency, high-throughput performance, making them ideal for handling POS transactions in the scan and go system. Also, AWS AppSync offers a highly scalable data synchronization solution that can handle a large number of concurrent users, ensuring a seamless user experience, even during peak usage periods. Finally, Amazon Personalize allows for near real-time personalization and recommendations, which improves user engagement and the overall application performance.

    Read the Performance Efficiency whitepaper 
  • Lambda is a serverless computing service that allows you to run code without provisioning or managing servers, which reduces operational overhead and costs. With OpenSearch, it provides cost-effective and scalable search capabilities, helping you to optimize costs by tailoring our cluster to the required workload. Furthermore, Amazon Personalize also operates on a pay-as-you-go model, so you only pay for what you use, and it can provide cost-effective personalization and recommendations.

    Read the Cost Optimization whitepaper 
  • Lambda enables the application configured through this Guidance to be more efficient by reducing the amount of unused computing resources. Amazon Simple Storage Service (Amazon S3) provides storage services that include features like Amazon S3 Intelligent-Tiering storage class. This feature automatically moves data to the most cost-effective access tier, without performance impact or operational overhead. This storage optimization feature reduces resource usage and cost. Moreover, SageMaker provides a fully managed service that enables users to quickly and easily build, train, and deploy machine learning models.

    Read the Sustainability whitepaper 

Implementation Resources

A detailed guide is provided to experiment and use within your AWS account. Each stage of building the Guidance, including deployment, usage, and cleanup, is examined to prepare it for deployment.

The sample code is a starting point. It is industry validated, prescriptive but not definitive, and a peek under the hood to help you begin.

[Content Type]


This [blog post/e-book/Guidance/sample code] demonstrates how [insert short description].


The sample code; software libraries; command line tools; proofs of concept; templates; or other related technology (including any of the foregoing that are provided by our personnel) is provided to you as AWS Content under the AWS Customer Agreement, or the relevant written agreement between you and AWS (whichever applies). You should not use this AWS Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the AWS Content, such as sample code, as appropriate for production grade use based on your specific quality control practices and standards. Deploying AWS Content may incur AWS charges for creating or using AWS chargeable resources, such as running Amazon EC2 instances or using Amazon S3 storage.

References to third-party services or organizations in this Guidance do not imply an endorsement, sponsorship, or affiliation between Amazon or AWS and the third party. Guidance from AWS is a technical starting point, and you can customize your integration with third-party services when you deploy the architecture.

Was this page helpful?