Sign inSign up

edasque/ecs-sample-app-file-generator

By edasque

•Updated over 8 years ago

A basis for a Elastic Container Service tutorial. This specific container is the file-generator.

Image
0

1.3K

edasque/ecs-sample-app-file-generator repository overview

⁠ECS Sample App

A basis for a Elastic Container Service tutorial

  • A container that holds a HTTP server that listens on port 8000 (curl http://hostname:8000) and TCP server that listens on port 9000 (nc hostname 9000)
  • a container that generates random files names which content is the current datetime in a given volume
  • a container that syncs that volume to an S3 bucket

⁠Generating ECS JSON files

Those were converted from docker-compose files using container-tranform⁠ (pip install container-transform).

⁠Docker Hub

⁠TODO

  • ~~Figure out why I can reach the HTTP server (port 8000) but not the TCP one (port 9000) ~~ - it was because it was listening on localhost instead of 0.0.0.0
  • Also, I don't think the cron back-up works on ECS

Tag summary

Content type

Image

Digest

Size

61.1 MB

Last updated

over 8 years ago

docker pull edasque/ecs-sample-app-file-generator