codestates / codestates/33Plan
[Error] Deploy_CodeDeploy 배포 중 `exit code 255` 에러
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
> 해결된 에러라면 라벨에 'Complete' 를 달아주세요.
> 미해결된 에러라면 라벨을 'In progress' 로 변경해주세요.
### 어떤 에러인가요?
- CodeDeploy 배포 자동화 테스트 중 *“The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems”* 메시지와 함께 배포 실패
- Lifecycle - ApplicationStart 부분에서 실패되어서 `Scripts/start.sh` 쉘 스크립트 파일을 확인했으나 별다른 점을 발견하지 못함
### 에러 메시지
- AWS Console

- EC2 `/opt/codedeploy-agent/deployment-root/deployment-log` 경로에 생성된 로그 파일

### 에러 핸들링 방법
- EC2에서 npm, node 버전 최신화 및 npm 캐시 정리

### 에러 핸들링을 위해 참고한 레퍼런스 링크
[내 블로그](https://ssankq.github.io/posts/EIF-AWSDeploy/)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.