update ec2 to support multi-node