Sports Betting Architecture on AWS
Publication date: November 16, 2023 (Diagram history)
This reference architecture describes how sports betting application can be deployed to address different regulatory requirements. And how AWS Local Zones and AWS Outposts and hybrid scenarios can help you address those challenges.
Deployment of All Components on AWS Diagram
This reference architecture describes how to set up betting applications in AWS when regulations require that only a copy of the data be stored within the regulated jurisdiction.

-
The bet entry point uses Amazon CloudFront
. AWS WAF protects against DDoS attacks, bots, and account takeover. -
Platform components use containerized deployments, leveraging Amazon Elastic Kubernetes Service
(Amazon EKS) within an AWS Region. -
Use Amazon Managed Streaming for Apache Kafka
(Amazon MSK) to build real-time streaming data pipelines between services, applications, and data layers. -
A NAT gateway provides a static IP address for the allowlist on the external provider side. The feeds push method uses Amazon API Gateway
with WebSocket capability, if required. -
External service providers with clearance to operate within a geo zone handle external compliance operations and payments.
-
The data platform and message bus stream logs, application data, and user activity data to the analytics layer through federation mechanisms, AWS Lake Formation
or Amazon Aurora zero-ETL. Amazon MSK uses mirroring for replication. -
The database layer stores platform data and historical transactions. Amazon Relational Database Service
(Amazon RDS) provides resiliency, redundancy, and quick failover. -
The compute layer uses analytics results through an internal API.
-
The odds engine stores data in Amazon DynamoDB
. CloudFront serves the feed data to the customers through WebSocket. -
Native database tools replicate data from the database layer to an external data center for compliance. AWS Site-to-Site VPN
secures the connection.
Deployment of Player-Related Components Outside of AWS Diagram
This reference architecture describes deployment of betting applications to AWS when regulations require that the sportsbook, wallets, and player account management(PAM) be deployed within the regulated jurisdiction with no AWS Region available.

-
The bet entry point uses Amazon CloudFront
. AWS WAF protects against DDoS attacks, bots, and account takeover. -
Platform components use containerized deployments, leveraging Amazon Elastic Kubernetes Service
(Amazon EKS) within an AWS Region. -
Use Amazon Managed Streaming for Apache Kafka
(Amazon MSK) to build real-time streaming data pipelines between services, applications, and data layers. -
A NAT gateway provides a static IP address for the allowlist on the external provider side. The feeds push method uses Amazon API Gateway
. -
External service providers with clearance to operate within a geo zone handle wallet operations and payments.
-
The data latform and message bus stream logs, application data, and user activity data to the analytics layer through federation or mirroring.
-
The database layer stores platform data and historical transactions. Amazon Relational Database Service
(Amazon RDS) provides resiliency, redundancy, and quick failover. -
The compute layer uses analytics results through an internal API.
-
The odds engine stores data in an Amazon DynamoDB
database. The feed information is accessed through third-party feed pull or push models. Afterward, CloudFront serves the feed data to the customers through WebSocket. -
If regulations allow, bets are placed in AWS Local Zones where AWS Regions are not present.
-
If regulations do not allow the cloud, the bets are placed on-premises using AWS Outposts
.
Deployment of All Core Components Outside of AWS Diagram
This reference architecture describes deployment of betting applications to AWS where regulations require that sportsbook, wallets, player account management (PAM), and odds engines run within a jurisdiction containing no AWS Region.

-
The bet entry point uses Amazon CloudFront
. AWS WAF protects against DDoS attacks, bots, and account takeover. -
Platform components use containerized deployments, leveraging Amazon Elastic Kubernetes Service
(Amazon EKS) within an AWS Region. -
Use Amazon Managed Streaming for Apache Kafka
(Amazon MSK) to build real-time streaming data pipelines between services, applications, and data layers. -
A NAT gateway provides a static IP address for the allowlist on the external provider side.
-
External service providers with clearance to operate within a geo zone handle external compliance operations operations and payments.
-
The data platform and message bus stream logs, application data, and user activity data to the analytics layer through federation or mirroring.
-
The database layer stores platform data and historical transactions. Amazon Relational Database Service
(Amazon RDS) provides resiliency, redundancy, and quick failover. -
The compute layer uses analytics results through an internal API.
-
WebSocket provides live feed information. The feed information is accessed by third-party feed pull or push models and combined. Odds are calculated within regulated zones.
-
If regulations allow, bets are placed in AWS Local Zones where AWS Regions are not present.
-
If regulations do not allow the cloud, the bets are placed on-premises using AWS Outposts
.
Download editable diagram
To customize this reference architecture diagram based on your business needs, download the ZIP file which contains an editable PowerPoint.
Create a free AWS account
Sign up for an AWS account. New accounts include 12 months of AWS Free Tier
Further reading
For additional information, refer to
Contributors
Contributors to this reference architecture diagram include:
-
Sergey Viktorovich Kurson, Principal Solutions Architect, Amazon Web Services
-
Serhii Avramchuk, Senior Account Manager, Amazon Web Services
Diagram history
To be notified about updates to this reference architecture diagram, subscribe to the RSS feed.
Change | Description | Date |
---|---|---|
Initial publication | Reference architecture diagram first published. | November 15, 2023 |
Note
To subscribe to RSS updates, you must have an RSS plugin enabled for the browser you are using.