일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 이해와 원리
- springbootproxy
- JDBC connection pool
- JPA값타입
- springboot기본설정
- 데이터베이트h2
- 스프링부트
- JPAproxy
- httppie
- 자바제너릭
- OSIV
- dockercmd
- sql
- 임베디드타입
- Git
- springbootH2
- embededtype
- 에이치투데이터베이스
- javageneric
- JPAmapping
- JPA프록시
- jpqlquery
- jpa
- 스프링부트기본설정
- JPA Hint & Lock
- MySqlType
- spring
- Open EntityManager
- gitinitial
- 제이피큐엘쿼리
Archives
- Today
- Total
빡코
[aws] Elastic Beanstalk: error: Environment must have instance profile asscociated with it. 본문
카테고리 없음
[aws] Elastic Beanstalk: error: Environment must have instance profile asscociated with it.
chris.djang 2023. 5. 17. 17:25에러 메시지
Environment health has transitioned from Ok to Warning. Initialization completed 78 seconds ago and took 90 seconds. Unable to assume role "arn:aws:iam:: 0000000000:role/역할이름". Verify that the role exists and is configured correctly.
Elastic Beanstalk 에서 신규 웹 어플리케이션 생성시, 서비스 액세스 채우지 않거나 또는 적저한 IAM 역할과 권한 정책을 부여하지 않으면 발생한다.
해결 방법
aws IAM (Identity and Access Management) 콘솔에서 신규 역할 생성 및 권한 정책을 부여하고
웹 어플리케이션 생성시 '서비스 액세스 구성'에 추가한다.
역할 생성
권한 정책 추가
aws docs
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts-roles-service.html
aws docs
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-servicerole.html