July 10, 2019 By Sachi Pradhan 2 min read

How to migrate Auto-Scaling policies via the UX or the CLI.

We previously announced new autoscaling capabilities for IBM Cloud Foundry Public that greatly simplified the overall developer experience of building Cloud Foundry apps on IBM Cloud. These capabilities are now Generally Available. In addition we also announced the deprecation timeline of the IBM Cloud Auto-Scaling service.  

Migrating Auto-Scaling policies is fairly simple and can be done either via the UX or the CLI

How to migrate Auto-Scaling policies using the UX

  1. Use the Policy Migration button on the Auto-Scaling service instance that is bound to the IBM Cloud Foundry Public app to view and download the new policy to be migrated. 
  2. Unbind the Auto-Scaling service instance from the IBM Cloud Foundry Public app.  
  3. Now go to the Autoscaling option on the navigation pane and use the downloaded “App Autoscaler” policy JSON file from Step 1 to import and create a new policy. 
  4. The Cloud Foundry Public app now using the new policy based on the new “App Autoscaler” capability. 

How to migrate Auto-Scaling policies using the CLI

  1. Unbind the Auto-Scaling service instance from the Cloud Foundry Public Application:
    • $ ibmcloud cf unbind-service MyCoolApp-Sachi Auto-Scaling-New-Test
  2. Download the new “App Autoscaler”-based policy file as shown above in the UX Migration steps. Attach the new AutoScaling scaling policy to the Cloud Foundry Public Application.
    • ibmcloud cf aasp MyCoolApp-Sachi ../Downloads/app-autoscaler-policy.json

Note: Be sure to have the “app-autoscalar-plugin” installed. Use to following command to install the plugin:

$ ibmcloud cf install-plugin -r CF-Community app-autoscaler-plugin

About IBM Cloud Foundry

IBM Cloud Foundry is a Cloud Foundry-certified development platform for cloud-native applications on IBM Cloud. With a generous free tier of 375 GB-Hr’s/Month, IBM Cloud Foundry is the fastest and the cheapest way to build and host a cloud-native application on IBM Cloud

Get started and deploy your first application today.

Was this article helpful?

More from Cloud

Announcing Dizzion Desktop as a Service for IBM Virtual Private Cloud (VPC)

2 min read - For more than four years, Dizzion and IBM Cloud® have strategically partnered to deliver incredible digital workspace experiences to our clients. We are excited to announce that Dizzion has expanded their Desktop as a Service (DaaS) offering to now support IBM Cloud Virtual Private Cloud (VPC). Powered by Frame, Dizzion’s cloud-native DaaS platform, clients can now deploy their Windows and Linux® virtual desktops and applications on IBM Cloud VPC and enjoy fast, dynamic, infrastructure provisioning and a true consumption-based model.…

Microcontrollers vs. microprocessors: What’s the difference?

6 min read - Microcontroller units (MCUs) and microprocessor units (MPUs) are two kinds of integrated circuits that, while similar in certain ways, are very different in many others. Replacing antiquated multi-component central processing units (CPUs) with separate logic units, these single-chip processors are both extremely valuable in the continued development of computing technology. However, microcontrollers and microprocessors differ significantly in component structure, chip architecture, performance capabilities and application. The key difference between these two units is that microcontrollers combine all the necessary elements…

Seven top central processing unit (CPU) use cases

7 min read - The central processing unit (CPU) is the computer’s brain, assigning and processing tasks and managing essential operational functions. Computers have been so seamlessly integrated with modern life that sometimes we’re not even aware of how many CPUs are in use around the world. It’s a staggering amount—so many CPUs that a conclusive figure can only be approximated. How many CPUs are now in use? It’s been estimated that there may be as many as 200 billion CPU cores (or more)…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters