Web3 Decentralized Applications on AWS - Web3 Decentralized Applications on AWS

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

Reference architecture diagram showing how to develop static hosted web applications that communicate with a blockchain network through an Amazon Managed Blockchain node.
  1. The browser makes a requests to the Amazon CloudFront domain, routed to the closest distribution for the Decentralized Application (DApp).

  2. 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.

  3. The DApp makes requests to the Amazon API Gateway from the browser.

  4. 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.

  5. Amazon Managed Blockchain Ethereum Node receives and processes Web3 requests.

  6. Ethereum requests and transactions are propagated to and received from the decentralized Ethereum Blockchain Mainnet.

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 a free AWS account

Sign up for an AWS account. New accounts include 12 months of AWS Free Tier access, including the use of Amazon EC2, Amazon S3, and Amazon DynamoDB.

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.

ChangeDescriptionDate

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.