Overview
Search
⌃K
Links

Shell access

Enabling shell access using native Docker or ECS
DuploCloud allows shell access into the deployed containers. Shell access is enabled in different ways, depending on if you are using a native Docker method or ECS.

Access to the Docker Native container shell

To enable shell access for the DuploCloud Docker Native container system:
  1. 1.
    In the DuploCloud Portal, navigate to DevOps -> Containers -> EKS/Native, displaying the Services page.
    Enable Docker Shell button on the Services page
  2. 2.
    Click Enable Docker Shell. The Start Shell Service pane displays.
  3. 3.
    From the Platform list box, select Docker Native.
    Start Shell Service pane with Docker Native selected for Platform
  4. 4.
    From the Certificate list box, select a certificate name.
  5. 5.
    From the Visibility list box, select Public.
  6. 6.
    Click Update.
A provisioned service named dockerservices-shell is created, enabling you to access the Service containers using SSH.

Access to Kubectl shell (K8s) and ECS Task shell

Optionally, DuploCloud provides just-in-time (JIT) access to both the container shell and the kubectl shell directly from your browser.
  1. 1.
    In the DuploCloud Portal, navigate to DevOps -> Containers -> EKS/Native, displaying the Services page.
  2. 2.
    Click Enable Docker Shell. The Start Shell Service pane displays.
  3. 3.
    From the Platform list box, select Kubernetes.
  4. 4.
    From the Certificate list box, select a certificate name.
  5. 5.
    From the Visibility list box, select Public.
  6. 6.
    Click Update.
Start Shell Service pane with Kubernetes (ECS) selected for Platform
Now you can begin using the Kubernetes (K8s) shell from the DuploCloud Portal for K8s services by clicking KubeCtl Shell on the Services page.
KubeCtl Shell button on the Services page

View the Host and container shell for Native and Kubernetes

  1. 1.
    In the DuploCloud Portal, navigate to DevOps -> Containers -> EKS/Native, displaying the Services page.
  2. 2.
    Select a Service from the Name column.
  3. 3.
    Click the Containers tab.
  4. 4.
    To display the shell for any container, click the
    icon in the Actions column of the appropriate row.
  5. 5.
    Select Container Shell or Host Shell from the Actions menu. The container or host shell launches in AWS Systems Manager.
    Container Shell and Host Shell launch options in the Actions column of the Containers tab

View the ECS task shell

You can also view the ECS task shell.
  1. 1.
    In the DuploCloud Portal, navigate to DevOps -> Containers -> ECS, displaying the Services page.
  2. 2.
    Click the Tasks tab.
  3. 3.
    To display the ECS task shell for any task, click the
    icon in the Actions column of the appropriate row.
  4. 4.
    A browser launches to give you access to the ECS task shell.
ECS task shell option in the Actions menu of the Tasks tab