[AWS] The deployment failed because no instances were found for your deployment group. Check your deployment group settings to make sure the tags for your Amazon EC2 instances or Auto Scaling groups correctly identify the instances you want to deploy to..

2022. 12. 16. 20:54·💻 개발/DB&서버&네트워크&암호
728x90
반응형

CI/CD 깃허브액션을 구현하던 중 AWS의 code-deploy에서 오류가 발생하였고, 해결 방법을 정리해본다.

 

 

 

The deployment failed because no instances were found for your deployment group. Check your deployment group settings to make sure the tags for your Amazon EC2 instances or Auto Scaling groups correctly identify the instances you want to deploy to, and then try again.

 

 

 

1. 문제 파악


 

문제의 원인은 EC2를 내가 생성한 code-deploy가 찾지 못해서 발생한 원인이다.

해석해보면 인스턴스를 찾을 수 없다는 뜻.

 

 

2. 해결 방법


code-deploy를 내가 타겟 하고자 하는 ec2와 태그로 연결하면 된다.

 

 

1.code-deploy 키-값 설정 

키와 값 부분을 세팅한다. 

 

 

2. ec2 태그 연결

젤 하단의 태그 추가/편집 부분을 누른다.

키 와 값을 code-deploy에서 세팅한 값을 그대로 입력 

 

해결 완료!

 

혹시 더 좋은 방법이 있다면 댓글로 피드백 부탁드리겠습니다! 감사합니다.

 

 

728x90
반응형
저작자표시 비영리 변경금지 (새창열림)

'💻 개발 > DB&서버&네트워크&암호' 카테고리의 다른 글

[CORS] 스프링부트 CORS / 리액트 Proxy가 우리를 힘들게 한다... FEAT. 스프링시큐리티 CORS  (0) 2023.03.26
[AWS] Remove the existing file and try again, or run npm npm ERR! with --force to overwrite files recklessly. 오류 해결하기  (0) 2022.12.24
[AWS] 깃허브 액션 연결 후 codedeploy에서 ScriptMissing / UnknownError오류 해결 방법  (0) 2022.11.14
[파이어베이스]Error: EPERM: operation not permitted, unlink 'D:\Sources\**\node_modules\ 파이어베이스 연동 오류  (0) 2021.04.29
[Firebase] 배포 / deploy 실패, 빌드하는 방법 해결, 빈 화면, 흰 화면  (0) 2021.04.26
'💻 개발/DB&서버&네트워크&암호' 카테고리의 다른 글
  • [CORS] 스프링부트 CORS / 리액트 Proxy가 우리를 힘들게 한다... FEAT. 스프링시큐리티 CORS
  • [AWS] Remove the existing file and try again, or run npm npm ERR! with --force to overwrite files recklessly. 오류 해결하기
  • [AWS] 깃허브 액션 연결 후 codedeploy에서 ScriptMissing / UnknownError오류 해결 방법
  • [파이어베이스]Error: EPERM: operation not permitted, unlink 'D:\Sources\**\node_modules\ 파이어베이스 연동 오류
foodev
foodev
이것저것 개발과 이것저것 리뷰 합니다.
    250x250
  • foodev
    개발 개맛집
    foodev
  • 전체
    오늘
    어제
    • 분류 전체보기 (110)
      • 🌟🙇🏻‍♂️ 꼭 읽어봤으면 하는 글 (4)
      • 💻 개발 (73)
        • 설정 및 세팅 (4)
        • DB&서버&네트워크&암호 (11)
        • React (0)
        • JPA, Querydsl (14)
        • 알고리즘 (7)
        • 언어 (15)
        • 프레임워크 (12)
        • HTML, CSS (10)
      • ✍🏻 (32)
        • 회고록 (14)
        • 독서록 (7)
        • 일지록 (10)
        • 세미나 (1)
      • 💡 리뷰 (1)
        • 제품리뷰 (1)
  • 인기 글

  • 최근 댓글

  • 최근 글

  • 반응형
  • hELLO· Designed By정상우.v4.10.3
foodev
[AWS] The deployment failed because no instances were found for your deployment group. Check your deployment group settings to make sure the tags for your Amazon EC2 instances or Auto Scaling groups correctly identify the instances you want to deploy to..
상단으로

티스토리툴바