Skip to content

Latest commit

 

History

History
 
 

gunicorn

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Gunicorn

Gunicorn is a Python WSGI HTTP Server for UNIX which uses a pre-fork worker model, ported from Ruby's Unicorn project A central master process manages the workers and all requests are handled by worker processes.

The sources are distributed under the MIT License Learn more: https://github.com/benoitc/gunicorn/blob/master/LICENSE

Using this Task Definition

This task definition pulls a sample Gunicorn image from DockerHub.

Steps to Run:

  • Have an active AWS account.
  • Create an Amazon ECS cluster.
  • This task definition is a template that can then be pasted into the AWS console JSON input area or saved to a file and used with the AWS CLI. You can easily replace the existing Docker image in this task definition with your own.
  • Run the task definition as a Task or Service.

ECS CLI Commands

aws ecs register-task-definition --cli-input-json file://<path_to_json_file>/gunicorn.json

More Info

What is a Task Definition?

A task definition is required to run Docker containers in Amazon ECS. Some of the parameters you can specify in a task definition include:

  • Which Docker images to use with the containers in your task.
  • How much CPU and memory to use with each container.
  • The Docker networking mode to use for the containers in your task.

Please see the Amazon ECS Documentation for more information on writing and running Task Definitions.

About Amazon ECS

Amazon EC2 Container Service (Amazon ECS) is a container management service that supports Docker containers and allows you to easily run applications on a managed cluster of Amazon EC2 instances. Amazon ECS eliminates the need for you to install, operate, and scale your own cluster management infrastructure. Learn more here.

Getting Help