A hybrid cloud model blends elements of both private and public cloud, giving you the choice and flexibility to run apps and services across both. In the simplest terms, the hybrid model is primarily a private cloud that allows you to tap into a public cloud whenever it makes sense. This pattern shows you how to expose your on-premises private cloud applications and services to the public cloud and vice versa.
Multi-cloud and hybrid deployments across private and public clouds are a necessity for the next generation of applications. With this new world, developers and businesses need a way to access data (such as customer records) from a system of engagement applications that are hosted offsite on public clouds. Even if applications are hosted onsite, developers still need a way to expose functionalities externally via APIs.
In this pattern, we leverage transport protocols and an API gateway that can create connectivity via secure tunnels and expose the private cloud application and APIs outside the corporate firewall. We then move the application to the public cloud while onsite resources like databases are still accessible.
Going hybrid has never been easier. See how we did it and you’ll learn how to:
- Create a tunnel to connect your on-premises environment to the public cloud.
- Build and run a sample application by using either WebSphere Liberty for on-premises or Cloud Foundry for the public cloud.
- Have the application connect to an on-premises database by using CouchDB and Docker.
- Expose application APIs for public consumption by using an API gateway framework.
- Connect your On-Premise environment to Public Cloud.
- Scenario One: Enable your application in Private Cloud to be accessed externally via Public Cloud.
- Scenario Two: Enable your application in Public Cloud to connect to resources in Private Cloud.
- Catalog and publish application APIs to the public using API Connect.