#1 Migration to AWS

Open
opened 11 months ago by code · 3 comments

Proposal to migrate xrg.es to AWS environment using only Free Tier tools.

To force HTTPs I need to use CloudFront and ACM. ACM is free for public certs, but CloudFront has a limit of 12mo of Free Tier. Despite that, the price is very low and I expect to pay less than 0.1€/month

Proposal to migrate xrg.es to AWS environment using only Free Tier tools. To force HTTPs I need to use CloudFront and ACM. ACM is free for public certs, but CloudFront has a limit of 12mo of Free Tier. Despite that, the price is very low and I expect to pay less than 0.1€/month
Sergio Álvarez commented 11 months ago
Owner
Required: https://sergio.am/code/aws-lambda-layer-php
Sergio Álvarez commented 11 months ago
Owner
Guide to create the PHP runtime in AWS Lambda: https://aws.amazon.com/es/blogs/apn/aws-lambda-custom-runtime-for-php-a-practical-example/ AWS Lambda Runtime API: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html
Sergio Álvarez commented 11 months ago
Owner

Some changes versus the actual configuration:

  • Storage: S3.
  • API: API Gateway - Lambda (with PHP Layer).
  • Database: DynamoDB.
  • HTTPs: CludFront (not free, cheap) + ACM

And, maybe, a cron in CloudWatch-Lambda to delete very old keys from DynamoDB.

Some changes versus the actual configuration: - Storage: S3. - API: API Gateway - Lambda (with PHP Layer). - Database: DynamoDB. - HTTPs: CludFront (not free, cheap) + ACM And, maybe, a cron in CloudWatch-Lambda to delete very old keys from DynamoDB.
Sergio Álvarez referenced this issue from a commit 11 months ago
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.