Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Elastic Beanstalk - Environment must have instance profile associated with it #107

Open
dvyakimov opened this issue Jan 11, 2020 · 2 comments

Comments

@dvyakimov
Copy link

Hi!

You need to add an instance entry in ebs_option.json. Without this, the status of the environment will not turn Green.

Example:
"Namespace": "aws:autoscaling:launchconfiguration",
"OptionName": "IamInstanceProfile",
"Value": "aws-elasticbeanstalk-ec2-instans"

ALVd8

@JosiahOne
Copy link

Can confirm this is definitely necessary.

@joeterlecki
Copy link

joeterlecki commented Sep 23, 2021

the work around is to manually create an EC2 role and add the following to the eb_options.json file
{
"Namespace": "aws:autoscaling:launchconfiguration",
"OptionName": "IamInstanceProfile",
"Value": "arn:aws:iam::<ACCOUNT_ID>:instance-profile/eb-invoicer-role"
}

Not sure why this is an issue now. If you look into others having the issue with EB, it seems to be regional? But not sure.

I can confirm the above works 10/10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants