I have the following scheme:
Internet <-> elb1external <-> varnish <-> elb2internal <-> targetgroupofwebnodes
But some /static/*
& /media/*
are routed to targetgroupofwebnodes
from elb1external
directly, around varnish
& second ELB, so I need both elb1
& elb2
to point to the same target group of web nodes.
The Amazon web console shows the group as grayed out, when I try to select it from the drop down on the second ELB, but I do see mentioning of that scheme being possible on the web.
As a workaround I've created targetgroupofwebnodes2
with the same servers in it, but I'm required to have only 1 & the next task is autoscaling, so there's going to be an autoscaling group instead of target group.
Must I use the CLI for that or there's a way through the web console?