Saltar al contenido

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

0

I used the generic role for creating a new instance, it errored out: The instance profile aws-elasticbeanstalk-ec2-role associated with the environment does not exist.

I added new permissions and even gave it administrator permissions, I'm still getting the same error: The instance profile aws-elasticbeanstalk-ec2-role associated with the environment does not exist.

I know that Beanstalk is more complicated to get going, but this is getting bad.

preguntada hace 4 años10,3 mil visualizaciones

2 Respuestas
0

Hi,

The error looks similar to the following problem reported by another user a few days ago. Can you check if the solution is also useful for you? If not, can you provide us with more information?

EXPERTO

respondido hace 4 años

0

Earlier Elastic Beanstalk used to create a default EC2 instance profile named aws-elasticbeanstalk-ec2-role the first time an AWS account created an environment. However, recent AWS security guidelines don’t allow an AWS service to automatically create roles with trust policies to other AWS services, EC2 in this case. Please check this detailed answer on StackOverflow to fix the issue - https://stackoverflow.com/a/76620598/12326605

respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Contenido relevante