Skip to content

Reference architecture for deploying Nginx on ECS, both as a basic static resource server, and as a reverse proxy in front of a dynamic application server.

License

Notifications You must be signed in to change notification settings

eniantech/ecs-nginx-reverse-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGINX Reverse Proxy on Amazon EC2 Container Service

Enian Notes:

Used in the ECS Instance described in Weaver repo under the task definition nginx. Any changes to this need to be manually pushed to ECR.

aws ecr get-login-password --region eu-west-1 | docker login --username AWS --password-stdin 562715099132.dkr.ecr.eu-west-1.amazonaws.com

docker build -t kf-reverse-proxy-repo .

docker tag kf-reverse-proxy-repo:latest 562715099132.dkr.ecr.eu-west-1.amazonaws.com/kf-reverse-proxy-repo:latest

docker push 562715099132.dkr.ecr.eu-west-1.amazonaws.com/kf-reverse-proxy-repo:latest

NGINX is a high performance HTTP server and reverse proxy which has achieved significant adoption because of its asynchronous event driven architecture which allows it to serve thousands of concurrent requests with very low memory footprint.

Amazon EC2 Container Service (ECS) is a highly scalable, high performance container management service that supports Docker containers and allows you to easily run applications on a managed cluster of Amazon EC2 instances.

This reference architecture shows how to run NGINX containers on a fleet of instances using ECS. You can deploy Nginx as a basic static HTTP file server. Or you can deploy an Nginx reverse proxy container in front of an application container.

About

Reference architecture for deploying Nginx on ECS, both as a basic static resource server, and as a reverse proxy in front of a dynamic application server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.8%
  • Dockerfile 23.7%
  • HTML 8.5%