Re:Ask HN: How do you deploy your side project?
by jcuenod on Friday January 07, 2022 @11:41AM
(#29841284)
How are you deploying your stack? I'm more wondering about deployment than stack (I realize they're related questions, though). Is Python serving your frontend or are you using docker? Are your github actions building and pushing images or are they pushing git commits into a repo mirrored on an EC2 instance? Are you using EC2 or does AWS have some arcane way to deploy python and angular projects?
Re:Ask HN: How do you deploy your side project?
by marcelnita on Friday January 07, 2022 @12:16PM
(#29841739)
If we're talking AWS, then I'd go for AWS Fargate. You can push your Docker image, built via GH actions, to their registry (ECR). From there on you spin up a task definition based on the image and then a new ECS service.
In front of it you can have an ALB for load balancing, but that's optional, although recommended.
Frontend: Angular
Backend: Python
CI/CD: GitHub Actions
Cloud: AWS
DB: Postgres or DynamoDB