Log on to the Function Compute console.
Create a service. The Service Name of this example is apigateway-demo, and the Region is China East 2 (Shanghai). Enable Advanced Settings, and configure the project and Logstore. For Role Operation, choose Create New Role. For System Policies, choose
AliyunLogFullAccess. Click Authorize and then click OK.
Select a service in the left-side navigation pane to enter the new service page.
Click Create Function.
On the page that appears, click Select All and select a development language you are familiar with in the drop-down list. The sample code in this example is described in multiple languages.
Select Empty Function.
Create a function and set the service name, function name, function description, and runtime environment.
Verify that all the information is correct, and click Create.
How helpful was this page?
What might be the problems?