Creating and managing deployment project
    • PDF

    Creating and managing deployment project

    • PDF

    Article Summary

    Available in Classic and VPC

    Creating and managing deployment project explains how to create and manage deployment projects where deployment scenarios will be created.

    Create deployment project

    Note

    To create a deployment project, a SourceDeploy customer account or a sub account with the following permissions for each use environment is required. For how to set permissions, see Sub Account Guide.

    Service environmentPermissions
    VPCNCP_VPC_SOURCEDEPLOY_MANAGER or NCP_INFRA_MANAGER permissions
    ClassicNCP_SOURCEDEPLOY_MANAGER or NCP_INFRA_MANAGER permissions

    The following shows how to create a deployment project.

    1. Access the NAVER Cloud Platform console.
    2. Click the Services > Developer Tools > SourceDeploy menus, in that order.
    3. Click the [Create deployment project] button.
    4. When the deployment project creation page appears, proceed with the following steps in order.

    1. Basic settings

    Enter a name for the deployment project to create, and then click the [Next] button.

    2. Set up deployment environment

    The following describes how to set up a deployment environment.

    devtools-devtools-4-3_env_en

    1. Select Deployment stage.

      • The deployment stages provided by default are dev, test, and real.
      • You can click i-sourcedeploy_add to add a deployment stage. Enter a name for the deployment stage, and then click i-sourcedeploy_confirm.
        • You can add deployment stages after creating a deployment project as well. (See Add deployment stage)
    2. Select whether to enable the deployment stage.

    3. If you've selected Enabled for the deployment stage, then select a deployment target.

      • You can choose between a server created in NAVER Cloud Platform, Auto Scaling, Ncloud Kubernetes Service, and Object Storage for the deployment target.

        Note

        Ncloud Kubernetes Service is provided only in VPC, and you can select only in VPC.

        • If you've selected Server, select the server for application, and then click the [>]button.
        • When Auto Scaling is selected, select Auto Scaling Group.
        • If you've selected Ncloud Kubernetes Service, then select a cluster.
        Note

        Different Object deployments are supported according to deployment strategy. Below are Objects deployable for each deployment strategy.

        • Rolling: all Objects
        • Blue/Green: Pod, Deployment, ReplicaSet, ReplicationController, DaemonSet, StatefulSet, Service
        • Canary: Pod, Deployment, ReplicaSet, ReplicationController, Service
        • When you've selected Object Storage, please select a Bucket.
        Caution

        The deployment target must be created in advance, and the deployment server you selected must have the agent for SourceDeploy installed. For how to create deployment targets and install the agent, refer to the following.

      • If you've selected the deployment target as Auto Scaling, then an automatic deployment will be run for the servers scaled out if you have deployed to the Auto Scaling Group before.

    4. Click the [Next] button.

    3. Final confirmation

    Check the information for the deployment project configured, and then click the [Create deployment project] button.

    Manage deployment project

    You can add, edit, or delete deployment stages to the deployment project created, or create a deployment target in a deployment stage without a deployment target. You can also change or delete the deployment target set.

    Note

    To manage deployment projects, a customer account or a sub account with the changeProject permission is required. For how to set permissions, see Sub Account Guide.

    Add deployment stage

    The following describes how to add a deployment stage.

    1. In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.
    2. Click a deployment project to which you want to add a deployment stage.
    3. Click i-sourcedeploy_add.
    4. Enter a name for the deployment stage in the input field displayed, and then click i-sourcedeploy_confirm.
      • The deployment stage will be added.

    Edit deployment stage

    The following describes how to edit a deployment stage.

    1. In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.
    2. Click a deployment project in which you want to edit a deployment stage.
    3. Place the cursor on i-sourcedeploy_setting of the deployment stage to edit, and then click Edit.
    4. Edit the deployment stage name in the input field displayed, and then click i-sourcedeploy_confirm.
      • The deployment stage name will be changed.

    Delete deployment stage

    The following describes how to delete a deployment stage.

    1. In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.
    2. Click a deployment project in which you want to delete a deployment stage.
    3. Place the cursor on i-sourcedeploy_setting of the deployment stage to delete, and then click Delete.
    4. Click the [Delete] button in the deployment stage deletion pop-up window.
      • The deployment stage will be deleted.

    Set up deployment environment

    The following describes how to set up a deployment environment.

    1. In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.

    2. Click the deployment project and deployment stage you want to configure the deployment environment.

    3. Click the [Create] button. devtools-devtools-4-3_create_en

      Note

      The [Create] button is only displayed if the selected deployment stage doesn't have a deployment environment set up.

    4. Select a deployment target.

      • You can choose between a server created in NAVER Cloud Platform, Auto Scaling, Ncloud Kubernetes Service, and Object Storage for the deployment target.

        Note

        Ncloud Kubernetes Service is provided only in VPC, and you can select only in VPC.

      • For more information on the deployment target:, see 2.Deployment environment settings.

    5. Click the [Apply] button.

    Change deployment environment

    The following describes how to change a deployment environment.

    1. In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.

    2. Click the deployment project and deployment stage you want to change the deployment environment.

    3. Click the [Change settings] button. devtools-devtools-4-3_edit_en

      Note

      The [Change settings] button is only displayed if the selected deployment stage has a deployment environment set up.

    4. Change the deployment environment, and then click the [Apply] button.

    Delete deployment environment

    The following describes how to delete a deployment environment.

    1. In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.

    2. Click the deployment project and deployment stage you want to delete the deployment environment from.

    3. Click the [Delete] button. devtools-devtools-4-3_delete_en

      Note

      The [Delete] button is only displayed if the selected deployment stage has a deployment environment set up.

    4. Click the [Delete] button in the deployment environment deletion pop-up window.

      • The deployment environment will be deleted from the selected deployment stage.

    Delete deployment project

    Note

    To manage deployment projects, a customer account or a sub account with the deleteProject permission is required. For how to set permissions, see Sub Account Guide.

    The following shows how to delete a deployment project.

    1. In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.
    2. Select the deployment project to delete, and then click the [Delete] button.
      devtools-devtools-4-3_delete2_en
    3. Click the [Delete] button in the deployment project deletion pop-up window.
      • The selected deployment project will be deleted.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.