Cloning AWS instance and local storage?

I created an index with K shards on a single AWS EC2 instance using K
JVMS. I now want to add more AWS EC2 instances to the mix.

If I clone my original AWS EC2 instance AND data and change the
gateway configuration to expect 2*K nodes, and start up K ES servers
on each AWS instance, will
the cloned node use the cloned data or will it discard the cloned data
and copy the cloned data from a primary node when assuming
responsibility for a shard?

I created an index with K shards on a single AWS EC2 instance using K
JVMS. I now want to add more AWS EC2 instances to the mix.

Why are you using K JVMs? Why not one per instance?

change the gateway configuration to expect 2*K nodes

no need to change configuration if you only want to add servers.

will the cloned node use the cloned data

I think it'll use the cloned data, but I'm not sure if its a good idea
(at least flush before copying the instance).

Peter.

K JVMs per AWS EC2 instance is a bad idea.

However, I wanted to test AWS clustering without having to start/stop
multiple instances.

Thx.

On Jan 8, 11:53 pm, Karussell tableyourt...@googlemail.com wrote:

I created an index with K shards on a single AWS EC2 instance using K
JVMS. I now want to add more AWS EC2 instances to the mix.

Why are you using K JVMs? Why not one per instance?

change the gateway configuration to expect 2*K nodes

no need to change configuration if you only want to add servers.

will the cloned node use the cloned data

I think it'll use the cloned data, but I'm not sure if its a good idea
(at least flush before copying the instance).

Peter.