It's overwhelming with all the different services and methodologies available, was wondering what people here think the 'best' way to approach this would be.
Ask HN: Transitioning from a single EC2 instance to something more resiliant?
1–3 of 3 posts
Re: Ask HN: Transitioning from a single EC2 instance to something more resiliant?
#21. Move Postgres to either it's own instance or use RDS
2. Move Redis to either it's own instance or use Elasticache
3. Convert your cron jobs to Lambda functions that run on cron timer
4. Move your EC2 instance behind a load balancer and create an autoscaling group
Re: Ask HN: Transitioning from a single EC2 instance to something more resiliant?
#3I'm sure there are a number of ways to do this but here's how I would approach it. 1. Move Postgres to either it's own instance or use RDS 2. Move Redis to either it's own instance or use Elasticache 3. Convert your cron jobs to Lambda functions that run on cron timer 4. Move your EC2 instance behind a load balancer and create an autoscaling group
I second using a managed db even if not on AWS. Also dump your static stuff behind CloudFront or another CDN.
Also consider running in Fargate as once you get past the setup part it does make scaling easier