Can Bluemix environment be replicated on developer laptops? - ibm-cloud

Can Bluemix environment with Liberty be replicated on developer laptops for offline development? Will I be able to run Bluemix local with Openstack on a quad core i5?

You can run Cloud Foundry in a VM on your laptop using bosh-lite. You could also install the open source Liberty buildpack into this local CF with the buildpack dependencies cached giving you an environment that could work offline.
The Bluemix services will not be available to you though, if you are offline, so the answer really depends on what services you need. You could reasonably set up some kind of local database but many of the services would just be unavailable.

I am not sure what exact your requirement is. IBM Liberty profile can be setup with Eclipse and you can create a server in local to test your java/JEE code. This is very simple, you need to install liberty plugin in Eclipse and create a server. See documentations in IBM web site.

See this url if it helps.. you can integrate BlueMix server to your Ecplise IDE
https://console.ng.bluemix.net/docs/manageapps/eclipsetools/eclipsetools.html

Related

Deploy a Business Network Archive from online playground to IBM Cloud

Since I struggle to install the Hyperledger Fabric and Composer development environments locally on my Windows 10 machine I would like to know if it's possible to deploy a .bna file imported from the online Playground to the IBM Cloud or if I need the entire local installation.
I didn't find recent information about this but it appears that it was not possible on february 2017 but it may have changed.
If you have a IBM bluemix account, you can follow this instruction:
Deploying Hyperledger Composer Business Network to IBM Blockchain Platform Enterprise Plan on IBM Cloud. https://ibm-blockchain.github.io/platform-deployment/
a .bna file can only be deployed on a 'running' hyperledger-composer, may it be local or the online playground.
if you want to us it locally, here are the complete installation steps(with prerequisites).
after that, you can deploy your exported .bna file locally.
If you want to deploy it locally, then you have no option but to do all the above installations!
Hope this helps you!

Why does IBM API Connect run differently in Bluemix than locally?

I just set up my local environment to use IBM API Connect and it gives me "extra options" to make the database. Now i'm using IBM API Connect inside IBM Bluemix and it doesn't have those "extra options" :/ I'd like to use it from IBM Bluemix to start migrating to the cloud, thanks in advance.
(I said this in a comment, but it should be an answer...)
The APIC Designer, which you run locally, helps define your models and connections, you then deploy that to Bluemix. You don't edit it on Bluemix itself.
The Local Developer toolkit gets installed on your computer for modeling and creating the api's through Strongloop or Kitura. After you have created your api's to run and publish them, bluemix publix cloud is used where you get a free developer portal and Node.js runtime environment for running your applications/micro-services.

OS Supporting Bluemix

If I were to setup IBM Bluemix local, what are the operating systems that can support the Bluemix software?
Been trying to look for answers in the internet but always end up frustrated because I can't find any answer. Even Bluemix site did not mention what is the OS requirement in setting up Bluemix.
Bluemix Local is not a software product that you can install in your own operating system. It runs in your environment but it is still a subscription.
The Bluemix Local install is only performed by IBM and it is an automated deployment of many virtual servers. It is also a managed offering, meaning that you don't have access to the operating system on those virtual machines. All the maintenance tasks are executed by IBM through a secure connection and a mechanism called Relay.
I guess you probably saw this link before, but the infrastructure requirements are described here: https://console.ng.bluemix.net/docs/local/index.html#localinfra
I think you may need Bluemix Support team to help you build the Bluemix local environment, Bluemix local is a cloud platform as a service that need to build on your infrastructure as a service.

IBM Eclipse Tools for Bluemix

new to ibm bluemix. Steps to be followed to develop a application on eclipse and to depoy using IBM Eclipse Tools for Bluemix and cloud foundry as well.
You could find all information you may need for your question in the Bluemix Documentation
https://console.ng.bluemix.net/docs/
On the following URL you could find a "Step by step" guide using Bluemix tool:
https://console.ng.bluemix.net/docs/manageapps/eclipsetools/eclipsetools.html
Instead on the following URL you could find a "Step by step" guide using CF push for a Java app on liberty runtime: https://console.ng.bluemix.net/docs/starters/liberty/index.html#liberty
First of all you can follow the instructions here for installing the IBM Eclipse Tools for Bluemix https://marketplace.eclipse.org/content/ibm-eclipse-tools-bluemix
Secondly, you can follow this tutorial to know how to push an application to Bluemix using the tooling. https://www.ibm.com/developerworks/community/blogs/941f1004-4e3d-4a4b-87ed-30d8045fde4e/resource/IBM%20Bluemix%20Tutorial%20-%20Connecting%20Eclipse%20to%20Bluemix%20v2.0_files/IBMBluemixTutorial-ConnectingEclipsetoBluemixv2.0.pdf?lang=en
There might be some UI differences in the IBM Eclipse Tools for Bluemix tools that you will install from the first link vs what is shown in the second link. These differences are however just cosmetic (like using terms IBM bluemix vs Cloud foundry while defining a server). Overall the functionality remains the same.
Also apart from the use-case described in the tutorial (second link), you can also create new projects (web projects) in eclipse and push them to Bluemix.
In order to test your projects locally, you would need to install local WAS liberty profile (in case of JavaEE projects) or local node js (in case of nodejs apps). You can do all the testing locally on the local servers and once you're confident about your development, you can push the projects to Bluemix.
Thanks,
Gaurav
Though this is a very old thread but this will be helpful for future references. One can setup the Bluemix server in an IDE like eclipse by straight forward adding a new server and can push the application directly. However a more user friendly approach is to deploy it from cf commandline. You can deploy the application independently or even package it with the local server. You even have the options to provide inputs like hostname in the commandline. Please go through the Bluemix docs for detailed specifications.

How do we deploy a Worklight server in IBM Bluemix platform?

Can we deploy Worklight server in IBM Bluemix platform?
Is that supported currently in Bluemix?
How can I deploy a Worklight application in Bluemix environment?
Worklight is available in Container in Bluemix with name Mobile First Bluemix Container.
This is Beta and very soon it will be come GA.
You can host your Hybrid Apps and Adapters on this.
I see this question is from 8 months ago, currently you are able to run worklight inside a Bluemix container.
You do not have to install the platform, it is all done atumatically.
AFAIK, It is not possible to use the current release of Worklight ("on prem") and use it in Bluemix ("on cloud").
In the coming weeks Worklight will/should/may be available as a mobile service in Bluemix.
You will need to wait a little bit longer.
Update01:
As others mentioning below, now you are able to run worklight inside a Bluemix container. You do not have to install the platform, it is all done automatically.
More info on Bluemix container here.
This is not currently supported at this time. You can take a look at this thread for some more details:
https://developer.ibm.com/answers/questions/10180/worklight-app-to-be-deployed-in-bluemix/
worklight is not supported on Bluemix PAAS currently,however in future it may be included.
https://developer.ibm.com/answers/questions/10180/worklight-app-to-be-deployed-in-bluemix.html
There is no buildpack for Worklight Server so you cannot currently run a Worklight server application on BlueMix.
Buildpack is still not for Worklight server so you cannot run a Worklight server application on BlueMix. However you can run your .war file created in WorkLight studio in liberty of java buildpack on BlueMix.
for more details please follow below link:
https://developer.ibm.com/answers/questions/10180/worklight-app-to-be-deployed-in-bluemix.html