AWS, DevOps

Dynamic Port Mapping in ECS with Application Load Balancer

AWS recently launched a new Application Load Balancer (ALB) that supports Dynamic Port Mapping with ECS. It allows you to run two containers of a service on a single server on dynamic ports which ALB automatically detects and reconfigures itself. Amazon EC2 Container Service ECS is a managed container service that allows you to run...

by Tejprakash Sharma
Tag: ecs
24-Jan-2017

AWS, DevOps

Attach IAM Role to an AWS Elastic Container Service Task

If you are hosting some micro websites on the AWS ECS, where every task is a separate application, and each task has running multiple containers on a Cluster. If we have a scenario where we want each of our application should upload its data to a separate AWS S3 bucket, we create a single role giving access to all S3 buckets and attach...

by Tejprakash Sharma
Tag: ecs
30-Jul-2016

AWS, DevOps

Using AWS Lambda Function for AutoScaling of ECS Containers

AWS Lambda is an event-driven compute service using which you can perform actions by executing some set of code on any event. We are using a lambda function to trigger AWS ECS container auto-scaling that is executed on the SNS event. Below is the AWS Lambda code in node.js that will get Cluster Name, Service Name & Operator...

by Tejprakash Sharma
Tag: ecs
30-Jun-2016