akdev1l / resume

I enjoy writing software more than writing resumes so i turned my resume into software.
https://resume.akdev.xyz
GNU General Public License v3.0
0 stars 0 forks source link

deploy on AWS #8

Open akdev1l opened 2 years ago

akdev1l commented 2 years ago

Deployment ideas:

  1. S3 Bucket - I think the cheapest approach is probably an s3 bucket with http file serving enabled. This is the KISS approach and it is almost infinitely scalable.
  2. Lambda & API Gateway - This mimics an "enterprisey" setup better. We could also comingle this with CloudFlare Functions and try to write polyglot serverless functions. This is pay-as-you-use, Lambda provides 1,000,000 requests/month for free but I am unsure about API Gateway pricing atm.
  3. ECS Cluster - This should be easy to setup with the CDK and a containerized workload - it requires a lot of learning as I am unfamiliar with ECS Task Definitions but the containarization work is trivial. Pricing is entirely unclear - this uses EC2 and S3 as backend.
  4. EKS Cluster - This is probably a little bit more involved with CDK but it will give me a k8s cluster where I'd be able to deploy using standard k8s deployments. Zero knowledge on pricing but I believe this is more expensive than ECS.

End goal:

  1. We should a pipeline in CodePipeline
  2. A Project in CodeDeploy
  3. A Route 53 domain to access the service: https://resume.aws.akdev.xyz
  4. It should costs very little as it is not used a lot.