Deploying a Cherrypy application to AWS Elastic Beanstalk - ERROR Your WSGIPath refers to a file that does not exist.

EIBUser <[email protected]> Wed, 5 Sep 2018 01:16:39 -0700 (PDT)
Newsgroups gmane.comp.python.cherrypy
Message-ID <[email protected]>
Re: AWS Elastic Beanstalk and deploying a Cherrypy application...
  While AWS has documentation about deploying Flask and Django, there is 
none for Cherrypy.
On an eb create myapp the AWS Elastic Beanstalk console produced the error 
seen below.
Within the documentation for Django 
AWS makes reference to a config file:

option_settings: aws:elasticbeanstalk:container:python: WSGIPath: 
ebdjango/wsgi.py

during these steps:

   1. 
   
   Create a new directory, called .ebextensions:
   
   (eb-virt) ~/ebdjango$ *mkdir .ebextensions*
   
   2. 
   
   Within the .ebextensions directory, add a configuration file 
   <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ebextensions.html>
    named django.config with the following text:
   
   *Example ~/ebdjango/.ebextensions/django.config*
   
   option_settings:  aws:elasticbeanstalk:container:python:    WSGIPath: ebdjango/wsgi.py
   
   This setting, WSGIPath, specifies the location of the WSGI script that 
   Elastic Beanstalk uses to start your application.
   
I'm wondering if there is an analogous concept when configuring Cherrypy 
for deployment...

Error on AWS Elastic Beanstalk console:

2018-09-05 03:52:19 UTC-0400 INFO Environment health has transitioned from 
Pending to Ok. Initialization completed 12 seconds ago and took 2 minutes.
2018-09-05 03:52:08 UTC-0400 INFO Successfully launched environment: 
elliots-cherrypy-env
2018-09-05 03:52:08 UTC-0400 INFO Application available at 
elliots-cherrypy-env.kdwshbrmn3.us-east-1.elasticbeanstalk.com.
2018-09-05 03:51:49 UTC-0400 ERROR Your WSGIPath refers to a file that does 
not exist.
2018-09-05 03:51:40 UTC-0400 INFO Created CloudWatch alarm named: 
awseb-e-k8r8vmukpq-stack-AWSEBCloudwatchAlarmHigh-DT2GDTNGST7K

-- 
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.