El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

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

Upgrading a Dedicated WAF Instance

Updated on 2024-03-14 GMT+08:00

You can upgrade your dedicated WAF instances on the WAF console to obtain the latest protection performance. To ensure business availability during the upgrade, upgrade your dedicated WAF instances by following the procedure below.

NOTICE:

If your workloads have high reliability requirements, at least two dedicated WAF instances should be deployed in dual-active or multi-active architecture. A single dedicated WAF instance may cause single points of failure (SPOFs) once the ECS hosting it becomes faulty.

Prerequisites

You have connected the website to a dedicated WAF instance.

Upgrading a Single Dedicated WAF Instance

If you have deployed only one dedicated WAF instance for your workloads, perform the following operations:

  1. Apply for a dedicated WAF instance.

    • The new dedicated WAF instance is of the latest version. So its Upgrade button is grayed out.
    • The VPC, subnet, security group, and other settings of the new instance must be the same as those of the original one. In this way, the new instance automatically synchronizes all WAF protection configurations of the original instance.

  2. Run the curl command on any ECS in the VPC the original dedicated WAF instance locates to check whether the workloads are normal.

    • HTTP workloads

      curl http://IP-address-of-the-dedicated-WAF-instance :Service-port -H "host:Service-domain-name" -H "User-Agent: Test"

    • HTTPS workloads

      curl https://IP-address-of-the-dedicated-WAF-instance :Service-port -H "host:Service-domain-name" -H "User-Agent: Test"

    Check whether the service is normal. If the service is normal, go to 3. If the service is abnormal, fix the issue by referring to Why Is My Domain Name or IP Address Inaccessible? and How Do I Troubleshoot 500/502/504 Errors?. After the fault is rectified, go to 3.

    NOTE:
    To run a curl command, your ECS must meet the following requirements:
    • The network communication is normal.
    • A curl command line tool has been installed. If you are using a Windows ECS, manually install a curl command line tool on it. If you are a using a non-Windows ECS, no such action is required as the curl tool is installed automatically along with the operating system.

  3. Add the new dedicated WAF instance to the backend server group of the ELB load balancer you are using.

    The following uses a shared load balancer to show how to add an instance to a backend server group.

    1. Click in the upper left corner and choose Web Application Firewall (Dedicated) under Security.
    2. In the navigation pane on the left, choose Instance Management > Dedicated Engine to go to the dedicated WAF instance page.
    3. Locate the row containing the WAF instance. In the Operation column, click More > Add to ELB.
    4. In the Add to ELB dialog box, specify ELB (Load Balancer), ELB Listener, and Backend Server Group you configure for the original dedicated instance.
    5. Click Confirm. Then, configure service port for the WAF instance. In this example, configure Backend Port to the one we configured for the original dedicated instance.

  4. On the ELB console, set the weight of the original dedicated instance to 0.

    Requests are not forwarded to a backend server if its weight is set to 0.

  5. Delete the original dedicated WAF instance during off-peak hours.

    View the monitored metrics on Cloud Eye for the dedicated WAF instance, if there are less than five new connections, the traffic to the instance has decreased. For details, see Viewing Metrics of a Dedicated WAF Instance.

    1. In the navigation pane on the left on the WAF console, choose Instance Management > Dedicated Engine to go to the dedicated WAF instance page.
    2. In the row of the instance, click More > Delete in the Operation column.
    3. Click Confirm.

      Resources on deleted instance are released and cannot be restored.

Upgrading Multiple Dedicated WAF Instances

If you have deployed multiple dedicated WAF instances for your workloads, perform the following steps to upgrade them:

  1. On the ELB console, obtain the weight of a dedicated instance and then change the weight to 0.

    Requests are not forwarded to a backend server if its weight is set to 0.

  2. Upgrade the dedicated WAF instance during off-peak hours.

    View the monitored metrics on Cloud Eye for the dedicated WAF instance, if there are less than five new connections, the traffic to the instance has decreased. For details, see Viewing Metrics of a Dedicated WAF Instance.

    1. In the navigation pane on the left on the WAF console, choose Instance Management > Dedicated Engine to go to the dedicated WAF instance page.
    2. In the row containing the desired instance, click Upgrade in the Operation column.
    3. Confirm the upgrade conditions and click Confirm.

      It takes about 5 minutes for the upgrade to complete.

  3. Run the curl command on any ECS in the VPC the dedicated WAF instance locates to check whether the workloads are normal.

    • HTTP workloads

      curl http://IP-address-of-the-dedicated-WAF-instance :Service-port -H "host:Service-domain-name" -H "User-Agent: Test"

    • HTTPS workloads

      curl https://IP-address-of-the-dedicated-WAF-instance :Service-port -H "host:Service-domain-name" -H "User-Agent: Test"

    Check whether the service is normal. If the service is normal, go to 4. If the service is abnormal, fix the issue by referring to Why Is My Domain Name or IP Address Inaccessible? and How Do I Troubleshoot 500/502/504 Errors?. After the fault is rectified, go to 4.

    NOTE:
    To run a curl command, your ECS must meet the following requirements:
    • The network communication is normal.
    • A curl command line tool has been installed. If you are using a Windows ECS, manually install a curl command line tool on it. If you are a using a non-Windows ECS, no such action is required as the curl tool is installed automatically along with the operating system.

  4. On the ELB console, change the weight of the dedicated instance from 0 to the one you obtain in 1.
  5. Upgrade other dedicated WAF instances one by one by referring to 1 to 4.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback