CodeGenieApp / serverless-express

Run Express and other Node.js frameworks on AWS Serverless technologies such as Lambda, API Gateway, Lambda@Edge, and more.
https://codegenie.codes
Apache License 2.0
5.18k stars 672 forks source link

Documentation on how to deploy Angular SSR to AWS Lambda #642

Open Jun711 opened 1 year ago

Jun711 commented 1 year ago

I found some Medium articles & stackoverflow discussion on how to deploy Angular SSR to AWS Lambda.

article 1: Deploy Your Serverless Server-side-rendered (SSR) Angular App on AWS Lambda The first article includes a GitHub repo https://github.com/theideasaler/angular-serverless-server-side-rendering

article 2: Getting Started With Serverless Angular Universal on AWS Lambda article 3: Serverless Angular Universal with AWS Lambda

They all use aws-serverless-express and @ng-toolkit/universal. It seems that @ng-toolkit/universal is not longer being maintained.

Can anyone here write an update article on how to deploy Angular SSR to AWS Lambda?

Thank you

margorpi commented 1 week ago

I completely understand your concerns. I prefer not to rely on any third-party code because it feels unnecessary for what should be a straightforward deployment process. Based on my own research, I wrote an article to address this issue. The solution uses only the AWS console, running server.ts and the server with Lambda, and storing the static code in S3.

article 4: Deploying Angular SSR (v17, 18 & 19)Websites on AWS Lambda