[AWS] elastic beanstalk 배포가 안되는 에러와 해결

2023. 12. 24. 22:28AWS

- 상황

elastic beanstalk을 통해 배포를 할때 환경이 만들어지지 않고 에러가 난다.

 

- 에러

The instance profile aws-elasticbeanstalk-ec2-role associated with the environment does not exist.

 

- 원인

다음과 같이 Exisiting service roles와 EC2 instance profile가 모두 설정이 되어야 하는데 되지 않았기 때문

 

- 해결

다음과 같이 IAM-액세스 관리-역할에서 만들어 주면 된다.

 

Reference


https://stackoverflow.com/questions/30790666/error-with-not-existing-instance-profile-while-trying-to-get-a-django-project-ru

 

Error with not existing instance profile while trying to get a django project running on AWS Beanstalk

I`m trying to deploy a django project to AWS Beanstalk following this tutorial. I executed eb create and after a while I get the error The instance profile aws-elasticbeanstalk-ec2-role associa...

stackoverflow.com