Initiate New Deployment
From the main menu, select the Deployments tab- Click on the Create button to start a new deployment
- Enter Deployment Name: Provide a unique name for your deployment.
- Select Cluster: Choose the cluster where you want to deploy your model.
- Select Model: Choose the model you want to deploy from the list.
For all your Private Deployments, select Shakti Studio as the cluster.

Configure Infrastructure (Resource Details)
- Choose the appropriate accelerators for your deployment, such as GPUs/CPUs.
Adding Scaling Metrics
- Specify the scaling metrics that will be used to auto-scale your deployment.
- Set the threshold values for each metric to trigger scaling actions.

Deploy
- Click on the Deploy Model button to initiate the deployment process.
- Check the right part of the screen to see the creation status of your deployment.
- Monitor the deployment status to know when the model is ready for usage.
- The status will show
deployedonce done. Your model is now ready for use.
SSH Access
SSH access lets you connect directly to a running container in your deployment, which is useful for debugging, inspecting logs, or running ad-hoc commands without rebuilding and redeploying.
SSH Runtime
The SSH Runtime dropdown controls how SSH is served:- Sidecar: Shakti Studio injects a sidecar container that handles SSH. Use this if your image does not already include an SSH server. No changes to your Dockerfile are required.
- Main Container: SSH runs inside your primary container. Use this when you are bringing your own image that already has
openssh-serverinstalled and configured.
Users
Primary User is created automatically. The username is derived from your deployment slug (e.g.<YOUR-ORG-NAME>-<DEPLOYMENT-SLUG>) and gets Root access by default.
Additional Users follow the format <YOUR-ORG-NAME>-<DEPLOYMENT-SLUG>-<SUFFIX> and are granted Limited access. You can add up to 4 additional users alongside the primary user.
Each user is associated with an SSH Secret, a Kubernetes secret holding the authorized public key for that user.
Bringing Your Own Image with SSH
If you select Main Container as the runtime, your image must haveopenssh-server installed and sshd configured to start on launch. Below is a reference Dockerfile:
Using CUDA 12.x (for CUDA < 13.0.0)
Using CUDA 12.x (for CUDA < 13.0.0)
If your environment requires CUDA 12.x, replace the base image in the Dockerfile above with:The rest of the Dockerfile remains unchanged.
Entrypoint Script Example
Entrypoint Script Example
Create an
entrypoint.sh file in the same directory as your Dockerfile. This script initializes the SSH environment and starts the SSH daemon:entrypoint.sh
openssh-servermust be installed, SSH will not work without it.- Password authentication is disabled; only public key auth is accepted.
- Port
2222must be exposed. ssh-keygen -Agenerates the host keys at build time.- The
CMDoptionally runs a bootstrap script (passed via$SSH_BOOTSTRAP_SCRIPT) before startingsshdin the foreground.
The SSH Secret you configure in the Secrets tab must contain the public key that corresponds to the private key you will use when connecting.
Generate an SSH Key Pair
Before creating your deployment, generate a key pair:shakti_studio_key.pem: your private key. Keep this locally; never share it.shakti_studio_key.pub: your public key. Add this to Shakti Studio as an SSH Public Key secret under Integrations → Secrets.
Connecting to a Running Deployment
Once the deployment status showsdeployed, open the deployment detail page. The SSH Access section shows the ready-to-use command pre-filled with your username and host:

-i to your .pem private key file:
- SSH User: Auto generated primary username tied to your deployment slug
- Access Level:
rootfor the primary user,limitedfor additional users - SSH Runtime:
sidecarormain_container, as configured at creation

