CodeDeploy에 관한 대부분 내용은 /opt/codedeploy-agent/deployment-root에 있다.
cd /opt/codedeploy-agent/deployment-root
drwxr-xr-x 7 root root 101 Mar 18 17:52 6eeb00d9-365e-44e3-b6c4-914a90a50e70
drwxr-xr-x 2 root root 247 Mar 18 17:52 deployment-instructions
drwxr-xr-x 2 root root 46 Mar 18 16:42 deployment-logs
drwxr-xr-x 2 root root 6 Mar 18 17:53 ongoing-deployment
첫 번째 줄
- 최상단의 영문과 대시(-)가 있는 디렉토리명은 CodeDeploy ID이다.
- 해당 디렉터리로 들어가 보면 배포한 단위별로 배포 파일들이 있다.
두 번째 줄
/opt/codedeploy-agent/deployment-root/deployment-logs/codedeploy-agent-deployments.log
- CodeDeploy 로그 파일이다.
- CodeDeploy로 이루어지는 배포 내용 중 표준 입/출력 내용은 모두 여기에 담겨있다.
- 작성한 echo 내용도 모두 표기된다.
'SpringBoot > AWS' 카테고리의 다른 글
무중단 배포를 진행하며 겪은 에러 (0) | 2023.03.19 |
---|---|
무중단 배포 (0) | 2023.03.19 |
Github Actions 배포 자동화 (0) | 2023.03.18 |
스프링 부트에서 작성하는 테스트 코드 (0) | 2023.03.14 |
스프링 부트 시작하기 (0) | 2023.03.14 |