[7주차] 박소윤/ [deploy] Docker 기반 EC2 배포 #132
Open
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.
1. 무슨 이유로 코드를 변경했나요?
blog 프로젝트를 Docker기반으로 EC2 배포를 진행했습니다
2. 어떤 위험이나 장애를 발견했나요?
dockerfile에 openjdk:17-jdk 그대로 작성하니 오류가 발생해 FROM amazoncorretto:17 를 사용했습니다
3. 관련 스크린샷을 첨부해주세요.
4. 완료 사항
1.Dockerfile 작성 (Java 17 / Amazon Corretto 기반)
2.Docker 이미지 빌드 및 Docker Hub 업로드 (Push)
3.AWS EC2 인스턴스 생성 및 보안 그룹 설정 (8080 포트)
4.EC2 내 Docker 환경 구축 (Docker 설치 및 권한 설정)
5.Docker 컨테이너 배포 (Pull & Run) 및 실행 상태 확인
5. 추가 사항
t2.micro 사용 불가로 t3.micro사용 후 인스턴스 삭제했습니다.
closed #131