Whether you are just beginning to think about an API initiative or have already started one, now is the time to think about an enormous potential problem â€“ SUCCESS!
Even in the initial stages, it is important to think ahead and plan for success.Â Starting with a view of only the first project or two may lead to a dead end.Â By picturing what success will bring, we can better prepare.
The first is obvious, after initial API successes come requests for more projects and more APIs.Â Perhaps you started simple with some basic APIs and internal integrations, but as you progress the usage patterns expand.Â API traffic will come from outside the enterprise (e.g. mobile), next come Partner projects, and eventually public APIs.
How can your API management solution support multiple models and drive speed to market (a key business driver)? The answer – API Governance.Â The need for speed in creating and managing APIs requires different governance than changes to the Systems of Record (SoR).
Some vendors have built their API management solution on their traditional Enterprise Service Bus (ESB), but how do you govern APIs and SoR assets differently with one solution?Â You cannot. (See – Is a Combined ESB and API Management a Good Idea?)Â APIs need to be governed separately from SoR assets (see security later as well) to support necessary speed for APIs and availability for SoR assets.
Another result of success is increased use.Â This could be more API calls, more consumers accessing your developer portal, more APIs needing to be managed, more visibility into the analytics, or any combination.Â And, each may spike independently.
Microservice architectures support the automated scaling of resources as requirements increase and reduction as usage lessens.Â Recognizing this requirement, IBM API Connect V2018 was rearchitected as a microservice solution.Â This allows any component to scale independently as its usage increases without the need to scale the entire platform.Â No other major API Management vendor has a complete microservice implementation.Â Some may supply a part of their solution as microservices, but if the usage increases for other parts then the entire monolithic solution needs to be scaled.Â And, in a worst-case scenario, this might include your back-end ESB as well if the vendor has implemented a combined solution.
Sooner or later change is going to occur.Â New function is implemented, a back-end application is changed or upgraded, you merge with another company, etc.Â Previously I have discussed the value of consumer oriented APIs to create more backward compatible APIs (see here). But, even the best APIs occasionally require a non-backward compatible change.Â Having an API Management solution that supports this lifecycle (including creation of the updated version, consumer notification of the migration timeframe, allowing both versions to execute while not allowing anyone new to subscribe to the previous version, and finally retiring the old version) is of course extremely important.Â Many, but not all vendors, support this type of planned version migration.
A larger and more damaging issue is when a change occurs that causes an API problem and you have not planned for it.Â Our first notification must not be customers complaining.Â API test and monitoring capability is available for IBM API Connect to help alleviate this issue.Â You can monitor API payloads to ensure results are as expected and remain as expected.Â If something abnormal occurs appropriate personnel are notified.Â Test suites can be created for your APIs automatically with no code and scheduled for periodic execution to ensure API quality remains consistent.
What is your cloud strategy?Â Planning for cloud may include:
- Private clouds,
- Moving a few SoR applications to a cloud,
- Using SaaS applications, and
- Deploying cloud test environments with more usage later.
Certainly, SoR applications will exist on premise for a long time too.Â There are many unknowns here.Â When will you move to the cloud and what will move?Â Which cloud provider(s) will you use?Â How can you maintain portability between on-premise and any cloud provider so that you can be prepared no matter what cloud choice is made or if cloud providers are changed or added?
As mentioned, API Connect has a microservice architecture which also provides deployment flexibility.Â API Connect can be deployed on premise or on any of the major cloud providers.Â Any individual component can be deployed on any cloud and maintain a single management component (on premise or in any cloud) that manages the solution across all locations.Â Compare this to other vendors who require a management component deployed in each location or some vendors who have different implementations between cloud and on premise or support only a small number of cloud providers or none.Â As stated, there are many unknowns.Â With API Connect we support your deployment flexibility.
Here are two principles which most enterprises follow:
- Security checks and business logic should not be mixed. In fact, having the capability to run business logic where security is being checked is a security exposure.
- Security should be handled as soon as possible, and certainly before outside traffic reaches the trusted zone.
APIs should enable secure consumption of business assets.Â But, APIs should not be the actual business asset.Â This allows the API to perform the necessary security functions to check for authentication, authorization, rate limits, etc. and if these checks are successful perform minor integration logic to access a business asset inside the SoR.Â Many API Management vendors supply API Gateways built with standard off-the-shelf components such as Java.Â If your Gateway is executing Java at the same time it is checking security, you are exposed.
As APIs are called we need to ensure security as early as possible.Â For traffic coming from outside the enterprise (e.g. a mobile App, a partner) this means enforcing security in the DMZ â€“ before entering the trusted zone.Â But, if an API gateway was built using Java, it should not be deployed in the DMZ.Â This has led to a convoluted multi-gateway architecture which does some initial checking in the DMZ and then the remainder of the security checking in the Trusted zone.Â All the security checking should be done in the DMZ before letting transactions into the Trusted zone.Â Â If transactions reach the Trusted zone unsecured, Java or another programming language can be exploited.
IBM API Connectâ€™s Gateway â€“ DataPower is a self-contained gateway appliance reducing the attack vector, providing a more secure platform, without requiring any OS, Java, or database components.Â DataPower is available in many form factors including physical, virtual, and microservice containers.Â It can be deployed in the DMZ or in any cloud providing the highest level of API protection available.Â Many businesses also run a separate instance of DataPower in the Trusted zone for internal traffic.
At the beginning of the blog I said you should not be afraid of success.Â Okay, then what should you be afraid of?Â Easy – the fear that a competitor is executing an API initiative addressing these concerns – growth in projects and scale, planning for change and hybrid deployment, and implementing a strong secure API management solution.Â Please contact IBM to discuss how we can remove your fear of API success and make you the competitor to be feared.
To understand more about IBMâ€™s thoughts on the API Economy visit the IBM API Economy website.Â IBM API Connect is IBMâ€™s complete foundation to Create, Run, Manage, and Secure APIs.Â You can find more information about IBM API Connect at the API Connect website.Â And you can also experience a trial version of API Connect.
If you have questions, please let me know.Â Connect with me through comments here or via twitter @Arglick to continue the discussion.