Skip to content
EasyFleet.

Smarter Fleet Management

Education & Enterprise

How to Run Skald in a Single Tenant Setup: Architecture and Configuration

Running Skald in a single-tenant configuration involves isolating the application environment to ensure that a single client or organizational entity has exclusive access to the underlying infrastructure, compute resources, and data st...

Running Skald in a single-tenant configuration involves isolating the application environment to ensure that a single client or organizational entity has exclusive access to the underlying infrastructure, compute resources, and data storage. By moving away from multi-tenant shared environments, organizations gain greater control over compliance, data residency, and performance tuning, effectively eliminating the "noisy neighbor" effect common in shared SaaS deployments.

Contents

Understanding the Single-Tenant Model for Skald

In a single-tenant architecture, every instance of the Skald application is deployed in its own logically—and often physically—isolated environment. Unlike multi-tenant models where a single application instance serves multiple customers with partitioned data, the single-tenant approach grants the user a dedicated stack. For enterprises with stringent regulatory requirements, such as those in finance, healthcare, or government, this provides a deterministic environment where security policies and update cadences can be managed independently of other users.

The transition to a single-tenant setup for Skald is typically driven by the need for enhanced data security, the requirement to run custom plugins or integrations that might conflict with a global platform, or the necessity to perform rigorous load testing without external interference. It requires a more sophisticated deployment pipeline, as the organization becomes responsible for managing the lifecycle of the instance, including scaling, patching, and backups.

Prerequisites for Single-Tenant Deployment

Before initiating the setup, you must ensure that the foundational infrastructure is prepared to host the Skald environment. A single-tenant setup is inherently more resource-intensive than a SaaS equivalent.

Infrastructure Requirements

  • Compute Resources: A dedicated server cluster or virtual private cloud (VPC) slice. Ensure the environment supports the specific CPU and RAM footprints required for Skald’s core services.
  • Storage Partitioning: Dedicated database clusters. While Skald may support various backends, single-tenant configurations work best with dedicated, encrypted storage volumes to prevent cross-tenant data leakage.
  • Networking: Private subnets, dedicated load balancers, and internal firewalls. In a single-tenant environment, you must handle your own traffic routing and TLS/SSL termination to ensure data in transit is handled according to your internal security protocols.
  • Identity Management: Integration with your existing IdP (Identity Provider) via SAML or OIDC. Since this is a private instance, you are responsible for defining access control policies that align with your corporate directory.
How to Setup Multi-Tenant Organisation in Microsoft 365

Technical Configuration Steps

Implementing a single-tenant instance requires careful orchestration of the application’s components. Because you are not utilizing the vendor’s managed multi-tenant orchestration layer, you must replicate these operational controls manually or via Infrastructure as Code (IaC) templates.

1. Environment Isolation

Utilize containerization technologies like Docker or Kubernetes to wrap the Skald application. This ensures that the dependencies required by Skald remain within the single-tenant container, preventing conflicts with other applications running on the same host machine.

2. Database Provisioning

Configure the application to connect to a dedicated database instance. During the initial configuration phase, ensure that the connection string points to a localized cluster. It is standard practice in single-tenant deployments to implement a "database-per-tenant" strategy, even if you are only running one tenant, as this simplifies the process of performing point-in-time restores should data corruption occur.

3. API and Gateway Setup

Deploy a dedicated API gateway in front of your Skald instance. This allows you to apply custom rate limiting, IP whitelisting, and request logging that is specific to your organizational security perimeter. This gateway acts as the primary barrier, protecting the Skald application logic from external threats and unauthorized access attempts.

4. Continuous Deployment and Updates

In a single-tenant setup, you do not receive "automatic" updates. You must establish a pipeline to test and apply updates to your instance. This involves:

  • Staging: Deploying the new version to an identical, non-production single-tenant instance.
  • Validation: Running automated smoke tests against the API and primary interfaces.
  • Deployment: Rolling the update to the production environment, ensuring that database schema migrations are executed successfully during the maintenance window.

Comparative Analysis: Multi-Tenant vs. Single-Tenant

The decision to run Skald in a single-tenant mode is a balance between operational autonomy and management overhead. The following table highlights the primary distinctions.

Feature Multi-Tenant (SaaS) Single-Tenant (Private)
Management Managed by Vendor Managed by Customer
Customization Limited to UI/Config Full System/API Access
Security Shared Responsibility Full Customer Oversight
Deployment Immediate/Automated Scheduled/Manual
Performance Variable (Noisy Neighbor) Deterministic (Dedicated)

Maintenance and Operational Troubleshooting

Operating your own instance of Skald means you are the first point of contact for service outages or performance bottlenecks. Robust monitoring is essential.

Monitoring Strategy

Implement full-stack observability. Track metrics such as CPU saturation, memory pressure, and database transaction latency. Because you are in a single-tenant environment, any degradation in service is almost certainly due to your internal workload, your infrastructure configuration, or a recent update you applied.

Common Troubleshooting Scenarios

  • Connection Timeouts: Often caused by overly restrictive firewall rules in your VPC. Verify that your ingress and egress rules allow traffic on the specific ports Skald requires for internal communication.
  • Integration Failures: Single-tenant setups often struggle with third-party webhooks if the instance is not accessible from the public internet. Ensure your API gateway is correctly configured to receive incoming webhooks from external services.
  • Version Mismatch: If the application fails to start after an update, check the database migration logs. A common failure point in manual updates is the failure to run the latest schema migration scripts against the private database instance.

Frequently Asked Questions

Can I move my data from a multi-tenant Skald instance to a single-tenant one? Yes, data migration is possible, but it requires an export/import process coordinated with the vendor. You will need to extract the data in a format compatible with your dedicated database backend and ensure all schemas align with the version of Skald you are deploying in your single-tenant environment.

Is it more expensive to run Skald in a single-tenant setup? Generally, yes. While you might avoid per-user subscription fees in some licensing models, you must account for the costs of cloud infrastructure, including compute, managed database services, backup storage, and the human capital required to maintain the deployment.

Do I need a dedicated team to maintain a single-tenant Skald instance? You need at least one dedicated DevOps or site reliability engineer (SRE) who understands the stack. While it does not necessarily require a large team, the complexity of managing patches, backups, and security hardening is significantly higher than simply using a SaaS login.

What happens to my data security policies in this setup? You are responsible for the entire security posture. You must implement encryption at rest, manage your own secrets (keys/tokens) via a service like HashiCorp Vault, and ensure that your infrastructure meets the compliance certifications (such as SOC2 or GDPR) required by your organization.

Can I run Skald on-premises in a single-tenant setup? If the license agreement permits, you can deploy Skald on your own local hardware. This requires setting up the same network and database architecture you would use in a cloud-based single-tenant setup, while also managing physical server redundancy and power supply continuity.

Recommendation for Deployment

If you decide to proceed with a single-tenant setup for Skald, start by creating a "Minimum Viable Infrastructure" (MVI) using Infrastructure as Code tools such as Terraform or Ansible. This allows you to recreate your environment consistently. Avoid configuring the instance manually via the terminal; automated scripts reduce the risk of configuration drift, which is the most common cause of failure in self-hosted, single-tenant environments. Always keep a strict separation between your production and staging environments to ensure that testing updates does not disrupt your live services.

Written by

Phillip Dawson

Executive Productivity & Operations Editor

You Might Also Like

View All