Web3 Decentralized Applications on AWS
Publication date: August 3, 2023 (Diagram history)
Use this architecture as a reference for developing static hosted web applications that communicate with a blockchain network through an Amazon Managed Blockchain node.
Web3 Decentralized Applications on AWS Diagram
-
The browser makes a requests to the Amazon CloudFront domain, routed to the closest distribution for the Decentralized Application (DApp).
-
The DApp is cached at the edge in CloudFront. The DApp files are distributed to the edge by a CloudFront distribution that makes a request to an Amazon Simple Storage Service (Amazon S3) bucket, where the DApp files are statically hosted.
The Amazon S3 bucket is secured by blocking all traffic except for a configured origin Access Identity of the CloudFront Distribution. Refer to Restricting access to an Amazon S3 origin.
-
The DApp makes requests to the Amazon API Gateway from the browser.
-
All requests to the API Gateway are sent to the AWS Lambda DApp Backend. It reads the path and method requests and binds them into a Web3.js request with a sigv4 signed Http Request Provider.
-
Amazon Managed Blockchain Ethereum Node receives and processes Web3 requests.
-
Ethereum requests and transactions are propagated to and received from the decentralized Ethereum Blockchain Mainnet.
Further reading
For additional information, refer to
Contributors
Contributors to this reference architecture diagram include:
-
Aaron Sempf, Principal Partner Solutions Architect, Amazon Web Services
-
Gonzalo Ron, Senior Partner Sales Solutions Architect, 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. | August 3, 2023 |
Note
To subscribe to RSS updates, you must have an RSS plugin enabled for the browser you are using.