Today we added AWS CodeDeploy to our stack. The easiest way to deploy our code towards a big Autoscaling group of Amazon EC2 instances. The only problem we found on our way was that when using AWS Elastic Load Balancing (ELB) and AWS CodeDeploy , you can only select one ELB Target Group when creating a deployment. While we actually use 5 towards each Amazon EC2 instance because one deployed Node.js code source actually has the data to server 5 vhosts. Luckily we can let the bash script used in AWS CodeDeploy tell the ELB to stop sending it traffic to all Target groups during the in-place update.
0 views0



