All Products
Document Center

Serverless App Engine:Preparations

Last Updated:Aug 31, 2023

This topic describes the preparations that you must complete before you use Serverless App Engine (SAE) to host applications. For example, you must activate SAE, grant permissions to a RAM user, create a namespace, and create a virtual private cloud (VPC). A namespace is an isolated resource environment. A VPC is an isolated network environment.

Step 1: Activate SAE and grant permissions to an Alibaba Cloud account

Before you use SAE, you must activate SAE and grant permissions to your Alibaba Cloud account. You are not charged for activating SAE. You are charged for your actual resource usage in SAE based on the pay-as-you-go billing method.

  1. Go to the product page of SAE.
  2. Click Buy Now.

  3. On the Login page, enter your Alibaba Cloud account and password, and click Sign In.

  4. On the Serverless App Engine page, select I have read and agree Serverless App Engine Terms of Service and click Activate Now.

  5. On the Activated page, click Console. In the Welcome to Serverless App Engine (SAE) dialog box, click Confirm.

Step 2: (Required for a RAM user) Grant permissions to a RAM user

The first time you log on to the SAE console as a RAM user, the Welcome to SAE dialog box appears on the SAE console homepage. You must grant permissions to the RAM user. Then, you can use the RAM user to access the authorized Alibaba Cloud resources. For more information, see Grant permissions to a RAM user.


Step 3: Create a namespace

Namespaces help you logically isolate runtime environments based on the service calls and distributed configuration pushes of applications. If you use multiple environments, such as the development environment, test environment, and production environment, we recommend that you use namespaces to logically isolate applications. This way, you can efficiently manage applications, perform one-click application start and stop, and improve application security.

  1. Log on to the SAE console.
  2. In the left-side navigation pane, click Namespaces. In the top navigation bar, select a region. Then, click Create Namespace.
  3. In the Create Namespace panel, configure the following settings and click OK.

    For more information, see Manage a namespace.

    • Required:Namespace: Enter a name for the namespace.

    • Required:Namespace ID:

      • Prefix: You cannot change the prefix. The prefix is generated based on the selected region. For example, the prefix of the China (Hangzhou) region is cn-hangzhou.

      • Suffix: You can change the suffix. You can specify a custom suffix.

    • Region: You cannot change the region.

    • Description: Enter a description for the namespace.

Step 4: Create a VPC

A VPC provides an isolated network environment for your applications. Applications that are deployed in the same VPC can access each other. This helps improve application security at the network level. For information about how to create a VPC, see Create a VPC with an IPv4 CIDR block.

  • If you have not activated VPC, activate VPC as prompted.

  • The region that you select when you create a VPC must be the same as the region that you selected when you created a namespace in Step 3: Create a namespace.