Managing Deployment on a Docker Container

When configuring the deployment details in a deployment stage, if you select the Docker deployment mode, the Docker Container section is active on the Deployment tab within that stage. The cloud accounts that you select during stage configuration are listed in the Docker Container section.

To manage your deployments in your desired Kubernetes cluster from this section, do the following:

Configure a Cloud Instance

  1. On the Deployment tab, in the Docker Container section, all the cloud accounts configured for your deployment stage are displayed.

    Each cloud account card represents a configured cloud account. From each card, you can add instances to deploy your technologies to that specific account.

    Click +Add Instance and choose a machine configuration option that suits your deployment requirements. One or more of the following options are available depending on the platform configuration enabled by your administrator.

    • Large - 8GB RAM 2vCPU

    • Medium- 4GB RAM 2vCPU

    • Small- 2GB RAM 2vCPU

    • Custom configuration

      Note:

      If your desired instance configuration option is not available in the list, contact your platform administrator.

  2. Click Configure to define the cloud account and network settings.

  3. In the Cloud Account and Network Settings side drawer, your chosen instance type, memory, and CPU configuration are displayed at the top. Review the instance configuration and then do the following:

    Field Action/Description
    Name Provide a logical name for your instance.
    Hard Disk Size Select the desired hard disk size from the list. The disk size determines how much space is available for your container images, logs, and application data. For Docker deployments, 20 GB is the recommended minimum size. Increase the size if your applications handle large data volumes or generate heavy logs.
    Cloud Account The cloud account on which you configure a cloud instance is auto-populated.
    Use Public or Private Subnet

    Enable the Use Public Subnet toggle to launch the instance in a public subnet. Then, select a Public Subnet from the dropdown.

    Otherwise, select a Private Subnet from the dropdown to deploy the instance within a private network.

    Security Groups Select one or more security groups. They act as virtual firewalls controlling inbound and outbound traffic for instances hosting your Docker containers.
    Application Security Groups (Optional) If you configure settings for an Azure instance, select one or more application security groups. This field is optional.

  4. Click Save to create the instance and apply the specified cloud and network settings..

Creating Load Balancer Manually

If, while creating or editing a stage, you choose to manually create a load balancer for your Docker deployment, you must configure the load balancer to complete your technology deployment.

Click Configure Load Balancer.

In the Configure Load Balancer side drawer, complete the steps mentioned on the UI, get the DNS name of your load balancer, and provide it in the DNS Name field.

Manually configuring load balancerfor Docker deployments

View Technologies Pending for Deployment

In the Docker Container section, in the upper left corner, the list of ready-to-deploy technologies that you have added in the Develop phase is displayed. You can search for your desired technology in the list by the technology name or its title that you give while adding it in the Develop phase.

Add Technologies for Deployment

After you define the cloud account and network settings for your cloud server instance, you can add and configure the technologies you want to deploy within the Docker containers on the configured cloud instance. Do the following:

  1. Click Add Technologies. The list of ready-to-deploy technologies that you have added in the Develop phase is displayed. You can search for your desired technology by the technology name or its title that you give while adding it in the Develop phase.

  2. To add a technology for deployment, click Add next to the desired technology .

  3. In the side drawer, configure the following details required for the deployment. These settings ensure your application is packaged, built, and deployed correctly within the selected cloud account.

  4. Click Add to save the details.

    The technology is added for deployment to your configured cloud instance.

    At this point, you can edit the deployment configuration details for your technology.

    In the upper right corner, click Deploy. The list of all your configured and ready-to-deploy technologies is displayed in a side drawer. Select the desired ones, and then click Deploy.
    The time to deploy each technology may vary depending on the technology complexity, size of the application, dependencies, and many other factors related to the deployment environment and network conditions.

  5. In the upper right corner, click Refresh to view the latest status of your technology deployments.

    To fetch the real-time status of your technology deployments from the Jenkins server, click Force Refresh.

  6. As soon as you initiate technology deployment, an instance is created in your cloud account based on your specified configuration. On the Docker Container tab, the instance tile is the visual representation of that cloud instance. In the upper right corner of the instance tile, you can do the following:
  • Monitor the status of your cloud instance.

  • Add more technologies for deployment

  • Click the ellipsis (...) to do the following:

    • Stop a running instance

    • Remove instance from the cloud account

      Note:

      To delete an instance from your cloud account, first you must uninstall all the technologies deployed on the cloud instance.


    • View or edit instance configuration

Deploy Technologies to Docker Container

After a technology is added for deployment to your selected cloud account, do the following:

Uninstall a Technology

When a technology is no longer required in your product or pipeline, you can uninstall it from Calibo Accelerate. Uninstalling a technology removes its configuration and also deletes the associated Continuous Integration (CI) and Continuous Deployment (CD) jobs from the configured CI/CD tool.

This ensures your product remains clean and that no unnecessary jobs are executed in the background.

To uninstall a technology, do the following:

  1. On the technology card, click the ellipsis (...) menu in the upper-right corner.

  2. From the dropdown menu, select Uninstall.

  3. A confirmation dialog box appears.

    • Click Uninstall to proceed.

    • Click Cancel if you want to retain the technology.

  4. Once confirmed:

    • The selected technology is uninstalled from Calibo Accelerate.

    • Related CI and CD jobs are deleted automatically from the connected CI/CD tool.

Edit Technology Details

After a technology is added to your product, you may need to update its deployment configurations over time. For example, you might want to adjust the context path, update CI/CD settings, or modify functional testing parameters.

To edit technology details, do the following:

  1. On the technology card, click the ellipsis (...) menu in the upper-right corner.

  2. From the dropdown menu, select Edit Details. This opens the deployment configuration details for the selected technology.

  3. Modify the desired settings.

  4. Save your changes.

    With the updated configuration in place, you can now trigger the CI pipeline and deploy the technology to the selected environment.

Related Topics Link IconRecommended Topics

What's next? Data Pipeline Studio