{ "family": "console-sample-app-static", "containerDefinitions": [ { "name": "simple-app", "image": "httpd:2.4", "cpu": 10, "memory": 300, "environment": [], "portMappings": [ { "hostPort": 80, "containerPort": 80 } ], "volumesFrom": [], "links": [], "mountPoints": [ { "sourceVolume": "my-vol", "containerPath": "/usr/local/apache2/htdocs" } ], "essential": true }, { "name": "busybox", "image": "busybox", "cpu": 10, "memory": 200, "entryPoint": [ "sh", "-c" ], "environment": [], "command": [ "/bin/sh -c \"while true; do echo ' Amazon ECS Sample App

Amazon ECS Sample App

Congratulations!

Your application is now running on a container in Amazon ECS.

' > top; /bin/date > date ; echo '
' > bottom; cat top date bottom > /usr/local/apache2/htdocs/index.html ; sleep 1; done\"" ], "portMappings": [], "volumesFrom": [ { "sourceContainer": "simple-app" } ], "links": [], "mountPoints": [], "essential": false } ], "volumes": [ { "name": "my-vol", "host": {} } ] }