Updated on 2023-11-15 GMT+08:00

Preparation

  1. Obtain the program package of graceful shutdown with AS.
  2. Create an agency named ASOperation, and grant it the ECS FullAccess and AutoScaling FullAccess permissions. For details, see Configuring Agency Permissions.

Creating an Agency

  1. Log in to the IAM console.
  2. Choose Agencies from the navigation pane, and click Create Agency in the upper right corner.
    Figure 1 Creating an agency
  3. Configure the agency.
    • Agency Name: Enter ASOperation.
    • Agency Type: Select Cloud service.
    • Cloud Service: Select FunctionGraph.
    • Validity Period: Select Unlimited.
    • Description: Describe the agency.
  4. Click Next. On the displayed page, search for ECS FullAccess and AutoScaling FullAccess in the search box on the right and select them.
  5. Click Next and select the application scope of the permissions based on service requirements.
  6. Click OK.