Guidance for Generative AI Shopping Assistants Using Amazon Bedrock Agents
Overview
This Guidance demonstrates how to create a compelling, AI-driven shopping experience using Amazon Bedrock Agents. It shows how to securely integrate your existing systems and data, minimizing the time and complexity required to build sophisticated generative AI assistants. By following this Guidance, you can enhance your customers’ online shopping experience, providing personalized recommendations, intelligent search capabilities, and engaging conversational interactions.
How it works
These technical details feature an architecture diagram to illustrate how to effectively use this solution. The architecture diagram shows the key components and their interactions, providing an overview of the architecture's structure and functionality step-by-step.
Deploy with confidence
Ready to deploy? Review the sample code on GitHub for detailed deployment instructions to deploy as-is or customize to fit your needs.
Well-Architected Pillars
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.
Operational Excellence
AWS Cloud Development Kit (AWS CDK) automates and streamlines your entire deployment process for consistent and repeatable rollouts across environments. Gain visibility into user and service actions with AWS CloudTrail, and Amazon Bedrock invocation logging collects comprehensive request, response, and metadata details for insightful troubleshooting and improvement opportunities. These capabilities empower you to reduce deployment time and runtime issues while maintaining consistent environments.
Security
Amazon Cognito handles user authentication and authorization for the web app. CloudFront delivers static assets securely with low latency, traffic encryption, and access controls. AWS Identity and Access Management (IAM) policies are scoped down to minimize permissions. The virtual private cloud (VPC) isolates resources in a secure network environment. Amazon Virtual Private Cloud (Amazon VPC) endpoints enable direct, private connections between the VPC and AWS services without internet access, enhancing security. Anonymous user interactions are prohibited, and AWS Shield Standard defends against distributed denial of service (DDoS) attacks.
Reliability
Amazon Bedrock and Lambda are deployed across multiple Availability Zones (AZs) by default, providing redundancy and high availability. Amazon S3 provides durable storage, and Lambda handles the scaling of your compute resources seamlessly. Route 53 will route your end users to healthy application endpoints through automatic failover, latency-based routing, and health checks, for reliable service delivery.
Performance Efficiency
Fargate automatically handles scaling and infrastructure management, helping you maximize resource utilization. The Vector Engine for Amazon OpenSearch Serverless provides high-performing vector storage and search capabilities to build generative AI applications. Additionally, CloudFront, a global content delivery network that caches content closer to your users, provides low latency and high transfer speeds.
Cost Optimization
Optimize your costs with Fargate, which charges only for the virtual CPU and memory resources consumed by your containers, eliminating the need to provision and manage infrastructure. Amazon Bedrock provides comprehensive, flexible pricing options to meet your specific requirements. Serve your static content directly from Amazon S3, and use CloudFront to cache and compress content, minimizing data transfer costs and automatically scaling to handle traffic spikes.
Sustainability
Reduce your environmental impact by using serverless services like Fargate, Lambda, Amazon S3, and Amazon Bedrock, which eliminate the need for server management and maximize resource utilization. These services are built on the energy-efficient infrastructure of AWS, which runs on renewable energy.
Disclaimer
Did you find what you were looking for today?
Let us know so we can improve the quality of the content on our pages