How I migrate Node.js app to serverless using Lambda & API Gateway & Terraform

Click for: original source

Herve Khg published this hands on guide how he goes about migrating projects to serverless. The guise only focuses on the terraform code for building the infrastructure, not on the app code itself.

His article describes these steps on his journey:

  • List of AWS Resources
  • Building Database and migrate data — RDS MySQL
  • Building S3 which serve as frontend
  • Building CloudFront
  • Building Route53
  • Building API Gateway
  • Building Lambda & Security Group
  • Deploy your Terraform Code
  • Enjoy Your Serverless APP

Each step has example code for terraform provided. Simples!

[Read More]

Tags web-development how-to devops apis aws