aws-ec2-deploy

Deploys Node.js/Express/Prisma/MySQL backends to AWS EC2 with phase-driven guidance.

Updated Jul 16, 2025
One-click install
npx skills add https://github.com/WebStride/CerenMobile --skill aws-ec2-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-ec2-deploy
Source: https://github.com/WebStride/CerenMobile/tree/main/.github/skills/aws-ec2-deploy
Command: npx skills add https://github.com/WebStride/CerenMobile --skill aws-ec2-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Deploying a scalable Node.js/Express/Prisma/MySQL backend to AWS EC2 across staging and production can be error-prone and time-consuming.

Core Features & Use Cases

  • Phase-based deployment guidance for IAM, SSH, EC2, bootstrap, domain/Nginx/SSL, PM2, and GitHub Actions CI/CD.
  • Migration and go-live playbook for moving from Render to EC2 with zero-downtime cutover.
  • Reusable templates and references for bootstrap scripts, Nginx/SSL, PM2 ecosystem, and deployment workflows.

Quick Start

Launch two EC2 instances and complete the bootstrap, Nginx/SSL, and PM2 setup to run a staging and production backend.

Frequently Asked Questions about aws-ec2-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Node.js Express Prisma backend to AWS EC2 with GitHub Actions CI/CD?

AWS EC2 deployment of a Node.js backend uses phase-driven guidance across IAM, SSH, EC2 provisioning, Nginx/SSL, PM2, and GitHub Actions to establish reproducible staging and production environments.

What is the best way to migrate from Render to AWS EC2 with zero downtime?

Migrating from Render to AWS EC2 involves a migration and go-live playbook enforcing safe cutovers, utilizing reusable templates for bootstrap scripts and PM2 ecosystem configurations to ensure zero-downtime.

Do I need Nginx and Certbot to host a Node.js app on EC2?

Hosting a Node.js app on EC2 requires Nginx and Certbot to configure the domain, manage reverse proxying, and provision SSL certificates during the server bootstrap phase.

How do I set up staging and production environments for a MySQL backend on AWS EC2?

Setting up staging and production environments for a MySQL backend on EC2 requires launching two instances, completing bootstrap setup, and configuring Nginx, SSL, and PM2 for process management.

Can I use GitHub Actions to automate Node.js deployment to EC2 across multiple environments?

Automating Node.js deployment to EC2 across multiple environments uses GitHub Actions CI/CD workflows to enforce an end-to-end deployment process including database migrations and safe go-live cutovers.

What are the limitations of manual EC2 deployment compared to an automated CI/CD workflow?

Manual EC2 deployment risks errors and downtime, whereas an automated CI/CD workflow using GitHub Actions, PM2, and Nginx ensures reproducibility, safe cutovers, and phase-driven migration steps.