fortran
fortran

Reputation: 76057

Two different ELBs for a single ElasticBeanstalk environment?

I would like to have two ElasticLoadBalancers for an ElasticBeanstalk environment; one internal and another external.

The configuration dashboard does not have any means to add more ELBs (and although I could add one manually, it wouldn't keep up with the instances automatically as they are added or removed by autoscaling and deployment changes), and I'm not sure if I can somehow add it with some CLI or API magic (maybe I can add the extra ELB to the ElasticBeanstalk automatically generated autoscaling group, but I think that might be one of those things that you cannot edit after it has been created).

I know that I could do it with Cloudformation, but it seems overly complicated for such a small thing...

Upvotes: 0

Views: 73

Answers (1)

Rohit Banga
Rohit Banga

Reputation: 18918

Given your usecase I will recommend creating one environment per service. That gives you failure isolation for your environments. You can configure your VPC subnets for each of your environments environments (and hence ELBs) to get external and internal services.

Upvotes: 1

Related Questions