I recently launched a website with Next.js and was hosting it on AWS Amplify. Everything worked well until this morning when I hit the free tier limit, and now the costs are adding up fast. I'm looking for cheaper AWS alternatives for hosting my Next.js app that can still deliver the same speed and performance I enjoyed with Amplify. Would it be a good idea to host it on the same EC2 instance as my backend? I need to make the switch today, so any suggestions would be greatly appreciated!
3 Answers
You might want to just buy a VPS. It's often a cost-effective option, and you can have more control over your hosting environment.
I recommend checking out SST. It's much cheaper and provisions resources directly, giving you a similar experience to Amplify without the extra costs.
Have you considered if your app could be a static site? If that's an option, hosting it on S3 with CloudFront could be super cheap for what you get.
It’s not static; it’s more interactive, like Google Drive, and I have to support real-time interactions for several hundred users. I’m also charging some of them, so I can’t compromise on performance.
Sounds promising! I’ll definitely look into SST. Thanks for the suggestion!