Deployments
The deployment system manages rolling out application versions to projects in specific environments. With Hydra Deploy, you can deploy and monitor your applications with one click.
Deployment Overview
Go to Deployments in the navigation menu to see an overview of all deployments in your organization.
What you see:
- A list of all deployments
- Filter capabilities (by project, application, environment, user)
- Deployment status
- Timestamp
- The user who performed the deployment
Deployment Statuses:
- Pending - Deployment is in queue
- In Progress - Deployment is being executed
- Success - Deployment completed successfully
- Failed - Deployment failed (check logs for details)
Executing a Deployment
There are multiple ways to execute a deployment:
Method 1: From Project Matrix
- Go to Projects
- Select the project
- Click on an application in the deployment matrix
- All versions are shown
- Click on Deploy next to the desired version and environment
- A confirmation dialog appears
- Confirm the deployment
Method 2: From Deployment Overview
- Go to Deployments
- Click on Deploy
- Select in the dropdowns:
- Application - The application you want to deploy
- Version - The version you want to deploy
- Project - The target project
- Environment - The target environment
- See a deployment summary
- Confirm to deploy
Method 3: From Deployment History
You can also redeploy earlier deployments:
- Go to the details of an earlier deployment
- Click on Redeploy
- Confirm to redeploy the same deployment
Deployment Details
Click on a deployment to view the details:
General Information:
- Application - Name of the application
- Version - Version number being deployed
- Project - The target project
- Environment - The target environment
- Status - Current status of the deployment
- Triggered By - User who performed the deployment
- Timestamp - When the deployment was started and/or completed
Deployment Logs:
View the output of the deployment script:
- Real-time output (if deployment is still running)
- Full logs (if deployment is completed)
- Error messages (if deployment failed)
Configurations:
View the configuration used for this deployment:
- Base configuration from the application
- Project-specific overrides
- Final result after merge
Deployment Configuration
Before deploying, you can check and adjust the configuration in the confirmation window:
- Config Editor - View and adjust the configuration
- Merge Preview - See how base config and overrides are merged
- Environment Tabs - Switch between different environments
This is useful to check that the correct configuration is used before you deploy.
Deployment Filters
In the deployment overview, you can filter deployments:
Available Filters:
- Triggered By - Filter by user
- Project - Filter by project
- Application - Filter by application
- Environment - Filter by environment
Pagination:
- Navigate through deployment history with pagination
- Set items per page
Deployment Best Practices
Deployment Order
For complex systems, it’s important to deploy in the correct order:
- Deploy databases and other stateful services first
- Deploy backend services after
- Deploy frontends last
Pre-Deployment Checks
- Check if all required agents are online
- Verify that configuration is correct
- Test first in a staging environment
Deployment Monitoring
- Monitor the deployment in real-time
- View the logs after deployment
- Verify that the application is running correctly
Rollback
If a deployment fails:
- View the logs to identify the problem
- Deploy a previous, stable version
- Adjust configuration if needed
- Deploy again
Deployment Matrix
The deployment matrix provides a visual overview of what is deployed where:
Matrix View:
- Rows: Applications and their versions
- Columns: Environments
- Cells: Deployment status and actions
What you see:
- Which version of each application is running in each environment
- Whether an environment has an agent
- Ability to deploy directly from the matrix
Auto Deploy
See the chapter Auto Deploy Rules for information about automating deployments based on rules.
Deployment History
The deployment history is important for:
- Audit trails - Who deployed what when
- Troubleshooting - Which deployment caused a problem
- Compliance - Proof of deployments and rollbacks
- Planning - Insights into deployment frequency and patterns
Using Deployment History:
- Go to Deployments
- Use filters to find specific deployments
- Click on a deployment to view details
- View logs, configurations, and result
Failed Deployments
If a deployment fails:
Possible Causes:
- Agent is offline
- Deployment script has errors
- Configuration is invalid
- Server is unreachable
- Missing dependencies
Steps to Resolve:
- View the deployment logs
- Identify the error message
- Fix the problem
- Redeploy or deploy an earlier version
Real-time Updates
Hydra Deploy uses websockets to provide real-time updates:
- Deployment progress
- Log output
- Status changes
You don’t need to refresh the page to see updates - everything happens automatically.