1

Hello I am trying to put my django's project to AWS.

I have done the following things the tutorial (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html#python-django-configure-for-eb)

Mi configuration file django.config is:

option_settings:
  aws:elasticbeanstalk:container:python:
    WSGIPath: ebdjango.wsgi:application


container_commands:
  01_postgresql:
    command: sudo yum -y install gcc python-setuptools python-devel postgresql-devel
  02_postgresql:
    command: sudo easy_install psycopg2

I create an enviroment (eb create django-env1). Then it says me the following thing when I do (eb status).

Environment details for: django-env1
  Region: us-west-2
  Deployed Version: app-b7ea-210708_181635
  Environment ID: e-ax2b7ff3bb
  Platform: arn:aws:elasticbeanstalk:us-west-2::platform/Python 2.6 running on 64bit Amazon Linux/2.9.15
  Tier: WebServer-Standard-1.0
  CNAME: django-env1.eba-b3pwjnx2.us-west-2.elasticbeanstalk.com
  Updated: 2021-07-08 16:19:37.455000+00:00
  Status: Ready
  Health: Green
Alert: Your environment is using a retired platform branch. It's no longer supported.

I don't know why because I don't why.

Thank you

5
  • Bad I can't solve my problem. I am trying to update the WSGIPath with eb config but It doesn't work Commented Jul 13, 2021 at 22:42
  • Did you upgrade to new platform as I wrote? Commented Jul 13, 2021 at 22:43
  • My eb health is red Commented Jul 13, 2021 at 22:43
  • Yes, I solved this problem but now I have another one .. Commented Jul 13, 2021 at 22:43
  • If you want to colaborate more stackoverflow.com/questions/68365462/… Commented Jul 13, 2021 at 22:52

1 Answer 1

1

You are using Python 2.6 running on 64bit Amazon Linux/2.9.15 which is no longer supported. You have to use something that is supported, such as

64bit Amazon Linux 2 v3.3.2 running Python 3.8 
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.