Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Elastic Cloud Server/ User Guide/ Events/ Handling an Event/ Handling an Instance Redeployment Event

Handling an Instance Redeployment Event

Updated on 2025-01-02 GMT+08:00

Scenarios

When the system reports an instance redeployment event, you need to authorize the redeployment for the instance.

This section describes how to handle an instance redeployment event in Pending authorization status and guides you through the authorization required for the instance redeployment.

You can authorize the redeployment now or later.
  • Now: After receiving a request, the system immediately redeploys the instance.
  • Later: After receiving a request, the system redeploys the instance at the scheduled time.

    You can change the scheduled time as needed. For details, see Changing the Reservation Time.

NOTICE:
  • Instance redeployment will restart the instance. Switch service traffic in advance and select an appropriate time for authorizing the redeployment to minimize the impact on your services.
  • Instance redeployment will not affect the instance's system disk and EVS data disks.
  • For instances using local disks, all data stored on the local disks will be deleted after the instance redeployment. To ensure data security, back up local disk data before authorizing the redeployment.
  • For instances using local disks, before authorizing the redeployment, you need to preprocess local disks to prevent the instance from starting in emergency mode.

Choose a method to authorize redeployment based on the types of disks attached to instances.

Prerequisites

If you need to perform operations as an IAM user, ensure that the IAM user has been granted the required permissions.

Event query and handling require the permissions defined in the following policies:

  • Query events: ecs:instanceScheduledEvents:list
  • Accept and authorize events: ecs:instanceScheduledEvents:accept
  • Change the reservation time: ecs:instanceScheduledEvents:update

For details about how to grant permissions to IAM users, see ECS Custom Policies.

Authorizing Redeployment for Instances that Not Using Local Disks

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, click Elastic Cloud Server.
  4. Choose Events from the left navigation pane.
    Figure 1 Events
  1. On the Events page, in the event list, click in table headers and set the following criteria to filter the instance redeployment events in Pending authorization status.
    1. In the Event Type column, select Instance redeployment.
    2. In the Event Status column, select Pending authorization.
  2. Click Authorize Redeployment in the Operation column.
    Figure 2 Authorizing redeployment
    NOTE:

    Before redeploying an instance, you need to learn about the notice.

  3. Select the check box and click Next.
  4. Specify a redeployment time.
    • Select Now.

      The system redeploys the instance upon receiving the request.

      Figure 3 Selecting Now
    • Select Later and specify Scheduled At.

      The system will redeploy the instance at the scheduled redeployment time.

      Figure 4 Selecting Later

      You can change the scheduled time as needed. For details, see Changing the Reservation Time.

  5. Enter AGREE in the text box below to confirm the redeployment.
  6. Click OK.

    After you submit the authorization request, the event status becomes To be executed. After the system receives the request, it decides when to change the event status to Executing based on the redeployment time you specify and starts to redeploy the instance.

    When the status of the instance redeployment event becomes Execution succeeded, the instance redeployment is complete. Check the status of services running on the instance.

Authorize Redeployment for Instances Using Local Disks

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, click Elastic Cloud Server.
  4. Choose Events from the left navigation pane.
    Figure 5 Events
  1. On the Events page, in the event list, click in table headers and set the following criteria to filter the instance redeployment events in Pending authorization status.
    1. In the Event Type column, select Instance redeployment.
    2. In the Event Status column, select Pending authorization.
  2. Click Authorize Redeployment in the Operation column.
    Figure 6 Authorizing redeployment
    NOTE:

    Before redeploying an instance, you need to understand risks, complete local disk preprocessing, and add parameter nofail to all data disks.

    For details, see Preprocessing for Instance Redeployment.

  3. Select the check box and click Next.
  4. Specify a redeployment time.
    • Select Now.

      The system redeploys the instance upon receiving the request.

      Figure 7 Selecting Now
    • Select Later and specify Scheduled At.

      The system will redeploy the instance at the scheduled redeployment time.

      Figure 8 Selecting Later

      You can change the scheduled time as needed. For details, see Changing the Reservation Time.

  5. Enter AGREE in the text box below to authorize the redeployment.
  6. Click OK.

    After you submit the authorization request, the event status becomes To be executed. After the system receives the request, it decides when to change the event status to Executing based on the redeployment time you specify and starts to redeploy the instance.

    When the status of the instance redeployment event becomes Execution succeeded, the instance redeployment is complete. Check the status of services running on the instance.

Changing the Reservation Time

After you submit a scheduled authorization request, the event status changes to To be executed. You can change the reservation time as needed.

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, click Elastic Cloud Server.
  4. Choose Events from the left navigation pane.
  1. On the Events page, in the event list, click in table headers and set the following criteria to filter the instance redeployment events in To be executed state.
    1. In the Event Type column, select Instance redeployment.
    2. In the Event Status column, select To be executed.
  1. In the Operation column of the event to be executed, click Change Reservation Time.
  2. Specify New Reservation Time and click OK.
    NOTE:

    The reservation time can be changed at least 30 minutes before the reservation deadline.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback