Skip to content

[Liftyfy 프로젝트] 인프라 마이그레이션 Lambda & Stepfunction + Terraform 코드

Notifications You must be signed in to change notification settings

rainhyeon/Liftify_Project_Infra_Migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS 기반 자동 마이그레이션 및 MSA 전환 프로젝트

프로젝트 개요

  • 온프레미스 기반 서비스를 AWS 환경으로 자동 마이그레이션 (3단계: Infra → DB → Application)
  • 고객 상황에 맞는 MSA 구조 전환 방안 제시 및 설계 자동화

아키텍처

50

🛠 기술 스택

image image

👨‍💻 역할

사용한 기술 스택 및 사용 이유

image

1. 인프라 마이그레이션 자동화 시스템 설계

🔹 인프라 마이그레이션 파이프라인

1. Terraform 코드 생성 2. 정적 분석 3. 동적 분석 4. 최종 배포
Terraform 자동 생성 정적 분석 동적 분석 최종 배포
Bedrock 기반 Terraform 코드 자동 생성 파이프라인 개발 TFLint, Terratest 활용 IaC 정적 분석 Terratest 기반 동적 분석 최종 배포 자동화

🔹 상세 기능 설명

Terraform 코드 자동화 온프레미스 명세서 변환 Step Functions 이벤트 오케스트레이션 EventBridge + CodeBuild 상태 추적 tfstate 무결성/잠금 관리
Terraform 코드 자동화 온프레미스 명세서 stepfunctions_graph (3) Step Functions
오케스트레이션 상세
상태 추적

2. 보안

  • 최소 권한 기반 IAM Role 인증 체계 설계
  • Terraform Cloud 환경변수 관리를 통한 AWS Credential 및 DB 민감정보 안전 관리
  • AWS Secret Manager + IAM Role 연계를 통한 GitHub 인증 자동화 파이프라인 구축
보안 아키텍처

📈 성과

  • 전체 이관 소요시간 62% 단축
image
  • Terraform 코드 정확도 98% 향상
  • Jenkins Credential 기반 민감 정보 보호
  • Bedrock 모델별 정확도·요구사항 충실도 분석 → Claude Sonnet 4 최종 선정
image
  • Lambda 권한 오류 진단 및 정책 보완
  • Step Functions + CodeBuild 연계를 위한 TaskToken S3 저장 방식 설계

📽️ 시연 영상

  • Infra 단계
    Infra 단계

  • DB 단계
    DB 단계

  • App 단계
    App 단계

  • Final Report
    Final Report


📂 GitHub Repository


📑 자료

  • PDF 문서 PDF 바로보기

📊 워크 플로우

stepfunction/6. 5steps

stepfunctions_graph (3)

stepfuction/5ReportAndAlarmCompleteInfra.json

stepfunctions_graph (4)

stepfuction/4GetLeastPrivilegeThroughAthena.json

stepfunctions_graph (5)

stepfuction/3 infra-terratest-stepfunction.json

stepfunctions_graph (6)

stepfunction/2infra-tflint-validate-stepfunction.json

stepfunctions_graph (7)

stepfunction/1 infra-terraform-generator-stepfunction.json

stepfunctions_graph (8)

About

[Liftyfy 프로젝트] 인프라 마이그레이션 Lambda & Stepfunction + Terraform 코드

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published