Updated on 2025-08-12 GMT+08:00

Preparations

Before starting the practice, complete the following preparations. In this practice, project administrator Sarah performs the preparations.

Configuring SWR

  1. Log in to the SWR console.
  2. Click Generate Login Command. The login command is displayed in a dialog box.

    In this command,
    • The character string following -u is the username.
    • The character string following -p is the password.
    • The remaining string is the SWR server address.
    Figure 1 Login command

    The generated login command is valid for 24 hours. If you need a long-term login command, see Obtaining a Long-Term Login or Image Push/Pull Command.

  3. Click Create Organization. In the displayed dialog box, enter phoenix as the organization name and click OK. (If a message is displayed indicating that the organization already exists, enter another name.)

    Choose Organizations from the navigation pane. The created organization is displayed.

    Figure 2 Organizations

Creating a Project

  1. Go to the CodeArts homepage.

    1. Log in to the CodeArts console, click , and select a region where you have enabled CodeArts.
    2. Click Go to Workspace.

      If your account uses the old billing mode (see Old Billing Modes), click Access Service.

  1. Click Create > Create Project, and select DevOps Full-Process.

    If there are no projects displayed, select DevOps Full-Process.

  2. Enter the project name Phoenix Mall and click OK.

    A success message is displayed, indicating that the project is created.

Adding Project Members

  1. Create three IAM users: Maggie, Chris, and Billy. For details, see Creating an IAM User.
  2. Return to the CodeArts homepage, go to the Phoenix Mall project, and choose Settings > Members page.
  3. On the Member View tab, choose Add Members > From My Account.
  4. In the displayed dialog box, select Maggie, Chris, and Billy, and click Next.
  5. Click the Role drop-down list in each row, select Project manager for Maggie, Developer for Chris, and Tester for Billy, and then click Save.

    The added members are displayed.

  6. Choose Settings > Permissions. The permissions management page is displayed.
  7. Select Developer from the role list, and click Edit. Enable Create Environment under CodeArts Deploy > Applications, and click Save.

    Figure 3 Updating permissions

    The modified permissions are displayed.