openstack and OVH vRack public ip pool configuration - openstack

We're setting up our own openstack cloud using OVH dedicated sever. We couldn't connect to our openstack instances using public ips. Because OVH allow traffic based on MAC-IP_Address binding match.
We've found this link useful but this is quite outdated.
=> https://dohuyhoang.github.io/openstack/ovh/neutron/2014/07/07/Configure-OpenStack-network-on-OVH.html
We use CentOS 7.7 and the openstack release is centos-release-openstack-stein-1-1.el7.centos.noarch
We have already configure xx.xx.xx.xx/29 public ip pool in neutron.However it doesn't connect from external world.
Anyone has experience in setting up vRack for OpenStack cloud environment ?
Thanks in advance.

If you're using vRack, you'll not need to used the MAC to IP Address static binding. However, you'll be limited in the traffic you can use to Internet (two years ago, the public IP traffic inside a vRack was limited to 300 or 500Mbps for the whole vrack.
To use vRack, you'll need compatible server (check OVH website for compatibility) and setup the secondary network Interface (vRack compatible servers come with at least two network card, one for the management traffic and one for the vRack traffic) and used it with neutron to host your IP pool.
You'll then need to move the IP Pool to your vRack in the OVH Control Panel.

Related

How to connect to Community Edition Databricks Cluster via Outside Public Address / Application

Can someone let me know if its possible to connect or PING a Databricks Cluster via its public ip address?
For example I have issued the command ping --all-ip-addresses and I get the ip address 10.172.226.115.
I would like to be able to PING that ip address(10.172.226.115) from my on-premise PC (or connect to the cluster with an application using the ip address?
Can someone let me know if that is possible?
That public IP is not guaranteed to be your cluster; unless somehow you've installed Databricks into your own cloud provider account, where you fully control the network routes, it would be connecting to Databricks managed infrastructure where the public ip would likely be an API gateway or router that serves traffic for more than one account
Note: just because you can ping Google DNS with outbound traffic doesn't mean inbound traffic from the internet is even allowed through the firewall
connect to the cluster with an application
I'd suggest using other Databricks support channels (i.e their community forum) to see if that's even possible, but I thought you're just supposed to upload and run code within their ecosystem. At least, for the community plans
Specifically, they have a REST API to submit a remote job from your local system, but if you want to be able to send data back to your local machine, I think you'd have to write and download from DBFS or other cloud filesystem

Getting a Static Public IP or any other workaround

I'm developing an integration with an API which requires to whitelist customers based on IP addresses. I can easily get outbound IP from Production environments such as Azure or AWS and get those whitelisted.
How can I configure it for my desktop whose public IP keeps on changing after every few hours?
Getting a fixed IP address for your home computer is dependant on your internet provider. Sometimes they offer fixed IPs for 'Business' customers only or such.
Another solution might be to stand up an OpenVPN instance in your cloud then only whitelist that IP address and your expected partner prod addresses. Then you just connect to your VPN to access your API, you can do this from anywhere as your only dependant on the IP address of the cloud OpenVPN instance.
This solution also scales with your development as you only need to add new OpenVPN users to let other developers work with you and don't need their ever changing IP addresses.
I found an easy solution from NordVPN. It has an option to get a dedicated IP VPN :)

How can I open my local TCP port to public?

I have a TCP Server for a my personal chat, I want to expand my connection beyond my local network and I want to open my port: 28752 to my IP public of pc to enter wherever I want only when my computer is on.
I have seen different solutions for example DMZ to associate my local IP to public IP, but i want to do this without modifying to router's setting I wanted to do it from a program. Is it possible?
It is possible to open up ports. But it depends on the OS in which you are trying to accomplish it. You can use the linux iptables to manipulate the ports opened and closed to any linux machine. IptablesSome examples . The ports should also be opened on the firewall layer outside the VM. eg: It could be AWS access policy, Security group, MAC's security firewall. Your laptop, when connected to the internet, will have a public IP address, you can share that public IP. But these IP address will change when you get connected to a different router. You can use AWS cli commands to assign a static IP address for your machine and expose it publicly. At the least minimum, you would need a public DNS server to expose your IP publicly. Easy way to achieve this is by putting in web server on cloud. Without a domain , you cant expose your IP. Once you have finalized on the domain (eg: AWS Route 53, Ingree IP from K8 etc), you can change/manipulate them from your program. It need not be language specific.

How to Access Openstack on my local machine from External network?

I deployed a private cloud in openstack with the help of packstack, Everything is working fine, I can create new instances, Launch it, use it to install software from internet and delete it, All the set up is running on my Local machine as virtual machine in vmware, I created a router, a public and a private network. I can access Internet from my instance as well as from my main server. Basically everything is working as expected. But I can only access my cloud from the network in which I am using it.
I want to Access my horizon dashboard and my instance from an external network, how can I do this? currently I can only access my cloud from ip as http://10.0.5.2/dashboard but I want to assign a public ip to my cloud.
From the dashboard/horizon " http://10.0.5.2/dashboard " link it means you are using the NAT/NAT network/any other internal network IP for OpenStack setup. So you can't access it outside the VMware VM.
If you need to access the horizon from outside VMware:
Create two interfaces in VM, one with NAT and other with Host-Only networking
Use the NAT IP for internet and Host-Only networking IP as HOST_IP for openstack setup.
Install the openstack and then you will have horizon link as http://Host-only_network_IP/dashboard
Then you can able to access the openstack from outside of VMware VM

VMware private internal network

I have 4 virtual machines, a client using windows 7 and 3 servers, one of which is a core server installation the other two are standard windows servers. I need to give all machines a static IP address from the range 192.168.0.0/24 and make sure they are all on a private internal network called intnet.
Can anyone give me general guidelines on how I would go about doing this?? As in how to actually set up a private internal network for these machines and then assign each VM to this network?? I am assuming that the network is created in the client windows 7 machine and then the servers are added to this network but i can't seem to find basic information on how to go about this on the net.
Any input appreciated.
VMWare already does all this for you.
It creates:
Two internal subnets
a virtual IP address in the first subnet that is bridged to a real NIC of the host.
an IP address for each VM in the second subnet.
routing between the two subnets.
There is a program called 'Manage virtual networks' that does what it says.

Resources