HomeComputeFunctionsHow to
Create a Functions namespace

Update content

How to create a functions namespace

Reviewed on 20 December 2021Published on 26 May 2021

This page shows you how to create your first functions namespace. Namespaces allow you to group your functions and share environment variables between them.

Requirements:
  1. Click Functions in the Serverless section of the side menu. The functions page displays.

  2. Click Create a namespace. The functions namespace creation wizard displays.

  3. Complete the following steps in the wizard:

    • Enter a name and optionally a description for your namespace. The name must only contain alphanumeric characters.
    • Choose a region, which is the geographical location in which your namespace will be deployed.
    • Enter any environment variables required for your namespace. Environment variables configured in a namespace will be available in all functions/apps within the same namespace. For each environment variable, click +Add and enter the key/value pair.
    • Set secret environment variables (optional). Secrets are environment variables which are injected into your function and stored securely, but not displayed in the console after initial validation. Add a key and a value.
    • Verify the estimated cost.
  4. Click Create a namespace to finish.

Your namespace is now created and you are taken to its Functions tab.

See Also