ecs-expose-port
v1.0.1
Published
Expose AWS ECS container port locally via SSH
Downloads
4
Readme
ecs-expose-port
Auto naming of objects for easier debugging.
npm install ecs-expose-port
Usage
const ecsExposePort = require('ecs-expose-port')
const { connection, port } = await ecsExposePort({
service: 'service_name',
username: 'ec2-user',
containerPort: 80
})
// Do something with port
// E.g. curl http://localhost:{port}
await connection.shutdown()
License
MIT