Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Elastic Beanstalk could not find any platforms

I'm trying to deploy my django app via amazon Elastic BeanStalk(using this tutorial), but getting the following error.

ERROR: Elastic Beanstalk could not find any platforms. Ensure you have the necessary permissions to access Elastic Beanstalk.

enter image description here

How can i fix this issue?

Thanks!

like image 685
Krishna Mohan Avatar asked Dec 02 '14 22:12

Krishna Mohan


People also ask

What platforms does Elastic Beanstalk support?

Elastic Beanstalk provides platforms for programming languages (Go, Java, Node. js, PHP, Python, Ruby), application servers (Tomcat, Passenger, Puma), and Docker containers.

Is Elastic Beanstalk still supported?

Elastic Beanstalk has scheduled some platform versions for retirement, because some of their components are reaching their End of Life (EOL). These platform versions remain available until the published retirement date of their retiring components.

What kind of applications are supported by AWS Elastic Beanstalk?

AWS Elastic Beanstalk supports Java, . NET, PHP, Node. js, Python, Ruby, Go, and Docker web applications.


2 Answers

Problem is, as @helloV said, your user does not have access. Now this was a complete surprise to me because I was using the root (which I really shouldn't) and I ASSUMED it would just have access.

So solution is that you HAVE TO ATTACH a policy as shown in the screenshot below since even the root IAM account does not have this policy.

enter image description here

like image 53
Aliostad Avatar answered Sep 18 '22 07:09

Aliostad


Your IAM account does not have permission to access Elastic Beanstalk. Contact your IAM admin and have the admin grant your account full Elastic Beanstalk permissions.

like image 25
helloV Avatar answered Sep 19 '22 07:09

helloV