aws-elastic-beanstalk-cli-setup icon indicating copy to clipboard operation
aws-elastic-beanstalk-cli-setup copied to clipboard

does elastic bean stalk work with Django==3.0.5

Open arunjose696 opened this issue 4 years ago • 13 comments

I am following the below tutorial

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html#python-django-deploy

I am able to deploy django app for version django==2.1.1 as in the doc. However when I try to deploy django application with django version(Django==3.0.5) I am gettig an internal server error. I could see in the document it was mentioned "The latest compatible version is Django 2.1" but could read in other github articles that latest versions of django like django 3 are supported by elastic bean stalk. Could anyone please help me with steps to deploy a an application with Django==3.0.5 using elastic beanstalk

arunjose696 avatar Apr 14 '20 11:04 arunjose696

Hi Everyone,

If anybody else is facing this issue, I found a possible implementation in the below blog:

django-3_ AWS

I was not able to try this out as I am busy with some work. Would appreciate if anybody could try ou and vouch for it

arunjose696 avatar May 28 '20 18:05 arunjose696

You can not use django 3.0 with elastic bean stalk

punisher21maximum avatar May 31 '20 14:05 punisher21maximum

hey @punisher21maximum ,

have you tried out the blog post??

arunjose696 avatar Jun 02 '20 11:06 arunjose696

You can not use django 3.0 with elastic bean stalk

This is categorically wrong.

jasonhoward64 avatar Feb 12 '21 03:02 jasonhoward64

You can not use django 3.0 with elastic bean stalk

This is categorically wrong.

No, You can't I have tried this and they don't support anything after Django 2.2.

chiragchamoli avatar May 25 '21 08:05 chiragchamoli

You can not use django 3.0 with elastic bean stalk

This is categorically wrong.

No, You can't I have tried this and they don't support anything after Django 2.2.

I spoke to someone at aws via phone. Their documentation is out of date. He told me the same thing (that django 3.0 doesn't work on EB). He went quiet went I showed him a deployment on EB that was django 3.0+ and then admitted that their docs can be out of date.

In summary, I'm currently running django 3+ on aws eb with 0 issues.

jasonhoward64 avatar May 25 '21 08:05 jasonhoward64

You can not use django 3.0 with elastic bean stalk

This is categorically wrong.

No, You can't I have tried this and they don't support anything after Django 2.2.

I spoke to someone at aws via phone. Their documentation is out of date. He told me the same thing (that django 3.0 doesn't work on EB). He went quiet went I showed him a deployment on EB that was django 3.0+ and then admitted that their docs can be out of date.

In summary, I'm currently running django 3+ on aws eb with 0 issues.

Will try man.

chiragchamoli avatar May 26 '21 12:05 chiragchamoli

It does not work if you rely on any GIS features: https://github.com/aws/elastic-beanstalk-roadmap/issues/28

theamanbhargava avatar Jul 04 '21 04:07 theamanbhargava

I have not been able to get anything past Django 2.2 running on EB. Even then, getting GIS features running on EB is a nightmare. For some reason the open issues around full Django support have been closed for no reason.

ScottHull avatar Jul 28 '21 15:07 ScottHull

Not sure what module you're using for GIS, but it must be the reason for the failure.

Vanilla django 3.0 works perfect with eb / aws.

What error are you getting?

On Wed., Jul. 28, 2021, 9:04 a.m. Scott Hull, @.***> wrote:

I have not been able to get anything past Django 2.2 running on EB. Even then, getting GIS features running on EB is a nightmare. For some reason the open issues around full Django support have been closed for no reason.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/aws/aws-elastic-beanstalk-cli-setup/issues/77#issuecomment-888385174, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIQDVTNUGNMDPLZWZ73VR53T2AL6JANCNFSM4MHVIIKQ .

jasonhoward64 avatar Aug 02 '21 02:08 jasonhoward64

You can not use django 3.0 with elastic bean stalk

This is categorically wrong.

No, You can't I have tried this and they don't support anything after Django 2.2.

I spoke to someone at aws via phone. Their documentation is out of date. He told me the same thing (that django 3.0 doesn't work on EB). He went quiet went I showed him a deployment on EB that was django 3.0+ and then admitted that their docs can be out of date.

In summary, I'm currently running django 3+ on aws eb with 0 issues.

Could u post a light guide on how to do it? Also if u have any insights about GIS deploy it would all be greatly appreciated, thanks!

3rickDomQ avatar Aug 04 '21 18:08 3rickDomQ

Not sure what GIS. My suggestion would be to try deploying a django project without GIS. Just something simple. Get it running and then start adding and see what breaks. Your dependencies might work locally but the might not work with the dependencies that EB installs. Maybe it doesn't like your versions for example.

If you have troubles deploying a vanilla django project to EB, send me a note and I'll help.

On Wed., Aug. 4, 2021, 12:47 p.m. 3rickDomQ, @.***> wrote:

You can not use django 3.0 with elastic bean stalk

This is categorically wrong.

No, You can't I have tried this and they don't support anything after Django 2.2.

I spoke to someone at aws via phone. Their documentation is out of date. He told me the same thing (that django 3.0 doesn't work on EB). He went quiet went I showed him a deployment on EB that was django 3.0+ and then admitted that their docs can be out of date.

In summary, I'm currently running django 3+ on aws eb with 0 issues.

Could u post a light guide on how to do it? Also if u have any insights about GIS deploy it would all be greatly appreciated, thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/aws/aws-elastic-beanstalk-cli-setup/issues/77#issuecomment-892889369, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIQDVTPAE7TU5Y2UVM627HDT3GDNHANCNFSM4MHVIIKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

jasonhoward64 avatar Aug 04 '21 23:08 jasonhoward64

@ScottHull @3rickDomQ How did you manage to deploy Django + GIS libs on ElasticBeanstalk ?

siddharth-kt avatar Sep 11 '22 09:09 siddharth-kt