BMAD-METHOD/expansion-packs/bmad-java/tasks/aws-cloud-migration.md

2.9 KiB

AWS Cloud Migration Task

Purpose

Migrate an existing Java application to AWS cloud platform. Handles cloud architecture design, infrastructure migration, application modernization, and cloud-native deployment.

When to Use

  • Migrating from on-premise to AWS cloud
  • Modernizing legacy applications for cloud
  • Implementing cloud-native architecture
  • Improving application scalability and reliability

Input Requirements

  • Current infrastructure details
  • Application architecture and dependencies
  • AWS service preferences
  • Security and compliance requirements
  • Performance and scalability requirements
  • Cost optimization requirements

Process Steps

1. Cloud Strategy Planning

  • Analyze current infrastructure and application
  • Design AWS cloud architecture
  • Select appropriate AWS services
  • Plan migration strategy (Lift & Shift, Replatform, Refactor)
  • Assess costs and benefits
  • Plan security and compliance

2. Application Cloud Preparation

  • Implement cloud-native patterns
  • Externalize configuration
  • Implement secrets management
  • Add health checks and metrics
  • Implement distributed logging
  • Update error handling

3. AWS Infrastructure Setup

  • Configure AWS VPC and networking
  • Set up AWS compute services (EC2, ECS, EKS)
  • Configure AWS database services (RDS, Aurora)
  • Set up AWS storage services (S3, EBS)
  • Configure AWS security services (IAM, Security Groups)
  • Set up AWS monitoring services (CloudWatch)

4. Data Migration

  • Plan database migration strategy
  • Set up AWS RDS instances
  • Migrate database schema and data
  • Configure database backups
  • Set up database monitoring
  • Test data migration

5. Application Deployment

  • Deploy application to AWS
  • Configure load balancing
  • Set up auto-scaling
  • Configure health checks
  • Set up monitoring and alerting
  • Test application functionality

6. Security and Compliance

  • Configure AWS IAM roles and policies
  • Set up AWS security services
  • Implement application security
  • Configure network security
  • Set up compliance monitoring
  • Conduct security testing

Output Deliverables

  • AWS cloud architecture
  • Migrated application on AWS
  • AWS infrastructure configuration
  • Security and compliance setup
  • Monitoring and alerting configuration
  • Migration documentation

Success Criteria

  • Application successfully migrated to AWS
  • AWS infrastructure properly configured
  • Application deployed and running
  • Security and compliance requirements met
  • Monitoring and alerting active
  • Performance and cost objectives met

Dependencies

  • AWS account and CLI
  • Application source code
  • Database and data access
  • Security requirements
  • Compliance requirements

Tools and Resources

  • AWS CLI and SDK
  • AWS services (EC2, ECS, EKS, RDS, S3)
  • AWS security services (IAM, Security Groups)
  • AWS monitoring services (CloudWatch)
  • Migration tools and scripts
  • Documentation and best practices