Sharing resources between two independent Openstack cloud setups - openstack

Is there any possibility to share resources from one openstack cloud to another similar one with different resource pools.Thanks in advance.

You can try CloudFerry:Github Link
CloudFerry is a tool for resources and workloads migration between two OpenStack clouds.
Another Tool Stack2Stack: Github Link
stack2stack is a simple python script to aid data migration from one Openstack cloud to another through use of the APIs. It aims to cleanly migrate the data keeping as much in sync as possible, up to the limitations of the Openstack APIs themselves. Currently the script migrates
Keystone Users
Keystone Tenants
Keystone roles
Keystone Tenant Memberships
Glance Images
Networks from nova networking to neutron
Security groups from nova networking to neutron

Related

Airflow stored in the cloud?

I would like to know if I can make the airflow UI accessible to all people who have a user, web page type. For this, I would have to connect it to a server, no? Which server do you recommend for this? I was looking around and some were using Amazon EC2.
If your goal is just making the airflow UI visible to public, there is a lot of solutions, where you can do it even in your local computer (of course it is not a good idea).
Before choosing the cloud provider and the service, you need to think about the requirements:
in your team, do you have the skills and the time to manage the server? if no you need a managed service like GCP cloud composer or AWS MWAA.
which executor yow want to use? KubernetesExecutor? CeleryExecutor on K8S? if yes you need a K8S service and not just a VM.
do you have a huge loading? do you need a HA mode? what about the scalability?
After defining the requirements, you can choose between the options:
Small server with LocalExecutor or CeleryExecutor on a VM -> AWS EC2 with a static IP and Route 53 for DNS name
A scalable server in HA mode on a K8S cluser -> AWS EKS or google GKE
A managed service and focusing only on the development part -> google cloud composer

Publishing hystrix metrics to API

I have a web service running as multiple docker containers. The docker hosts are not under my control. I use hystrix to record metrics. I thought of using Turbine to monitor the metrics. But i do not have access to the real hostnames and ports of my we app instances to give Turbine. So I am thinking of a push model where the individual instances of my web app publishes the metrics to another API on which i can run dadhboard tools. I looked at Servo, but it also does not suite my needs as it publishes to JMX. Can I use custom publisher for this? Are there examples for this use case?

Does the OpenStack Horizon user-interface communicate with OpenStack through the REST API only?

How does OpenStack Horizon communicate with OpenStack? Is it through the OpenStack REST API only? Or is it through function calls?
http://docs.openstack.org/developer/horizon/
OpenStack services can only be visited via REST API IIUC. Horizon can be installed in a dedicate node which isolated with other services.
Even there are some command line tools, but they are provided for cloud administrators and developers (they can only be invoked locally), not for normal users.
It only communicates using RESTful calls, and mostly on HTTP (Non-Secure).

Kubernetes OpenStack integration - /cluster/openstack missing?

Kubernetes supports OpenStack as cloudprovider (/pkg/cloudprovider/providers/openstack).
However, it seems there is no equivalent support for a OpenStack-provider to setup a cluster on an on-prem OpenStack environment via "./cluster/kube-up.sh" (supposed to be located in cluster/$IAAS_NAME).
Is my understanding correct?
If so, would there be any impediments to create such a provider as contribution? (assuming to fulfil the requirements for such provider)
I'm sure the kubernetes project would welcome such a contribution.
The main impediments are dealing with the fact that on-prem setups are more varied than cloud-provider-based setups, and with testing of the code you contribute.

NFV on OpenStack

I am fairly new to the NFV+SDN. I have downloaded the OpenDayLight and OpenStack in one Fedora 20 VM. I have mininet network as underlying physical topology in a separate VM. I want to run services like VPN, L3 routing and NAT, Loadbalancing etc on OpenStack, but I don't have a very clear image on how to start. As far as I have understood I have to run these services on OpenStack nodes (through VM instances) and route the traffic through mininet topology with OpenDayLight as the controller in the middle.
My confusions are:
How to start writing the applications (Firewall, VPN, NAT, etc) on OpenStack?
Do I have to write a code for such services or is it command line configuration?
I came across Neutron API, Is that of any help?
Came across this: http://docs.openstack.org/api/openstack-network/2.0/content/API_extensions.html
I have looked at the other questions regarding writing "Hello World" on OpenStack but could not find anything. I shall be grateful to you for any information that could get me started on this project.
I would suggest you to check OpenBaton.
Nowadays I'm working with it which can be used NFV MANO. In addition it's ETSI compliant and their solutions are easy to implement and configure.
For your confusions- You do NOT need to write code explicitly for Firewall / VPN / LB. You need to configure the Openstack Neutron to allow these services directly. The code is already present. You need to configure them to use them. For NAT there is L3 agent already running in the default setup ( al least via packstack )
Neutron API is of any use??? I assume you are refering to REST API and NOT CLI.
Well everything that you do on Dashboard is actualy represented as a REST API to Neutron Server ( not just Neutron but all the other components of Openstack ). All the components of Openstack ( Neutron, Nova, Glance, Keystone, etc ) interact via REST API with each other and RPC mechanism within each component. All the clicks on the Dashboard are actually thrown as a REST API call to the component servers!

Resources