Skip to content

Reference implementation on AWS

Every AWS service Files uses in Sypnia Cloud, and how.

Applies to EngineCloud
View as Markdown
Figure. Sypnia Files on AWS: the API function, the content CDN with the transform function, S3, and the scanning pipeline.
Read this diagram as text

The API runs as a Lambda function behind CloudFront at the project’s files address. Objects are in S3 under the project’s prefix, encrypted with the project’s KMS key. The content host is a second CloudFront distribution in front of S3 and of a transform function. GuardDuty Malware Protection scans new objects in scanning buckets and reports through EventBridge, which updates the object’s status.

ServiceUsed for
CloudFront (API)<ref>.files.sypnia.com, TLS, routing to the engine
AWS Lambdathe engine (API, tus, S3 gateway, MCP) and the image transform function
CloudFront (content)<ref>.files.sypnia.app, cache, signed URL checks at the edge
Amazon S3objects, under <project>/…, SSE-KMS with the project’s key, versioning for 7 days
Amazon GuardDuty Malware Protection for S3scanning objects in buckets with scan: on
Amazon EventBridgescan results → the engine updates scan_status
AWS KMSone key per project
Amazon RDS for PostgreSQLsypnia_files in the project’s database
CloudWatchlogs and metrics

    Search pages, sections and terms