Public Repository

Last pushed: 2 years ago
Short Description
Basic python web app to list a predefined dynamoDB table
Full Description

A basic container with the following set up :

mkdir /webpy
cd /webpy
wget https://s3-eu-west-1.amazonaws.com/aws-artifacts/common-crawl/web-server /webserver.py
mkdir templates
wget https://s3-eu-west-1.amazonaws.com/aws-artifacts/common-crawl/web-server /index.html -P ./templates/
wget http://webpy.org/static/web.py-0.37.tar.gz
tar -zxvf web.py-0.37.tar.gz
cd ./web.py-0.37
python setup.py install

Including boto SDK.
The "app" will sort and list entries in a predefined dynamoDB table.

To bootstrap EC2 instance :
(shabang)
docker pull stasov/webpy-common-crawl
docker run -d -p 80:80 stasov/webpy-common-crawl python /webpy/webserver.py 80 &
Tested with : amzn-ami-2015.03.a-amazon-ecs-optimized (ami-af0a6dd8)

Docker Pull Command
Owner
stasov

Comments (0)