Wonder apps under AWS ELB with sticky sessions, autoscaling EC2 instances.
Wonder apps under AWS ELB with sticky sessions, autoscaling EC2 instances.
- Subject: Wonder apps under AWS ELB with sticky sessions, autoscaling EC2 instances.
- From: Matthew Ness <email@hidden>
- Date: Wed, 13 Jun 2012 08:24:59 +1000
- Importance: Normal
Hello list!
I've been working on a number of wonder applications the last year at my
9-5, all of which we have deployed to AWS in various development and
staging/QA states. For the production environment of the main application,
we are looking at a deployment setup quite similar to this reference
diagram:
http://d36cz9buwru1tt.cloudfront.net/architecturecenter/AWS_ac_ra_web_01.pdf
(from http://aws.amazon.com/architecture/)
It's important to the company to ensure we can run smoothly across
multiple Availability Zones of a Region, so the diagram represents the 3
(+1) tier application setup we are looking for.
We're really happy with the approach we've taken so far, and the
ELB-session-stickiness and autoscaling of the application tiers in each AZ
is something we are currently evaluating.
Ignoring CloudFront and Route 53 for a moment, we're interested in setting
up the ELB with sticky sessions/session affinity, apache on each AZ, and a
number of application VMs on each AZ, each one of course running a number
of WO instances. The persistence tier is absolutely fine and accounted for
in both AZs.
So two quick questions:
1. Has anyone had any experience with ELB and sticky sessions with regards
to WO, WOMonitor, and wotaskd? If so, are there any gotchas or hurdles you
foresee me coming across? Any tips for smooth sailing?
Tied (or apposed really) to this is the concept of distributed session
storage, which we are also considering, so I'm looking forward to your
WOWODC session, Ramsey!
2. Currently we're looking at manual horizontal scaling of the application
tiers in each AZ, but it would be great to design/have a solution for
triggered horizontal EC2 VM scaling with respect to WO. This would
presumably require updating the WOMonitor and wotaskd. Again, any one with
previous experience wanting to warn me off/enthusiastically give me hope?
Any knowledge in this area would be greatly appreciated!
Cheers,
and see you all at WOWODC.
--
Matt
http://logicsquad.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden