Help need in cloud computing.

I am looking for help in configuring the listener in cloud computing. When it will restart it is assigning a totally different set of EC2 Private IP id and EC2 public IP id. Every time it is repeated. So it leads to failure to the listener. If anybody knows the solution for this problem, please help me. Thanks in advance.
