From Localhost to Production
summary
Practical, hands‑on roadmap: sets up Node + nginx reverse proxy behind an AWS Elastic Load Balancer, serves static assets from S3 + CloudFront, and uses CloudFormation/Elastic Beanstalk so the entire stack spins up in about 12 minutes; code and configs live on GitHub. Calls out node clusters caveat (OS load distribution can waste cores; single‑core VMs are often safer), demos CDN features like CloudFront edge cache and Lambda@Edge, and reports a real outage where the CDN kept pages live. Also covers MongoDB replicas and load testing.
AI-written summary · about
chapters (15)
- 0:00Start
- 6:24Pagespeed Insights
- 11:11Bridging the Boundaries between Node in Cloud
- 12:23Node Best Performance Practices
- 15:28Node Clusters
- 22:09Nginx as a Reverse Proxy
- 22:53Why We Should Use Nginx
- 24:30What Is a Load Balancer
- 25:45Elastic Beanstalk
- 26:18Install the Elastic Load Balancer
- 29:12Cloud Front Cdn
- 29:41Disruption in Content Delivery Networks
- 30:59What a Content Delivery Network Can Do
- 39:29Do You Think Service Is the Future
- 40:49Using Docker Internally
related talks
24mLets go live
24mmakes your http://localhost:3000 accessible
24mLoad-Balancing Node.js in Production
25mZero to Production with the Serverless Framework
13mLessons learned in production
42mCoding, Deploying, and Scaling with AWS
16mNode.js in the Cloud
41mBuilding & testing Cloud applications locally using LocalStack
