About hosting Kaa on commercial web host company - web-services

I wonder if that is possible to host kaa server on a commercial web hosting company. For example, if I have a web hosted on godaddy called myxyz.io. Can I install kaa server on my host website and collect data from endpoints? I know this is possible to port to AWS, but how about any Linux based servers? Thanks.

Yes it is possible. I installed it on an Ubuntu 16.04 with public IP address. But make sure you do have the necessary ports for Kaa server open on your hosting site, or else communication is blocked.

Related

vmWare vCenter server network migration

So we have a setup of two esxi hypervisors running multiple VMs and we have them controlled by a vCenter server setup as a VM on one of those esxi servers. In the past, when I've had to migrate these to a different network with a different domain name and everything - I just deleted the vCenter server, migrated esxi servers (updating their IP configurations) and connecting them to the new network and then setup a new vCenter server on that network again in one of those esxi servers.
My question is this - is it possible to migrate the vCenter server onto the new network? From my experience, the IP address and domain name of the vCenter setup is so intertwined that you cannot. Please correct me if I'm wrong.
Thanks in advance.

AWS multiple sites, one instance, multiple ports

I have one Wordpress on Apache already deployed on port 80 and configured through Route 53. This is obviously on port 80. Now, I have created a new project in react.js that is listening to different port, port 3000. Both sites are on the same EC2 Ubuntu instance. I would like to attach to the second site (node.js) different domain name and configure this to work, however, I don't know how to do it. Can you please help?
Point the two domains to your EC2 elastic IP(A records).
On apache, configure virtual host which enable you to run two web site on a single machine. see this link: Apache Virtual Host documentation - Apache HTTP Server Version 2.2

How to whitelist Swisscom PaaS domain/api for remote access

I am about to create a small web application which I might deploy to Swisscom PaaS as well.
This should be able to call a Rest API on a remote server.
Remote Server requires all incoming requests to be whitelisted by IP/domain.
Is it enough to whitelist *.scapp.io or myapp.scapp.io when myapp deployed on Swisscom PaaS should be able to access remote API or is it required to use a different domain/IP due to the nature how PaaS is setup and running?
You can find out the source IP of Swisscom Application Cloud Public offering with those commands:
$ cf ssh APP_NAME
$ curl ifconfig.co
194.209.246.112
# example for developer.swisscom.com
This IP doesn't resolve to any domain name. This IP may change / not yet stable. Since the beginning of Application Cloud (more than 3 years the IP didn't change). This is the outgoing IP to whitelist in remote app.
You raised a very good point about stable IP address pool. We consider that and will document the IPs when implemented.

How to setup Nginx on Amazon EC2 (running Ubuntu Lucid) and configure for FastCGI/FastCGI C++?

I am building a C++ API which I want to provide as a web service. I am thinking of using the REST API and have decided to use either FastCGI or FastCGI C++ to communicate between the C++ API and the web server.
This is a very high traffic web service, and I am going to setup an Nginx server to handle the load. Is there a tutorial I can follow to install Nginx on Amazon EC2 (running Ubuntu Lucid) and configure to work with either FastCGI or FastCGI C++?
How about this blog setting up Nginx on Ubuntu Amazon EC2 with PHP-FPM:
http://blog.johnalvero.com/2010/12/canonical-ubuntu-1010-on-amazon-ec2.html

Web services authentication with remote IP

I’m developing a small application that interacts with a web service which authorizes access based on the client IP. When developing on my local machine at home, I am not allow to access the web service, unless I request an authorization for the random IP that i get from my ISP.
My question: Is there an easy way to get around this problem, since I cannot have a fixed IP at home? Proxy, vpn, etc... through a webserver with an authorized IP? How?
Thanks in advance :)
I assume this is your problem: You can only connect to remote_system from Authorized_IP system.
If you can ssh to Authorized_IP from your home PC, you can setup a ssh tunnel that forward connection to port 8080 of Authorized_IP to the port 80 of the remote_system with ssh command. If you run Linux on the Authorized_IP system, it is very simple. Windows is more complex with Cygwin sshd, it is possible.
http://www.google.com/search?q=ssh+tunnel
To answer your question directly: Dynamic DNS. For testing, point your web service at a hostname that your get from a dynamic DNS provider such as http://dyndns.org. Then download a tool that automatically updates your DNS entry with your dynamically assigned IP address.
But more to the point, why can't you just use your localhost (127.0.0.1) as your IP address for developing, debugging, testing?