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?

Question:

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.


Answer:

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.

Related:


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


cloudfoundry,bluemix
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


node.js,memory-leaks,bluemix
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


java,release,bluemix
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


bluemix,node-red
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


bluemix
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


cloudfoundry,bluemix
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


java,sql,database,bluemix,cloudant
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


bluemix
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


command-line-interface,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


docker,containers,bluemix
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


bluemix,secure-gateway
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?


cloudfoundry,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?


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?


swagger,bluemix,swagger-2.0
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?


bluemix,iot,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


cloudfoundry,asp.net-5,bluemix
I'm trying to deploy a aspnet5 Project (Template vNext WebApplication from Visual Studio) to Bluemix CF Service (Asp.net). 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?


import,automation,swagger,bluemix,swagger-2.0
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?


java,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


python,json,bluemix,ibm-watson,personality-insights
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?


node.js,scalability,bluemix
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


load-balancing,bluemix,autoscaling
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?


jboss,cloudfoundry,bluemix
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


java,cloudfoundry,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?


bluemix
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


push-notification,push,bluemix
When trying to access the Push service dashboard I got this error: Exception thrown by application class 'com.ibm.mbaas.ui.BackendUtility.getJSONResponse:-1' javax.servlet.ServletException: UIBACK108E: Got unsuccessful response from 'https://mccp.ng.bluemix.net/login/rolecheck'. The response status was 400 Bad Request. The response body was: "{"error":"bad_request","error_description":"Parameters role and space_guid are required"}". at com.ibm.mbaas.ui.BackendUtility.getJSONResponse(Unknown Source) at...

How can I move my application across spaces in Bluemix?


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


bluemix,dashdb
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


facebook,authentication,ios8,bluemix,google-authentication
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?


python,bluemix,ibm-watson,personality-insights
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?


python,bluemix
My Python app needs web.py 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


bluemix,ibm-watson
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?


python,flask,couchdb,bluemix,cloudant
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 asp.net remotely on bluemix?


c#,asp.net,bluemix
is it possible to debug my asp.net c# project remotely in the bluemix cloud?

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


ssh,openstack,bluemix
I am following the steps to create Virtual Machine on Bluemix following the steps as below. https://www.ng.bluemix.net/docs/starters/index-gentopic4.html#vm_ssh_key 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


single-sign-on,bluemix
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: https://ssoConfigboard.mybluemix.net:443/oidcclient/redirect/rwuYaLiy78 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


security,bluemix
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?


nosql,bluemix,cloudant
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: https://293e2cb7-3561-4004-a1c3-58d54f517ee6-bluemix.cloudant.com/user_files/_design/user_tracking/_view/new-view?startkey=["user_permit_doc_id:10"] and it returns all of the docs,...

Custom Log Handler using HTTP PUT Method and creates loop


java,java-ee,logging,bluemix
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


openstack,bluemix
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


cloudfoundry,bluemix
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?


python,flask,bluemix,cloudant
I have seen a flask sample project for Bluemix: https://github.com/IBM-Bluemix/bluemix-python-flask-sample 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


bluemix
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?


bluemix,ibm-jdk
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?


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?


osx,bluemix
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?


import,swagger,bluemix,swagger-2.0
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


osx,docker,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?


bluemix
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?


node.js,bluemix,ibm-watson
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?


single-sign-on,bluemix
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!...