Understand that Apigee Edge cloud does auto scaling on the cloud. On OPDK it could vary based on the implementation and infrastructure.
With Ansible automation and monitoring tools, I believe, we can achieve auto scaling in private cloud as well leveraging Apigee Edge Management APIs.
Any one tried same ? Any learnings to share with community ?
~~Q:S:TC~~
Apigee does not provide tools for autoscaling in OPDK. However, if the infrastructure permits it, certain components of OPDK can be under autoscaling policies. The most likely candidates for autoscaling are Router and Message processor. Here is an implementation that run on GCP: https://github.com/apigee/edge-gcp
Edge provides all the necessary building blocks to implement auto-scaling by leveraging the capabilities offered by IaaS providers such as GCP, AWS and Azure.
The software makes easy to add and remove components and manage their logical association to Pods and Environments.
We recommend focusing the autoscaling initiative on Routers and Message Processors, while performing more traditional capacity planning for the rest of the components.
Routers and Message Processors are two of the three key components for the runtime. Message Processors are where APIs are actually executed and the first component that may need to scale out/in as API volume increase/decrease.
The instructions for adding components are described here:
http://docs.apigee.com/private-cloud/latest/scaling-edge-private-cloud
Autoscaling Routers and Message Processor requires: