Complete AWS setup and GitHub Actions deployment workflow CI/CD
Set up secure AWS infrastructure with VPC, subnets, and EC2 instances for deployment.
management_app
(example name)10.0.0.0/16
public
(example name)management_app
)10.0.1.0/24
private
(example name)management_app
)10.0.2.0/24
management_app
(example name)management_app_public
(example name)0.0.0.0/0
asef
(example name)0.0.0.0/0
database-server
(example name)t2.micro
app-server
(example name)t2.small
Your repository already has these secrets configured:
Navigate to: Repository → Settings → Secrets and variables → Actions
Automatically deploys when code is pushed to the main
branch.
Deploy manually from GitHub Actions interface.
npm ci
main
EC2_SSH_KEY
secret format is correctEC2_HOST
Manual SSL Certificate Installation:
Prerequisites for SSL to work:
your-domain.com → your-server-ip
https://your-domain.com