The Apigee Edge Hosted Target Beta Release is Here!
Apigee is excited to announce the public beta of Hosted Targets, a new approach to hosting Node.js code within Apigee Edge.
Since 2013, Apigee has supported the use of Node.js proxies within Apigee Edge through the use of Trireme. This enables you to run your Node.js code within Apigee Edge and expose it as a secured API. While the Trireme-based approach makes hosting Node.js APIs fast and simple, Trireme is limited in what versions and packages of Node.js it supports. This can cause difficulties when developing and testing a new Node.js API.
Hosted Targets provides a new approach to launching proxies as a separate and easily scalable service.
Because your code isn't hosted within the Java virtual machine (JVM) when using Hosted Targets, you’re no longer limited in what versions of Node.js you can use to craft your API. Including native Node.js support has simplified the development process behind creating a proxy. With Hosted Targets you can focus on developing your API. In other words, if your API works locally with your Node.js version of choice, your API will work in Hosted Targets.
A request's path through Apigee to a Hosted Target
Each API is deployed as its own container on our highly available and scalable container cluster. With each API in its own container, your API will be scaled to match the request load coming into it, enabling consistent availability and response time to your API’s users.
By separating itself from the limitations imposed by the Trireme-based implementation of Node.js proxies, Hosted Targets provides a simple and more robust way to deploy your API through Apigee Edge.
To sum up, the key capabilities of Hosted Targets include:
- Familiarity If you already use the existing Node.js hosting in Apigee Edge, you'll be familiar with Hosted Targets, as there are no new APIs or UI workflows to learn.
- Native Node.js runtimes Node.js code is now packaged in native Node.js containers using the OSS Node.js Docker containers and no longer runs via the Trireme-based Node.js runtime.
- Node.js version control Using the Hosted Targets Manifest File, you can choose which version of Node.js you want to use.
- Secure and scalable hosting Node.js code no longer runs in the Apigee Edge message processor; it runs securely on Google Cloud Platform.
If you’ve ever deployed a Node.js proxy through Apigee, you’ll notice that the Hosted Targets experience is nearly identical to what you're used to.
To get started, please refer to the Apigee Edge documentation for Hosted Targets. There, you'll find a complete feature overview, a guided tutorial, an FAQ (great for if you need to know how differences between the prior Node.js hosting and Hosted Targets might affect you), and more.
You can also follow these steps to get a Node.js proxy up and running quickly with Hosted Targets:
- Log in to Apigee
- Go to “Proxies”
- Create a new proxy “+”
- Select Hosted Targets
- Configure your hello world Node.js proxy in the proxy wizard
- Click “Build and Deploy”
Be sure to visit Apigee Community with any questions or feedback.