We've deployed our AEM environment into AWS and things are working well but we're looking to implement Auto Scaling across our Author, Publisher & Dispatcher instances. We've followed the standard process of creating an AMI of each instance, used those AMI's to create Launch Configurations then created our Auto Scaling Groups. The issue we're having is that when a new instance is provisioned via the Auto Scaling Group, the underlying AEM config file contains the hardcoded Private IP of the original instance in which the AMI was created from. This IP of course conflicts with the newly generated Private IP given to us by AWS when the Auto Scaling instance has spun-up.
Here is an example:
Is there a workaround for this issue? I've followed the Running Adobe Experience Manager on AWS White Paper but it doesn't get into the specific details of how to configure the Auto Scaling Groups.
Thanks for your prompt response. I don't see how this is a very specific use case given that Adobe's Managed Service flavour of AEM runs on AWS. See here...
There was also this article that went into a lot more detail but looks like it has been pulled?
Can I get some insight into how Adobe has configured AEM in AWS?
Don’t work with fixed ip’s in auto scaling groups. Use something like Consul. But there is much more to it than that. There is the issue of configuring your replication agents whenever a new Instance is added and when an instance is removed. You also need a way to copy your repository from live instances to new instances.
Not something to take lightly.
There were some good presentations about this in the last two Adobe Immerse events.