VPN with AppHarbor - appharbor

I want to migrate my app from Rackspace to AppHarbor, but my app depends on a database that is only accessible via VPN. Can I set up a vpn connection between our app at AppHarbor and a secured internal database?

You can limit to your database server to the set of IP addresses used by AppHarbor application servers.

Related

Does Heroku provide any VPN client like AWS Client VPN?

I want to host a database in Heroku server and also a django application. The problem is: To transfer data to my Heroku database i would need be connected to a VPN. Does Heroku provides a way to connect to a VPN in order to access another database, like AWS client VPN?
My infra would be like this:
Airflow running DAGs to pull data from a AWS database that requires VPN connection to source from it. I would transfer the data from this AWS database to my heroku database.
Is it possible?
Thank you
Another thing that i'm wondering is if it is possible to connect Heroku to AWS client VPN, in case Heroku does not have something similar or a way to do this step.
Yes Heroku does provides a VPN labelled as Heroku Private Spaces and Shield Spaces.
Here is the link
https://devcenter.heroku.com/articles/private-space-vpn-connection

Why IIS Express is ignoring network route in routing table?

We have a REST API which is working with Azure CosmosDB. This Azure CosmosDB account has enabled firewall, which allowing traffic from xxx.xxx.xxx.xxx IP address(which is our OpenVPN server).
On client/developer's side we have OpenVPN client which is pushing route to xxx.xxx.xxx.xxx CosmosDB via VPN interface. When we build and run this REST API app in Visual Studio via IIS Express, the app is ignoring network route to CosmosDB and even ignoring changes in ..\system32\drivers\etc\hosts file(we have internal VNET ip conigured on that CosmosDB account).
Response status code does not indicate success: Forbidden (403); Substatus: 0; ActivityId: $someActivityId; Reason: (Message: {"Errors":["Request originated from IP yyy.yyy.yyy.yyy through public internet. This is blocked by your Cosmos DB account firewall settings. More info: https://aka.ms/cosmosdb-tsg-forbidden"]}
But if we run same app in IIS Server(in our case its a IIS 10) network route and hosts file change also working fine. Also network routing works when we using Microsoft Azure Storage Explorer or powershell az module. It's not working only when the app is hosted by IIS Express.
Its only working via VPN, if VPN is set as default gateway. In our case we don't want to use VPN as gateway for all traffic.
Does IIS Express has any restrictions which may cause this? Is there any workaround?

IIS hosted Web Application cannot accessible through Internet

I have hosted Flask Web application on Windows Server on AWS, I have done followings
hosted it on IIS and add new bindings(port 8090) to web site
Created inbound rule for the port(8090) given in bindings
And it works fine on the server, but when i'm trying to access it on my PC's web browser says
it cannot reach took too long to respond
What else i need to do ?
In your vm, different provider has their security policy. For aws even you have set inbound port rule, it will not work. You also need to set inbound rules in their potal.
👉(1) Open Windows firewall, Create an Inbound Port Rule.
👉(2) Directly in Amazon Web Service console, exactly in security groups/inbound.

Connecting to server behind VPN with Heroku and Ruby

I'm writing an application in Ruby/RoR that will be hosted on Heroku.
One of its requirements is that it connects to an (Active Directory) authentication server which is behind a Sonicwall VPN.
How can I establish this VPN authentication using Ruby to access this server?
Heroku is just a service built on top of EC2 that manages deployment using a linux env. You don't have root access on on which means you can connect out to any service using any TCP protocol. But you can only listen for HTTP connections. Unfortunately this rules out setting up VPNs and SSH tunnels. You can do this on Amazon EC2.

How do I access my web app from the Internet?

I have deployed and run my app in glassfish v3 on my vps (running on windows web server). How do attach my app to my IP adress? (my domain is at use at the time so I need to access by IP)
I Managed to work it in glassfish app running!

Resources