I'm working on optimizing my Angular website for SEO to ensure it generates proper link previews when shared on social media. Unfortunately, I've found that Amplify doesn't support Angular SSR hosting natively. I'm seeking a cost-effective alternative, similar to Amplify. I've considered using EC2 or ECS for hosting, but those options can get quite pricey, and I keep hearing about EC2. While Amplify was super easy to use — just connect my Bitbucket branch and map the domain — I've heard about using S3 static website hosting with Lambda@Edge to achieve a similar outcome. Has anyone had experience with this or found a different solution? I'm looking for a reliable way to make my applications SEO-friendly, as they're all live now. Thanks!
3 Answers
You might want to check out App Runner; it's another option for hosting your Angular SSR app. It could be a more affordable solution to consider!
Have you considered using Lambda? It might be a viable option for hosting your SSR-based Angular application.
Great idea! But I'm looking for details on how Lambda would work for hosting SSR Angular apps specifically. Do you have any insights?
While SSR is generally supported on Amplify, I'm not sure how it works specifically with Angular. We host Next.js apps with SSR on Amplify without any issues.
True, Next.js is designed to support SSR out of the box, but Angular requires an adapter to make it function properly. That might be the key difference.

Absolutely, App Runner sounds promising! I'm also experimenting with keeping my Amplify hosting while utilizing CloudFront and its functions to rewrite requests to prerender.io for serving SSR pages.