Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poc - Architecture Diagram #3

Open
CloudManPro opened this issue Nov 7, 2024 · 1 comment
Open

Poc - Architecture Diagram #3

CloudManPro opened this issue Nov 7, 2024 · 1 comment

Comments

@CloudManPro
Copy link
Collaborator

CloudManPro commented Nov 7, 2024

Architecture Diagram - Proof of Participation

This diagram represents a proposed architecture for a Proof of Participation. It is composed of the following elements:

CloudFront

Amazon CloudFront is used as the CDN for content distribution, with a Free Tier that allows 1TB of data transfer per month at no cost. Users access the site through a domain, such as pop.floripa.sc.python.org.br, managed by Route 53 with an associated digital certificate.

Amazon Route 53

Amazon Route 53 is a scalable and highly available DNS service from AWS. It is used to manage domains and can be used to register subdomains, such as pop.floripa.sc.python.org.br, facilitating traffic routing to different resources in the architecture. Additionally, Amazon Route 53 works in conjunction with AWS Certificate Manager (ACM) to provide SSL/TLS certificates. ACM is a free service that allows issuing and managing digital certificates to secure domain communications.

S3 Bucket

CloudFront distributes the content from an S3 bucket, where the React application and PDF files for participants' certificates are stored. Amazon S3 offers a Free Tier that includes 5 GB of standard storage, 20,000 GET requests, and 2,000 PUT requests per month for free, which is ideal for small projects.

Storage Class Storage Cost (per TB/month) Retrieval Cost (per GB) Retrieval Time Notes
S3 Standard $23.00 N/A Milliseconds High durability and availability for frequently accessed data.
S3 Standard-IA $12.50 $0.01 Milliseconds Infrequently accessed data; minimum of 30 days of storage.
S3 Glacier Instant Retrieval $4.00 $0.03 Milliseconds Low-cost storage for rarely accessed data requiring fast recovery; 90 days min.
S3 Glacier Flexible Retrieval $3.60 $0.01 (Standard); $0.0025 (Bulk) Minutes to hours Long-term archiving with flexible retrieval; minimum of 90 days of storage.
S3 Glacier Deep Archive $1.00 $0.02 (Standard); $0.0025 (Bulk) Hours Lowest-cost storage for rarely accessed data; minimum of 180 days of storage.

|

APIGateway REST

CloudFront is also in front of a REST API, which is exposed through Amazon API Gateway. Amazon API Gateway is a managed service that facilitates the creation, publishing, maintenance, monitoring, and security of APIs at any scale, allowing multiple services to be accessed in an integrated way. Amazon API Gateway also offers a Free Tier that includes 1 million API calls per month for free during the first year.

AWS Lambda for Back-End

Amazon API Gateway supports an AWS Lambda that acts as a back-end, communicating with the Chain API and accessing a DynamoDB for data storage. AWS Lambda offers a Free Tier that includes 1 million requests per month for free, making it ideal for starting small projects without initial costs.

DynamoDB

Amazon DynamoDB is a NoSQL database, ideal for fast and scalable storage. It will store user data and keys for blockchain access. Amazon DynamoDB offers a Free Tier that includes 25 GB of storage, along with 25 read capacity units and 25 write capacity units per month for free, making it a great option for beginners.

Lambda for Event Generation

Another AWS Lambda is responsible for generating events when completed, creating entries in the blockchain, and generating PDF certificates for participants.

Amazon Cognito

Amazon Cognito is used as the authentication service for users accessing the site. It manages login and maintains session security. Amazon Cognito offers a Free Tier that allows up to 50,000 active users per month for free, making it easier to implement authentication in small projects.

CloudWatch Logs

Amazon CloudWatch Logs is a service that helps you monitor, store, and access your application and system logs. It allows you to track system activity, identify failures, and diagnose problems quickly. The CloudWatch Logs Free Tier includes up to 5 GB of log data ingestion and 5 GB of archived data per month, making it a cost-effective option for new users to monitor their systems.

CloudWatch Metrics

Amazon CloudWatch Metrics enables you to collect, visualize, and monitor performance and operational metrics for AWS resources and custom applications. It helps identify trends and issues in real-time. The Free Tier provides 10 custom metrics and 10 alarms per month, offering an efficient way to start monitoring your resources.

AWS X-Ray

Amazon X-Ray provides distributed tracing for your applications, helping you identify bottlenecks and errors in complex environments. It allows you to visualize the entire flow of requests and dependencies. The Free Tier includes 100,000 traces recorded and 1 million traces analyzed per month, enabling new users to explore their applications at no initial cost.

Amazon SQS

Amazon Simple Queue Service (SQS) is a fully managed message queueing service that enables you to decouple and scale distributed system components. It supports both standard and FIFO queues for ordered and non-duplicated messages. The Free Tier offers 1 million requests per month, making it ideal for starting event-driven systems or service decoupling.

Diagrama

@CloudManPro
Copy link
Collaborator Author

Atualização do diagrama

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant