Monday, 22 July 2024

Create and access an environment in Azure Deployment Environments

 

Create and access an environment in Azure Deployment Environments

As a developer, you can create environments associated with a project in Azure Deployment Environments. An environment has all Azure resource preconfigured for deploying your application.

Prerequisites

Create an environment

An environment in Azure Deployment Environments is a collection of Azure resources on which your application is deployed. You can create an environment from the developer portal.

 Note

Only users who have the Deployment Environments User role, the DevCenter Project Admin role, or a built-in role that has appropriate permissions can create an environment. Users who have the Deployment Environments Reader role can view their own environments, and environments created by others.

  1. Sign in to the developer portal.

  2. From the New menu at the top left, select New environment.

    Screenshot showing the new menu with new environment highlighted.

  3. In the Add an environment pane, select the following information:

    FieldValue
    NameEnter a descriptive name for your environment.
    ProjectSelect the project you want to create the environment in. If you have access to more than one project, you see a list of available projects.
    TypeSelect the environment type you want to create. If you have access to more than one environment type, you see a list of available types.
    Environment definitionsSelect the environment definition you want to use to create the environment. You see a list of the environment definitions available from the catalogs associated with your dev center.

    Screenshot showing add environment pane.

    If your environment is configured to accept parameters, you can enter them on a separate pane. In this example, you don't need to specify any parameters.

  4. Select Create. You see your environment in the developer portal immediately, with an indicator that shows creation in progress.

Access an environment

You can access and manage your environments in the Azure Deployment Environments developer portal.

  1. Sign in to the developer portal.

  2. You can view all of your existing environments. To access the specific resources created as part of an environment, select the Environment Resources link.

    Screenshot showing an environment card, with the environment resources link highlighted.

  3. You can view the resources in your environment listed in the Azure portal.

    Screenshot showing Azure portal list of environment resources.

    Creating an environment automatically creates a resource group that stores the environment's resources. The resource group name follows the pattern {projectName}-{environmentName}. You can view the resource group in the Azure portal.

No comments:

Post a Comment