AWS Deployment

פריסה ל-Elastic Beanstalk עם Jenkins

גרסה 1.2.0 עודכן: 01/02/2025

סקירה כללית

פרויקט זה מציג פריסה אוטומטית של אפליקציות לסביבת AWS Elastic Beanstalk באמצעות Jenkins Pipeline. המערכת תומכת בפריסה רציפה, ניטור, וניהול תצורה מלא.

תכונות עיקריות

  • פריסה אוטומטית לסביבות שונות
  • ניהול תצורה עם AWS CloudFormation
  • ניטור ביצועים מובנה
  • אינטגרציה עם CI/CD Pipeline

הוראות התקנה


# Clone the repository
git clone https://github.com/devops-israel/aws-deploy

# Install dependencies
npm install

# Configure AWS credentials
aws configure

# Deploy the application
npm run deploy
                    

ארכיטקטורה

AWS Architecture Diagram

רכיבי המערכת:

  • Elastic Beanstalk Environment
  • Auto Scaling Group
  • Elastic Load Balancer
  • RDS Database
  • S3 Storage

Jenkins Pipeline


pipeline {
    agent any
    
    stages {
        stage('Build') {
            steps {
                sh 'npm install'
                sh 'npm run build'
            }
        }
        
        stage('Test') {
            steps {
                sh 'npm run test'
            }
        }
        
        stage('Deploy') {
            steps {
                sh './deploy.sh'
            }
        }
    }
}