I've been evaluating and testing getting Payara to AWS Cloud with clustering. Currently I have a standard Payara 4 server with a single main application.
I tried the approach with Payara 5 server version, I copied hazelcast.xml, hazelcast-aws.jar, etc like in the demo package to the server directory, etc, but got stuck with class loader issues, class not found exceptions, etc. I also read from some bug report that there were some changes related to serialisation in some 4.* version to prevent this type of issues. Then there's Payara 5 with data grid which claims to help with connecting to things such as AWS cloud with no issues, but it's a new feature and I couldn't find good guidelines on how to do this in this type of configuration.
If I want to get something like what Hazelcast AWS Native Discovery plugin provides with Payara, in short term should I investigate more Payara 5 data grids or stick with Payara 4 and go along the lines described in that blog post? In either case, should I rather try Payara Micros instead of Servers? I realize they Micros and Services may have different class loader hierarchies, which may help with finding classes.