A simple Node.js web application deployed across GCP Cloud Run and Azure App Service with automated CI/CD.
npm install
node app.jsVisit http://localhost:8080
docker build -t helloworld-app .
docker run -p 8080:8080 helloworld-appapp.js- Node.js web applicationpackage.json- DependenciesDockerfile- Container configuration.github/workflows/- CI/CD pipelinegcp/- GCP Cloud Run configsazure/- Azure App Service configsscripts/- Automation scripts
- Push to main branch
- Workflow automatically deploys to both GCP and Azure
GCP:
gcloud run deploy helloworld-app --image gcr.io/PROJECT_ID/helloworld-app --platform managed --region us-central1 --allow-unauthenticated --port 8080Azure:
az webapp create --resource-group helloworld-rg --plan helloworld-asp --name helloworld-app- ✅ Multi-cloud deployment (GCP + Azure)
- ✅ Automated CI/CD with GitHub Actions
- ✅ Docker containerization
- ✅ Security policies (IAM, network rules)
- ✅ Autoscaling configuration
- ✅ Comprehensive monitoring
- Node.js 18+
- Docker
- GCP project with billing enabled
- Azure subscription
- GitHub account
- npm audit checks for vulnerabilities
- Service account credentials via GitHub Secrets
- IAM role-based access control
- Network security groups and firewall rules
- GCP: Cloud Monitoring dashboards
- Azure: Azure Monitor metrics
- GitHub Actions: View logs at https://github.com/Samiksha998/HelloWorld_WebApp/actions
For detailed guides, see:
DEPLOYMENT-GUIDE.md- Step-by-step deploymentARCHITECTURE.md- System designSECURITY-AUTOSCALING.md- Advanced configuration
- GCP Cloud Run: ~$5-20/month (low traffic)
- Azure App Service: ~$10-40/month (low traffic)
For issues or questions, check the troubleshooting section in the detailed guides or review GitHub Actions logs.
MIT