bluemix , For the Bluemix Secure Gateway service, how does the data center's network need to be configured?

For the Bluemix Secure Gateway service, how does the data center's network need to be configured?


Tag: bluemix

I am going to use Secure Gateway service in Bluemix and I have some questions about how I should make it work.

  1. Systems in my data center's intranet access the Internet through a proxy (with no authentication). Can Secure Gateway connect to Bluemix via a proxy?
  2. Does it connect to Bluemix via HTTPS protocol?
  3. The network admins asked me: What are the IPs (or the IP range) of Bluemix, any idea?

Thank you very much.


A Secure Gateway instance runs in two parts, as shown in "Reaching enterprise backend with Bluemix Secure Gateway via console": the gateway and the gateway client. The gateway runs in Bluemix, the gateway client runs in the data center containing one or more systems of record to connect to. The gateway client needs network access to the Bluemix data center (typically via the Internet) and to the systems of record (via the data center's internal network). The gateway client initiates the connection, so it needs to know Bluemix's address, but Bluemix doesn't need to know the gateway client's address.

To answer your questions specifically:

  1. A proxy isn't supported. The gateway and its client need direct access to each other.
  2. The connection uses HTTPS for SSL encryption. The transport level security (TLS) options can be used to add authentication.
  3. Bluemix's IP addresses aren't published.


How can I preserve execute bits for files during 'cf push' for Node apps?

I need to push a node application that will be executing a bash script and the script file needs to have the execute bit set. Can the cf command line utility allow me to set execute permission? If it doesn't, can I do something during the staging cycle of my...

Simple node.js app deployed to Bluemix seems to be leaking memory

I am learning node.js, and have a fairly simple application which seems to be leaking memory when deployed to Bluemix. I need assistance in determining if this is caused by my code, or a module I am using. When deployed with the Monitoring and Cloudant services it would crash with...

Liberty Java Runtime - Websphere release change management

The documentation is very clear on how to manage different versions of JRE but do you know how Bluemix manage the change of websphere release? To be concrete, if I launch today my java application on the current websphere 8.5, can I be confident that, if websphere is upgraded to...

Using Twitter node in Node-RED in Bluemix

I am a beginner in using Node-RED in Bluemix. I am trying to analyse the tweets along with sentiment analysis using sentiment node. Do we have an option to pass the tweet search keyword as a parameter? Also can we control (start/stop) the flow based on tweet count (for example...

How to retrieve api key for IBM containers after first usage

the api key, used in 'ice login -k xxx', was shown when I started to use IBM containers beta. After that, where can I retrieve my api key in case I forgot it?

Uploading files to a bluemix app and pointing to them from configuration files

I am trying to upload files to my bluemix app and I am having problems using and understanding the file system. After I have succesfully uploaded files I want to give their path on my configuration files. Specifically, I want to upload a jar file to the server and later...

Connecting a Java application to an SQL database in IBM Bluemix

I have created a Bluemix app that has a small SQL Database. I want to access the database from my site with API calls. I am new to Java so I used the starter code provided in the Liberty for Java runtime and followed the "tutorial" linked in the Bluemix...

Beginner: Bluemix programming languages for analysis of IoT data

I am a h/w engineer interested in using Bluemix for an IOT application. Other than C, I do not know any programming language but I am willing to learn whatever necessary. My application is as follows: My sensor nodes would upload data to an existing h/w server that has the...

CF CLI features that are enabled in Bluemix

There are a lot of cloud foundry features provided by CF CLI, that Bluemix platform has decided to disallow. CF_STAGING_TIMEOUT - Does not have any effect on Bluemix while uploading big war files. cf set quotas - Does not work on Bluemix. Delete organizations - Bluemix documentation says has to...

Use of container docker as a proxy for CF app to get public IP

I need a public IP for my application: is it a proper solution to use docker container as a proxy? I can see the price increasing quite a lot with all traffic going through proxy to reach the application. Is there any other option recommended?

Bluemix Secure Gateway service, how to perform /v1/sgconfig GET call

The REST API for Secure Gateway has a GET operation located at /v1/sgconfig. It has a single, mandatory parameter: Authorization. What should the value of this parameter be and where is that value located? The VCAP_SERVICES environment variables for Secure Gateway only contain org_id and space_id. The Bluemix Secure Gateway...

How to gain authorization to perform requested action, specifically create an instance of a service in Bluemix?

I am following the Developing Watson Applications with BlueMix tutorial but for some reason when attempting to create an instance via cf create-service DataCache free DataCacheInst I get the following error: FAILED Server error, status code: 403, error code: 10003, message: You are not authorized to perform the requested action...

How can I execute a program (C/C++) after uploading it to Bluemix?

I've written a number of C/C++ programs in my local environment that I pushed to Bluemix using cf push MYAPP with null-buildpack-master for the buildpack. Now I want to execute those programs. How can I do that?...

Populate API Manager “Documentation and Attachments” tab from Swagger 2.0 definition?

How do I specify items for the "Documentation and Attachments" tab in the API Manager in my Swagger 2.0 definition? ...

difference between IoT Foundation and Node-RED?

We have 2 boilerplates with Node-RED in Bluemix catalog. Are there any differences between "IoT Foundation Starter" and "Node-RED Starter"? I know that the Node-RED Starter boilerplate has the Monitoring and Analytics service. Is this the only difference?

Deploying a Standard vNext WebApplication VS Next 2015 RC to Bluemix fails

I'm trying to deploy a aspnet5 Project (Template vNext WebApplication from Visual Studio) to Bluemix CF Service ( Yet it's not possible and fails with: OUT FAILED: Writing Release YML failed, 746: unexpected token at '?{ OUT "webroot": "wwwroot", OUT "dependencies": { OUT "Microsoft.AspNet.Diagnostics": "1.0.0-beta4", OUT "Microsoft.AspNet.Mvc": "6.0.0-beta4", OUT "Microsoft.AspNet.Mvc.TagHelpers":...

Automatically import REST APIs from GitHub / via API into API Manager?

Does the API Manager / Bluemix provide an interface (API, hook) to automatically update API definitions when I push Swagger 2.0 API definition changes to a GitHub repository?

how to deploy standalone java applications (jar's) to bluemix?

There are lots of instructions online for deploying web applications (war files) to Bluemix, but I couldn't find any documentation on deployment of standalone java applications, that are run similar to the following: java -jar myapp.jar...

Getting “error”: “No text provided” when trying to post content to V2/Profile of personality insights API

I have deployed watson-developer-cloud/personality-insights-python module in to bluemix and created an APP in Bluemix. The link for my app is running absolutely fine. However, when I want to invoke /v2/profile api, with a post request I am getting an error. Here is the code I used in Python. import requests,...

bluemix runtime: auto vertical scalability?

It is clear that the auto-scale service allows to automatically scale-in and scale-out an application horizontally. And that I can manually scale vertically my application too by MANUALLY increasing/decreasing the memory. Is there a way to AUTOMATICALLY increase and decrease the memory associated to the node.js instances based on some...

Bluemix Load Balancer Algorithm

What algorithm is used to balance HTTP load among several instances running on Bluemix? It seems I can use auto-scaling service to scale horizontally, and want to know what algorithm is used when balancing the load.

Does Bluemix include a JBoss runtime?

How can I create a JBoss runtime on Bluemix? The JBoss buildpack for Cloud Foundry does not support all features. The current buildpack is focused on running web applications in the servlet container and nothing further. Are there more docs on this and any updates on the plans going forward,...

Error BXNUI2032E: The host is taken — Occurs while creating a Java Liberty project in IBM Bluemix

I am using the Java DB Web Starter boilerplate in IBM Bluemix. When I use it to create an app called SentimentAnalysisAPP, create fails with this error: BXNUI2032E: An error occurred when contacting Cloud Foundry to create a resource. Resource: routes. Cloud Foundry message: "The host is taken: SentimentAnalysisAPP." See...

Any way to access a NFS from Bluemix runtime?

I need to push an application to Bluemix that requires access to a remote file system via NFS. I haven't found any NFS service. Existing Object Store services use Swift API and the application requires native file system access, not other kind of APIs. I tried to execute "mkdir" and...

Unable to access Push service dashboard on Bluemix

When trying to access the Push service dashboard I got this error: Exception thrown by application class '' javax.servlet.ServletException: UIBACK108E: Got unsuccessful response from ''. The response status was 400 Bad Request. The response body was: "{"error":"bad_request","error_description":"Parameters role and space_guid are required"}". at Source) at...

How can I move my application across spaces in Bluemix?

I have a couple of apps running in my own Bluemix space and I want to shift them into a different space that we use for integration purposes. I can see no option in any part of the Bluemix UI to do this. Is there a recommended way to make...

An internal error has occurred. The application may still be initializing or the URL used is invalid

When I try opening the dashDB console from Bluemix, I occasionally get the following error message: An internal error has occurred. The application may still be initializing or the URL used is invalid. Check the URL and try again. For more information, view the server log files. How can I...

Bluemix authentication ios8 with google and facebook

I am trying to implement two types of authentication from an iOS8 device in the bluemix platform. I succeeded in adding one type of authentication: google. I am using a ADVANCED MOBILE ACCESS module, and I am at the User Authentication part. It looks from a dashboard like I can...

Can one get multiple results from one API call in IBM Watson?

I am using Python to program a script for IBM Watson's Personality Insights service. I am using the results as training data for a Machine Learning project. Since the service is so limited (100 calls/month), is it possible to get multiple personality insights with only one API call? ...

How to import a 3rd party Python library into Bluemix?

My Python app needs to run but I'm unable to figure out how to get it up to bluemix. I see no options using cf push. I tried to "import web" and added some additional code to my app without success. When I push my Python app to bluemix...

Custom datasets in Watson Q&A service

Is there a way to create a custom dataset in Watson for use with services such as Question and Answer? I tried the service using the 'healthcare' dataset and it was very limited. I could ask it any of the questions that were suggested by the IBM team (ex. What...

Are there any known negatives to using Requests in Flask to interface to Cloudant on Buemix?

I am writing an app in Python Flask that makes use of the Python HTTP library Request to interface with Cloudant on Bluemix. It is an easy interface that allows me to directly access the Bluemix VCAP information for Cloudant and of course the Cloudant API. However it does not...

How to debug remotely on bluemix?

is it possible to debug my c# project remotely in the bluemix cloud?

Creating a Virtual Machine on Bluemix, is giving an error while importing ssh key [closed]

I am following the steps to create Virtual Machine on Bluemix following the steps as below. I am blocked when I am trying to configure a SSH key. I am using an existing key pair which I use with my other machines. I get an error "Keypair data is...

Single Sign-On on Bluemix: how to retrive user profile after binding SSO service to Liberty

I create an app, and bind it to Liberty. It works fine. But how could I get the user profile after user login? I saw there is a "Return-to url" in integration tab: But after I visit this url, I got 500 server error: Error 500: SRVE0295E: Error reported:...

Bluemix and peaks of traffic - how to protect from crashing

I want to protect my node app from high http traffic peaks so app does not crash (could be an attack or just unexpected peak). Load balancers are usually the way to go to protect the app. You can define rules like routing the traffic somewhere else if traffic is...

How to write query to my Cloudant database?

I am trying to achieve the right query for my NoSQL database, but I am confused how to do it in Cloudant. In SQL with be SELECT * FROM mydb WHERE user_permit_doc_id = 10 AND user_tracking_id = 1 My query is like:["user_permit_doc_id:10"] and it returns all of the docs,...

Custom Log Handler using HTTP PUT Method and creates loop

i working on a Java Webservice. We want to build our own Custom Log Service on Bluemix. To use the log service i created a custom Log handler. The log handler builds the request in the publish method and then try to send via http put method the log to...

Bluemix: Cannot create VM with public IP

When I try to create a VM with a public IP address on Bluemix, I get the following error: Your VMs are in error - Resource CREATE failed: Error: Resource CREATE failed: Error: Resource CREATE failed: NotFound: External network f242da31-3809-48a4-aa84-46da1c50586c is not reachable from subnet a78fbf7e-1e4a-4d3a-a039-c05be4846bc3. Therefore, cannot associate Port...

Bluemix Node.js app not showing new code

I've built a Node.js app locally that works fine but when I went to test it on Bluemix, it didn't show the app consistently. What I mean is this. I did my cf push. It reported it went up ok. I went to my domain and I saw the original,...

How can I connect to Cloudant from a Flask App running in Bluemix?

I have seen a flask sample project for Bluemix: How can I connect to Cloudant from this flask application? Note: I know how to use flask. I have seen the instructions for connecting to Cloudant using the requests library and that is the approach I would like to use....

Can I move a Bluemix service to a different org

I created a Bluemix service in my "Dev" org for testing. Now I want to move it to a different org. Is there a way to just move or transfer the existing service or do I have to create a whole new one in the new org?

HttpServlet in IBM Java?

I'm trying to build an app using IBM Bluemix that takes user input in an HTML form, processes it in a server-side Java application, and returns the processed data to the user. This kind of thing is really simple to implement using HttpServlet, but that class doesn't seem to exist...

Is there a recommended 3rd party solution to managing logs on Bluemix?

We have a handful of Ruby (Rails/Sinatra) apps and are looking for an easy means of managing retention, search and analysis of our logs for these applications. The initial problem was that every time we'd push a new version of our apps the logs would disappear. We then started streaming...

How to uninstall the IBM Containers Extension (ICE) CLI tool?

I have been experimenting with working with IBM Containers in Bluemix using the IBM Containers Extension (ICE) CLI tool. For this I have also installed Python 2.7.9, Python pip, Python setuptools, Cloud Foundry CLI and then ICE CLI. I would now like to remove these from my Mac machine. Python......

API Manager: Set API icon in Swagger 2.0 definition?

Is it possible to define an API icon in the Swagger 2.0 definition that will be shown on the app developers page? Or is it at least possible to set an API icon in the API Manager UI? I could not find anything related. ...

Docker and Namespace-related errors after a successful login to Bluemix

I have installed Python (with Pip and easysetup), Cloud Foundry and ICE in my host machine, OS X 10.10.3. I've booted boot2docker and attempted to ice login. After a successful login attempt: mbp-idan:~ idanadar$ boot2docker up Waiting for VM and Docker daemon to start... .o Started. Writing /Users/idanadar/.boot2docker/certs/boot2docker-vm/ca.pem Writing /Users/idanadar/.boot2docker/certs/boot2docker-vm/cert.pem...

Can I use a service bound to apps in one Bluemix region across other Bluemix regions?

There are multiple regions in Bluemix. I have a service instance bound to an application in one region and I want to use that service instance in other Bluemix regions. I've not found a clear intuitive way to do this. Is there a supported method? Thanks!...

Bluemix + Node.js - Is there documentation for the watson-developer-cloud module?

I am interested in playing around with the Q & A service, the demo app uses the REST API and I am wondering if the service can be used with the newer watson-developer-cloud module and if so where can I find an example or documentation for those functions. The demo...

How to add users to Cloud Directory via API?

I am using Bluemix Single Sign On Cloud Directory from Node.js and I would like to be able to register users from the app (not manually via administration). Is it possible? After reading the docs I haven't found any API specification. Thanks!...