Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29245

Connect between two AWS EC2 Instances to share data from one EC2 instance to other EC2 instance

$
0
0

I have a specific functional requirement where need to accumulate all waiting messages from SQS to my apache camel component and write the business logic among them.

I am using two ec2 instances with single load balancer.

Suppose if I send 100 messages to the queue. Out of 100, x messages are going to instanceA and (100-x) messages are going to instanceB. Hence I am not able to accumulate all 100 messages at single instance.

Is there any way, I can send the SQS messages to a particular EC2 instance only

OR

I can send the messages from one EC2 to other EC2 instance. Note: Both EC2 instances are running on same port.


Viewing all articles
Browse latest Browse all 29245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>