[이다솔] sprint8#249
Open
LeeDyol wants to merge 253 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요구사항
기본
Amazon Corretto 17 베이스 이미지 사용 및 Dockerfile 작성
환경 변수 (
PROJECT_NAME,PROJECT_VERSION,JVM_OPTS) 설정 및 80 포트 노출Docker 이미지 빌드 및 'prod' 프로필 컨테이너 실행 테스트
개발 환경용 'docker-compose.yaml' 작성
애플리케이션 및 DB 볼륨 구성, '.env' 활용
AWS S3 버킷 및 IAM 사용자 생성 (.env에 키 정보 분리)
S3BinaryContentStorage구현 및 PresignedUrl 다운로드 리다이렉트 적용application.yaml을 통한 Storage Type (local / s3) 유연한 제어AWS RDS (PostgreSQL) 프리티어 인스턴스 생성 및 초기화
AWS ECR 퍼블릭 레포지토리 생성 및 멀티플랫폼 이미지 푸시
AWS ECS 클러스터, 태스크 정의(EC2), 서비스 생성 및 배포 완료
심화
멀티 스테이지 빌드 적용으로 이미지 경량화 (
local-slim)라이브러리 레이어 캐시를 고려한
Dockerfile최적화CI:
test.yml작성 및 CodeCov 테스트 커버리지 뱃지 README 추가CD:
deploy.yml작성 및 ECR 이미지 자동 빌드 / 푸시주요 변경사항
이미지 컨테이너 화: Dockerfile 멀티 스테이지 빌드 및 Alpine 이미지를 활용하여 컨테이너 이미지 크기 최적화
AWS S3 고도화: AWS S3를 연동하여 정적 파일(BinaryContent)을 클라우드 스토리지에서 안전하게 관리하도록 고도화
AWS를 활용한 배포: RDS(PostgreSQL), ECR, ECS 인프라를 구축하고 애플리케이션을 성공적으로 클라우드에 배포
자동화 CI / CD 파이프라인: GitHub Actions를 활용한 파이프라인을 구축 및 배포 간 포트 충돌(Deadlock) 방지를 위한 대기 로직 추가
EC2 인스턴스 변경: 프리 티어를 적용하기 위해
t2.micro에서t3.micro로 변경JVM 옵션 최적화: 스프링 부트 애플리케이션 구동에 필요한 최소 메모리 확보를 위해 메모리 할당량 증가
스크린샷
RDS
ECR
ECS
VPN
IAM
멘토에게