[AWS] CodeDeploy agent 설치중 403 에러 Code deploy installation failed

김설희·2024년 1월 8일
0

AWS

목록 보기
3/7
post-thumbnail

AWS Code deploy agent nstallation failed

CodeDeploy 사용하려면 메인섭에 codedeploy agent를 설치해야하는데
wget https://bucket-name.s3.region-identifier.amazonaws.com/latest/install
이러한 명령어로 설치를 하게 된다.

이때 버킷네임은 무엇일까??

나의 로그파일을 담을 s3 버킷이름일거라고 생각해서 쓴다면 403에러를 만나게 된다

해결법

한국 리전은 아래의 명령어로 메인 섭에 agent를 다운받으면 된다

wget https://aws-codedeploy-ap-northeast-2.s3.ap-northeast-2.amazonaws.com/latest/install


[aws 공식문서 참고]

https://docs.aws.amazon.com/ko_kr/codedeploy/latest/userguide/resource-kit.html#resource-kit-bucket-names


스택오버플로우에서도 위와 동일한 방법을 제시한다

https://stackoverflow.com/questions/44353128/aws-code-deploy-installation-failed

1개의 댓글

comment-user-thumbnail
2024년 2월 27일

감사합니다

답글 달기