- Print
- PDF
Creating and managing deployment project
- Print
- PDF
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
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 environment | Permissions |
---|---|
VPC | NCP_VPC_SOURCEDEPLOY_MANAGER or NCP_INFRA_MANAGER permissions |
Classic | NCP_SOURCEDEPLOY_MANAGER or NCP_INFRA_MANAGER permissions |
The following shows how to create a deployment project.
- Access the NAVER Cloud Platform console.
- Click the Services > Developer Tools > SourceDeploy menus, in that order.
- Click the [Create deployment project] button.
- 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.
Select Deployment stage.
- The deployment stages provided by default are dev, test, and real.
- You can click to add a deployment stage. Enter a name for the deployment stage, and then click .
- You can add deployment stages after creating a deployment project as well. (See Add deployment stage)
Select whether to enable the deployment stage.
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.
NoteNcloud 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.
NoteDifferent 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.
CautionThe 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.
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.
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.
- In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.
- Click a deployment project to which you want to add a deployment stage.
- Click .
- Enter a name for the deployment stage in the input field displayed, and then click .
- The deployment stage will be added.
Edit deployment stage
The following describes how to edit a deployment stage.
- In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.
- Click a deployment project in which you want to edit a deployment stage.
- Place the cursor on of the deployment stage to edit, and then click Edit.
- Edit the deployment stage name in the input field displayed, and then click .
- The deployment stage name will be changed.
Delete deployment stage
The following describes how to delete a deployment stage.
- In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.
- Click a deployment project in which you want to delete a deployment stage.
- Place the cursor on of the deployment stage to delete, and then click Delete.
- 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.
In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.
Click the deployment project and deployment stage you want to configure the deployment environment.
Click the [Create] button.
NoteThe [Create] button is only displayed if the selected deployment stage doesn't have a deployment environment set up.
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.
NoteNcloud 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.
Click the [Apply] button.
Change deployment environment
The following describes how to change a deployment environment.
In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.
Click the deployment project and deployment stage you want to change the deployment environment.
Click the [Change settings] button.
NoteThe [Change settings] button is only displayed if the selected deployment stage has a deployment environment set up.
Change the deployment environment, and then click the [Apply] button.
- For more information on the deployment target:, see 2. Deployment environment settings.
Delete deployment environment
The following describes how to delete a deployment environment.
In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.
Click the deployment project and deployment stage you want to delete the deployment environment from.
Click the [Delete] button.
NoteThe [Delete] button is only displayed if the selected deployment stage has a deployment environment set up.
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
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.
- In the NAVER Cloud Platform console, click the Services > Developer Tools > SourceDeploy menus, in that order.
- Select the deployment project to delete, and then click the [Delete] button.
- Click the [Delete] button in the deployment project deletion pop-up window.
- The selected deployment project will be deleted.