Skip to content

nathanpeck/ecs-service-discovery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Service Discovery for Amazon ECS

This repo has a simple example that shows service discovery for Amazon EC2 Container Service.

Build Services

This is an optional step as images are already available in Docker Hub.

docker-compose build

Run Services

docker-compose up -d

Access service using web application

  1. Using CLI: curl localhost:49160; curl localhost:49161

  2. Using Node web application:

    cd webapp
    npm install
    npm start
  3. Access the following URLs:

    http://localhost:8080
    http://localhost:8080?greet=ho
    http://localhost:8080?id=1
    http://localhost:8080?greet=ho&id=1

About

ECS Service Discovery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%