Updated on 2024-12-24 GMT+08:00

Accessing a Black-holed Server Through ECS

Application Scenarios

When your server is under a traffic flooding attack, a black hole will be triggered to block all accesses from the Internet. You can connect to a black-holed server through an Elastic Cloud Server (ECS).

Once you have connected your ECS to a server in the black hole state, you can transfer files to the server and can make whatever configuration changes are necessary.

Limitations and Constraints

Ensure the ECS can be accessed and in the same region as the black-holed server.

Resource and Cost Planning

Resource

Description

Quantity

Cost

ECS

Used to connect to the black-holed server.

1

For details about ECS billing modes and standards, see ECS Billing Description.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click and choose Computing > Elastic Cloud Server.
  4. Log in to the ECS that can be accessed and in the same region as the server which a black hole has been triggered for.

    Select a login method and log in to the ECS.

  5. Table 1 describes how to connect to a server which a black hole has been triggered for.

    Table 1 Server connection

    ECS OS

    Black-holed Server OS

    Connection Method

    Windows

    Windows

    Use MSTSC to log in to the server which a black hole has been triggered for.

    1. Search for mstsc in the ECS and click it to open the Remote Desktop Connection dialog box.
    2. Click Show Options in the displayed dialog box.
    3. Enter the EIP and username (Administrator by default) of the server which a black hole has been triggered for.
    4. Click OK and enter the login password as prompted to log in to the server.

    Linux

    Use a remote login tool, such as PuTTY or Xshell, to log in to the server.

    Linux

    Windows

    1. Install a remote connection tool, such as rdesktop.
    2. Run the following command to log in to the server which a black hole has been triggered for.

      rdesktop -u Username -p Password -g Resolution EIP bound to the server which a black hole has been triggered for

    Linux

    Run the following command to log in to the server which a black hole has been triggered for.

    ssh EIP bound to the server which a black hole has been triggered for