[AWS] Elastic Beanstalk 에러: failed to create: [AWSEBInstanceLaunchWaitCondition].

2024. 10. 23. 01:06·기타
반응형

Elastic Beanstalk 환경 생성 중 에러

내용은 아래와 같다.

 

 

 

아래 링크에서 해결법을 찾았다.

 

 

https://repost.aws/questions/QUuSGs2tFHQkyoiESiyeHtnA/awsebinstancelaunchwaitcondition-error-on-deploying-java-app-on-elastic-beanstalk

 

AWSEBInstanceLaunchWaitCondition error on deploying Java app on Elastic Beanstalk

Hello, I keep having issues when trying to deploy a simple Java (.war) application to Elastic Beankstalk. Basically, everyime I get these messages on the events tab: > Environment health has transi...

repost.aws

 

 

 

원인과 해결법

애플리케이션이 비공개 서브넷에 배포된 것이 문제였습니다. 다음과 같이 해결했어요:

  1. EC2 > 인스턴스로 이동
  2. 실행 중인 EC2 인스턴스를 선택
  3. Instance summary에서 서브넷 ID를 열어 할당된 서브넷을 확인
  4. 서브넷 테이블이 VPC에서 열림
  5. 서브넷 ID를 클릭
  6. Route table에서 라우트 테이블 ID 선택
  7. 작업(Actions) > 서브넷 연결 편집(Edit subnet associations) 선택
  8. 이름에 rds-pvt 접두사가 없는 서브넷을 선택

이제 0.0.0.0/0로 가는 추가 목적지가 있고, 타겟은 인터넷 게이트웨이로 설정되었습니다. 이 변경을 한 후에는 새로운 Elastic Beanstalk 인스턴스를 오류 없이 몇 분 만에 생성할 수 있었습니다.

 

서브넷 연결 편집

 

 

환경 다시 빌드

 

 

결과

 

 

 

그 밖에 찾아봤던 페이지

https://docs.aws.amazon.com/ko_kr/elasticbeanstalk/latest/dg/troubleshooting-kb.html

https://docs.aws.amazon.com/ko_kr/elasticbeanstalk/latest/dg/vpc.html

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

'기타' 카테고리의 다른 글

AWS Certified Data Engineer – Associate (DEA-C01) 만점 합격 후기  (4) 2025.02.12
[AWS] Elastic Beanstalk 에러: The instance profile aws-elasticbeanstalk-ec2-role associated with the environment does not exist.  (0) 2024.10.22
[AWS] Elastic Beanstalk 에러: The following resource(s) failed to create: [AWSEBAutoScalingLaunchConfiguration].  (1) 2024.10.22
MySQL Workbench | ERROR: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ENGINE = InnoDB' at line 11  (0) 2023.03.08
MantisBT | 첨부파일 최대크기 늘리기  (0) 2023.02.17
'기타' 카테고리의 다른 글
  • AWS Certified Data Engineer – Associate (DEA-C01) 만점 합격 후기
  • [AWS] Elastic Beanstalk 에러: The instance profile aws-elasticbeanstalk-ec2-role associated with the environment does not exist.
  • [AWS] Elastic Beanstalk 에러: The following resource(s) failed to create: [AWSEBAutoScalingLaunchConfiguration].
  • MySQL Workbench | ERROR: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ENGINE = InnoDB' at line 11
이라후
이라후
  • 이라후
    화이팅
    이라후
  • 전체
    오늘
    어제
    • 분류 전체보기 (133)
      • TIL (23)
      • 기타 (26)
      • Python (14)
      • Django (10)
      • JavaScript (8)
      • git & GitHub (8)
      • Web (10)
      • Go (3)
      • wecode (31)
  • 반응형
  • 인기 글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
이라후
[AWS] Elastic Beanstalk 에러: failed to create: [AWSEBInstanceLaunchWaitCondition].
상단으로

티스토리툴바