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.
How can i fix this issue?
Thanks!
Elastic Beanstalk provides platforms for programming languages (Go, Java, Node. js, PHP, Python, Ruby), application servers (Tomcat, Passenger, Puma), and Docker containers.
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.
AWS Elastic Beanstalk supports Java, . NET, PHP, Node. js, Python, Ruby, Go, and Docker web applications.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With