Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

NGINX

Nginx (pronounced "engine-x") is an open source reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer, HTTP cache, and a web server (origin server). The nginx project has a strong focus on high concurrency, high performance and low memory usage.

The sources and documentation are distributed under the 2-clause BSD-like license. Learn more: https://nginx.org/en/

Using this Task Definition

This task definition pulls the maintained nginx 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.
  • 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>/nginx.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