amazon web services - Running a Docker container on AWS Elastic Beanstalk - Where is my web app? -
- i deployed application docker container aws elastic beanstalk using elastic beanstalk console.
- after finishing deploying web application on aws elastic beanstalk - environment status green.
- i clicked url link on environment dashboard view web application.
it navigates web page have string
congratulations! docker container running in elastic beanstalk on own dedicated environment in aws cloud i read log file, don't see error. here's link: http://dockstalker-env.elasticbeanstalk.com/ web app? miss anything?
dockerfile
from ubuntu:14.04 run apt-get update && apt-get upgrade -y run apt-get install -y git git-core wget zip nodejs npm expose 8080 # startup add start.sh /tmp/ run chmod +x /tmp/start.sh cmd ./tmp/start.sh start.sh
cd /tmp rm -rf docker-node-test; true git clone https://github.com/incrediblemolk/docker-node-test.git cd docker-node-test npm install nodejs app.js dockerrun.aws.json
{ "awsebdockerrunversion": "1", "image": { "name": "ubuntu:14.04" }, "ports": [ { "containerport": "8080" } ] } before hit beanstalk put 3 files .zip file. call aws-test.zip
head aws developer console , select "elastic beanstalk". pick "create new application".
- pick application name.
- environment tier: web server
- predefined configuration: docker
- environment type: load balancing, autoscaling
- on next screen select upload own , find zip created.
- additional resources. next.
- configuration details. next.
- environtment tags. next.
- scroll down , click launch.
"congratulations! ..." page see when choose "sample application" option in application version step:

please double-check version have specified. also, might useful check tutorial: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.deployment.source.html
Comments
Post a Comment