Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Android tablet to virtual instance connection

Hi all,

I'm working on an expiremental project using Android and OpenStack. For now we have 3 servers running Ubuntu Server 14.04 and OpenStack Icehouse, one is the controller node, one the network node and the last one the compute node.

The aim of the project is to create a kind of cloud gaming platform for Android users. Until now we managed to have the server / client software running. Suppose an Android tablet owner is at home behind his router and my server public ip is 200.20.20.20. When the user click on the app button on his Android tablet, a socket connection will be created and the tablet will connect to the server at the server ip and port 12345. The server is running the game and sending back the images through the socket. That works.

Now we want to scale the service. So instead of having one physical server, we would like to have instances on an OpenStack cloud. We managed to install the cloud following the OpenStack documentation for Ubuntu and we created 3 instances VM1, VM2, VM3 with private ip 192.168.1.11, 192.168.1.12, 192.168.1.13 so that up to 3 clients can play at the same time with their tablets.

The problem is that we don't have 3 public IPs but just one. How could we solve our problem? What we would like to do is the following: - We have a webservice on IP 200.20.20.20 - We have an OpenStack Neutron router on IP 200.20.20.21 When the tablet launches the app, it connects to the webservice. The webservice tells the controller node to start a virtual instance (let's say VM2). The webservice tells the tablet that it should connect to VM2(with address 192.168.1.12) behind the router at public address 200.20.20.21.

Thanks for your help! JB

Android tablet WAN device to virtual instance connectionon private network

Hi all,

I'm working on an expiremental project using Android and OpenStack. For now we have 3 servers running Ubuntu Server 14.04 and OpenStack Icehouse, one is the controller node, one the network node and the last one the compute node.

The aim of the project is to create a kind of cloud gaming platform for Android users. Until now we managed to have the server / client software running. Suppose an Android tablet owner is at home behind his router and my server public ip is 200.20.20.20. When the user click on the app button on his Android tablet, a socket connection will be created and the tablet will connect to the server at the server ip and port 12345. The server is running the game and sending back the images through the socket. That works.

Now we want to scale the service. So instead of having one physical server, we would like to have instances on an OpenStack cloud. We managed to install the cloud following the OpenStack documentation for Ubuntu and we created 3 instances VM1, VM2, VM3 with private ip 192.168.1.11, 192.168.1.12, 192.168.1.13 so that up to 3 clients can play at the same time with their tablets.

The problem is that we don't have 3 public IPs but just one. How could we solve our problem? What we would like to do is the following: - We have a webservice on IP 200.20.20.20 - We have an OpenStack Neutron router on IP 200.20.20.21 When the tablet launches the app, it connects to the webservice. The webservice tells the controller node to start a virtual instance (let's say VM2). The webservice tells the tablet that it should connect to VM2(with address 192.168.1.12) behind the router at public address 200.20.20.21.

Thanks for your help! JB

WAN device to virtual instance on private network

Hi all,

I'm working on an expiremental project using Android and OpenStack. For now we have 3 servers running Ubuntu Server 14.04 and OpenStack Icehouse, one is the controller node, one the network node and the last one the compute node.

The aim of the project is to create a kind of cloud gaming platform for Android users. Until now we managed to have the server / client software running. Suppose an Android tablet owner is at home behind his router and my server public ip is 200.20.20.20. When the user click on the app button on his Android tablet, a socket connection will be created and the tablet will connect to the server at the server ip and port 12345. The server is running the game and sending back the images through the socket. That works.

Now we want to scale the service. So instead of having one physical server, we would like to have instances on an OpenStack cloud. We managed to install the cloud following the OpenStack documentation for Ubuntu and we created 3 instances VM1, VM2, VM3 with private ip 192.168.1.11, 192.168.1.12, 192.168.1.13 so that up to 3 clients can play at the same time with their tablets.

The problem is that we don't have 3 public IPs but just one. How could we solve our problem? What we would like to do is the following: - We have a webservice on IP 200.20.20.20 - We have an OpenStack Neutron router on IP 200.20.20.21 When the tablet launches the app, it connects to the webservice. The webservice tells the controller node to start a virtual instance (let's say VM2). The webservice tells the tablet that it should connect to VM2(with address 192.168.1.12) behind the router at public address 200.20.20.21.

Thanks for your help! JB