Here we will do an overview of Bluemix Secure Gateway Service and then a step-by-step guide on how to set it up for this lab.
- What is secure gateway
- How to create a gateway
- How to run a Security Gateway Client OnPrem
- How to setup a Secure Gateway Destination on Bluemix
- How to protect the Secure Gateway Tunnel between Bluemix and On-Prem will be covered on this other guide
- How to test the just create gateway
It is a service available on Bluemix that allows you to access OnPrem Services of your data center(eg: an web service) on a IBM Bluemix Application(eg: NodeJS or Java Runtime).
Another possibility is to access a Bluemix Application on your OnPrem Datacenter, but this second use case will not be explored on this guide.
Here we will explore an IBM Secure Gateway as a way to expose our sample CRM API that will run on your machine(not on Bluemix) and allow our BMX-Java-Message-Hub-Consumer to send updates commands to the CRM.
To expose an OnPrem Service(our CRM) to Bluemix we will need the following elements:
- A
Gatewayon Bluemix Secure Gateway; - A
Gateway Clientrunning on your OnPrem network(eg: your machine); - A
Destination on Secure Gatewayon Bluemix pointing to your On-Prem Software; - An
OnPrem Servicerunning, for this something that listen a TCP or UDP port to serve some content;
The general setup is the following:
- Create an IBM Secure Gateway on your account;
- Add an
Gatewayto it; - Run an
Gateway Clienton your network to allow your On-Prem network to be exposed to bluemix network; - Expose on the
Gateway Client ACLthe service(Host and Port) you want to expose, for details here; - Create an
Destinationon yourGatewayon your IBM Secure Gateay on Bluemix ; - (optional) Protect the
Destinationto be accessed by only pre-autorized IPs - Details Here - (optional) Provide access to your
Destinationto the consumer of yourDestinationendpoint. - Details Here
Don't worry the gateway client has an internal firewall, so you will have control on what is exposed. And also, you can protect the Bluemix Secure Gateway
destinationwith a set of layers of protections.