I am launching EMR cluster and while bootstrapping I am assigning a Private IP address to it master node. So this get associated when cluster starts and gets released when cluster gets terminated. How do i guarantee that this IP is always available for my cluster and no other process picks it up even when not in use.
Once I get this Ip, I submit my spark jars to 8998 port of this IP, using Apache livy REST API
So my use case is to expose the IP on master node, so that LIVY APIs can submit job to EMR.
network interfaceand attach it to master node. But you need to configure other services (like yarn, hadoop, etc.) to work with the 2ndary network interface. Once the cluster is terminated your interface will automatically gets detached.