Help Center> ServiceStage> Best Practices> Migrating the Registered Microservice Engine Using ServiceStage Without Code Modification
Updated on 2023-10-30 GMT+08:00

Migrating the Registered Microservice Engine Using ServiceStage Without Code Modification

Context

This section describes how to migrate the microservice application components that are developed using the Java chassis microservice framework and registered with the professional microservice engine to the exclusive microservice engine without any code modification.

Services will be interrupted during the migration of the microservice registration engine. Evaluate and select a proper time window before the migration.

Prerequisites

You have created an exclusive microservice engine with security authentication disabled. For details, see Creating a Microservice Engine.

Select the VPC in the microservice application component environment the same as the VPC and subnet where the engine is located.

Procedure

  1. Log in to ServiceStage.
  2. Delete the deployed microservice application component instances.

    1. Choose Application Management.
    2. Click the application where the microservice application is located. The Overview page is displayed.
    3. In the Component List area, select the components to be deleted and click Bulk Delete.
    4. In the displayed dialog box, click OK.

  3. Modify the environment for deploying microservice application components.

    1. Click in the upper left corner to return to the Application Management page.
    2. Choose Environment Management.
    3. Click the environment where the microservice application is deployed.
    4. In the Resource Settings area, choose Cloud Service Engine from Middleware.
    5. Select Cloud Service Engine and click Remove.
    6. Click Manage Resource.
    7. Select the created exclusive microservice engine and click OK.

  4. Deploy the application instance. For details, see Creating and Deploying Components.