python


Django application deployed in AWS Elastic BeanStalk but cannot access the website


I have deployed a django based web application successfully in AWS Elastic Beanstalk. Health is showing OK. And logs are also fine.
I have allowed SSH, HTTP and HTTPS traffic in inbound rules of Security group.
But still I am not able to access my website using mysite.elasticbeanstalk.com url.
I did ssh and saw that python process is up and running -
[ec2-user#ip-xxx-xx-x-x ~]$ ps -aef | grep python
root 2707 1 0 May13 ? 00:05:00 /usr/bin/python2.7 /opt/aws/bin/cfn-hup
root 2816 1 0 May13 ? 00:00:15 /usr/bin/python2.7 /usr/local/bin/supervisord --nodaemon -c /opt/python/etc/supervisord.conf
netstat -tulpn command is showing some process is listening on port 80 but I don't see any listening entry for port 443.
Here is my .ebextensions/django.config file -
container_commands:
00_collectstatic:
command: "source /opt/python/run/venv/bin/activate && python manage.py collectstatic --noinput"
01_migrate:
command: "source /opt/python/run/venv/bin/activate && python manage.py migrate --noinput"
02_fixture:
command: "source /opt/python/run/venv/bin/activate && python manage.py loaddata site.yaml"
03_oscar_countries:
command: "source /opt/python/run/venv/bin/activate && python manage.py oscar_populate_countries"
test: test ! -f /var/log/my-logs/.semaphore03
99_oscar_countries_populated:
command: "touch /var/log/my-logs/.semaphore03"`
option_settings:
"aws:elasticbeanstalk:application:environment":
DJANGO_SETTINGS_MODULE: "myapp.settings"
"aws:elasticbeanstalk:container:python":
WSGIPath: myapp/wsgi.py
"aws:elasticbeanstalk:container:python:staticfiles":
"/static/": "static/"`
How should I proceed and debug? I am stuck here.

Related Links

no acceptable C compiler found in $PATH on google compute engine
Receive not define error message even known declared global value
Installing pygame with enthought canopy on Mac
Database: Check data type by python using cx_oracle
find the largest palindrome from the product of 3 numbers in python
Google App Engine deferred.defer() error 404
solve an equation containing integrals
How can I convert a SHA256 hash from integer to string and back?
Urllib2 timeot doesn't work
Exception running Python Flask app on AWS Elastic Beanstalk
Finding mean of a values in a dictionary
Searching for a particular string in python
Vectorized implementation of an image convolve function
Using variables from a returned function as arguments in another function
Why use user nobody nogroup in upstart services or daemon services
Grouping a list in python specifically

Categories

HOME
oauth
itext
paramiko
orientation
azureservicebus
snap.svg
eval
structuremap
facebook-javascript-sdk
google-shopping
cortex-a
cs-cart
cosmicmind
cratedb
react-leaflet
typeahead
spring-cloud-config
cairo
aptana
ng-show
styles
kadanes-algorithm
countif
memsql
nmf
metis
kong
bus-error
maximo
mef2
version-numbering
aurelia-binding
svnkit
fractals
hotmail
swiftcharts
body-parser
ios-ui-automation
vsts-package-management
office365connectors
magiczoomplus
jquery-multidatespicker
common.logging
sendgrid-templates
react-native-router-flux
paho
openweathermap
appstore-approval
mouseclick-event
etherpad
instruction-set
tofixed
info
visual-studio-templates
createobject
achievements
console-redirect
freefem++
eml
handlebars.java
android-cursoradapter
data-import
enyo
divide-by-zero
hiera
c++-actor-framework
sysctl
gmaps4rails
and-operator
valence
ssms-addin
help-viewer
svcutil.exe
sanitization
logentries
convex-polygon
stagefright
cbcentralmanager
attachevent
pitch
gjs
isolatedstorage
jpf
querystringparameter
gtk2hs
search-path
squeel
pantheios
delegatecommand
scala-2.8
filetime
graph-layout
revision
winsnmp

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App