Search code examples
amazon-web-servicesamazon-ec2emramazon-emr

How to connect EMR Cluster to EC2 server


I use spark to compute parallelise tasks. In order to do it, my project is connected to a server that produces some data I need to start my spark job.

Now I would like to migrate my project to the cloud on aws.

I got my spark app on EMR and my server on EC2. How can I make my EMR spark app able to use http request on my EC2 server? Do I need something like a gateway?

Thanks,

Have a nice day.


Solution

  • Your EMR cluster actually runs on EC2 servers. You can always ssh to those servers. And then surely you can ssh to another ec2 server from emr ec2 server