# API and CLI Source: https://lineserve-37a2845a.mintlify.app/cloud-servers/api-cli Automate Cloud Servers with REST API, CLI, and Terraform. Lineserve Cloud Servers support OpenStack-compatible APIs (Nova, Neutron, Cinder) with Keystone v3 authentication. ## REST API Base API endpoints: * Identity (Keystone v3): `https://api.lineserve.net/v3` * Compute (Nova): `https://api.lineserve.net/v2.1/servers` Example request: ``` POST https://api.lineserve.net/v2.1/servers ``` ## CLI authentication ```bash theme={null} export OS_AUTH_URL=https://api.lineserve.net/v3 export OS_PROJECT_NAME=production export OS_USERNAME=you@example.com export OS_PASSWORD=******** export OS_USER_DOMAIN_NAME=Default export OS_PROJECT_DOMAIN_NAME=Default ``` ## Common CLI commands ```bash theme={null} # List servers lineserve server list # Create a server lineserve server create --name my-server --flavor m6i.medium --image ubuntu-24.04 # Snapshot a server lineserve server snapshot create --server-id srv-123 --name my-snapshot ``` ## Terraform Use the Lineserve Terraform provider for infrastructure as code. Authentication uses the same Keystone v3 environment variables as the CLI. # Backups and Snapshots Source: https://lineserve-37a2845a.mintlify.app/cloud-servers/backups-snapshots Protect data with snapshots, automated backups, and replication. Backups are not enabled by default. We recommend enabling automated backups or scheduling snapshots for production workloads. ## Instance snapshots Snapshots capture a full point-in-time image of your server (OS, apps, data). * Incremental snapshots store only changed blocks. * Create snapshots without downtime. * Restore quickly or launch new instances from a snapshot. * Copy snapshots across regions. Pricing (international USD): \$0.253 per GB per month (same as Universal SSD storage). ## Automated backups Automated backups run on a schedule and retain multiple restore points. * Schedules: hourly, daily, weekly, or custom. * Retention: 7, 30, or 90 days. * Optional backup windows and email notifications. Pricing (international USD): \$0.15 per GB per month. ## Volume snapshots Use volume snapshots for more granular backup control. ```bash theme={null} # Create a volume snapshot lineserve volume snapshot create \ --volume-id vol-abc123 \ --name "db-backup-2024" # Restore to a new volume lineserve volume create \ --snapshot snap-xyz789 \ --size 100 ``` ## Cross-region replication Replicate snapshots to other regions for disaster recovery. * Automatic replication to one or more regions. * RPO under 1 hour, RTO under 15 minutes. * Store replicas in Nairobi, Lagos, or Dar es Salaam. ## Best practices * Enable automated backups for all production servers. * Test restores at least quarterly. * Use the 3-2-1 rule: 3 copies, 2 media, 1 off-site. * Replicate critical data to multiple regions. # FAQ Source: https://lineserve-37a2845a.mintlify.app/cloud-servers/faq Common questions about Lineserve Cloud Servers. ## What is included with Cloud Servers? Each Cloud Server includes dedicated vCPU cores, RAM, bandwidth allowance, DDoS protection, monitoring, firewall, and 24/7 support. Public IPs and storage are priced separately based on usage. ## Where are your data centers located? We operate Tier III data centers in Nairobi (Kenya), Lagos (Nigeria), and Dar es Salaam (Tanzania), providing low-latency connectivity across East and West Africa. All facilities feature N+1 power redundancy, 24/7 security, DDoS protection, and a 99.99% uptime SLA for multi-AZ deployments. Planned locations include Johannesburg (South Africa) and Frankfurt (Germany). ## How does storage customization work? You can choose storage sizes from 1 GB to 16 TB. The default storage type is Network Universal SSD (balanced performance at $0.253/GB/month). You can also choose Network Basic HDD ($0.15/GB) or Network Fast SSD (\$0.425/GB). Linux typically needs 10 GB minimum, while Windows requires at least 32 GB. ## What are the different instance families? We offer 5 instance families: General Purpose (m6i. - balanced), Compute Optimized (c6i. - high CPU), Memory Optimized (r6i. - high RAM), Storage Optimized (i3. - high I/O), and Burstable (t3. - cost-effective with baseline CPU). ## How does Windows pricing work? Windows Server instances include an additional licensing fee on top of the base server and storage costs. Windows Server 2022 Standard adds \$21.02/month. Windows also requires a minimum of 32 GB storage. ## How is billing calculated? Instances are billed per-second with a 1-minute minimum. Total cost = compute price + storage (size x price per GB). Stopped instances are not charged for compute, only storage. Reserved instances offer up to 40% discount. ## Can I resize my instance? Yes. You can resize to a different instance type with a brief reboot. You can also adjust storage size independently. Data is preserved during resize operations. ## How do backups work? Backups are not automatic by default. Enable automatic snapshots in the console or use the Lineserve Backup Service. Backups are stored redundantly and can be restored with one click. ## What are the traffic limits? Each instance type includes a monthly outbound traffic allowance (example: 1 TB for m6i.small). Inbound traffic is always free. Additional outbound traffic is billed at \$8.97/TB. ## What is your uptime SLA? We offer 99.99% uptime SLA for multi-AZ deployments and 99.95% for single-AZ. If we fail to meet the SLA, you receive service credits. ## What support is included? All Cloud Servers include 24/7 technical support via chat, email, and phone. Enterprise customers get dedicated account managers and priority response times. # Getting Started Source: https://lineserve-37a2845a.mintlify.app/cloud-servers/getting-started Launch your first Lineserve Cloud Server in minutes. ## Before you start * A Lineserve account with access to the Cloud Servers product. * At least one SSH key ready to upload. * A region and availability zone selected (ke-1a, ng-1a, tz-1a). ## Launch from the console 1. Choose an instance family and size. 2. Pick an operating system image (Linux or Windows Server). 3. Select storage type and size. 4. Assign networking (public or VPC) and add firewall rules. 5. Add SSH keys and launch. Your server is provisioned in under 60 seconds and includes a public IP by default. ## Launch with the CLI ```bash theme={null} # Install the Lineserve CLI npm install -g @lineserve/cli # Authenticate (OpenStack-compatible) export OS_AUTH_URL=https://api.lineserve.net/v3 export OS_PROJECT_NAME=production export OS_USERNAME=you@example.com export OS_PASSWORD=******** export OS_USER_DOMAIN_NAME=Default export OS_PROJECT_DOMAIN_NAME=Default # Create a cloud server lineserve server create \ --name my-server \ --flavor m6i.medium \ --image ubuntu-24.04 \ --network public \ --key-name default \ --availability-zone ke-1a # Attach a public IP lineserve floating ip create public lineserve server add floating ip my-server 41.90.x.x ``` ## Connect to your server Linux (SSH): ```bash theme={null} ssh ubuntu@YOUR_SERVER_IP ``` Windows (RDP): * Use the public IP and the Windows Administrator password from the console. * Windows instances require at least 32 GB of storage. ## Next steps * Configure firewall rules and VPC networking. * Enable snapshots or automated backups. * Set up monitoring and alerts. # Operating Systems Source: https://lineserve-37a2845a.mintlify.app/cloud-servers/images-os Supported Linux and Windows images for Cloud Servers. Choose from popular Linux distributions or Windows Server images. Linux images require at least 10 GB of storage. Windows Server images require at least 32 GB. ## Linux images | OS | Version | Min storage | Recommended storage | | ----------- | ------------- | ----------- | ------------------- | | Ubuntu | 24.04 LTS | 10 GB | 25 GB | | Ubuntu | 22.04 LTS | 10 GB | 20 GB | | Ubuntu | 20.04 LTS | 10 GB | 20 GB | | Debian | 12 (Bookworm) | 10 GB | 20 GB | | Debian | 11 (Bullseye) | 10 GB | 20 GB | | CentOS | Stream 9 | 10 GB | 20 GB | | Rocky Linux | 9 | 10 GB | 20 GB | | AlmaLinux | 9 | 10 GB | 20 GB | | Fedora | 40 | 15 GB | 25 GB | ## Windows images Windows Server licenses are billed in addition to compute and storage. | OS | Version | Min storage | Recommended storage | Monthly license (USD) | | -------------- | ------------- | ----------- | ------------------- | --------------------- | | Windows Server | 2019 Standard | 32 GB | 60 GB | \$17.52 | | Windows Server | 2022 Standard | 32 GB | 60 GB | \$21.02 | | Windows Server | 2025 Standard | 32 GB | 60 GB | \$24.52 | Regional pricing is available in KES, NGN, and TZS based on your billing region. # Cloud Servers Source: https://lineserve-37a2845a.mintlify.app/cloud-servers/index Overview of Lineserve Cloud Servers, features, and architecture. Lineserve Cloud Servers are scalable virtual machines with customizable SSD storage and per-second billing. Deploy in under 60 seconds across Lineserve data centers in Africa with 99.99% uptime SLA for multi-AZ deployments. ## What you get * Five instance families: General Purpose, Compute Optimized, Memory Optimized, Storage Optimized, and Burstable. * Dedicated CPU cores on Intel Xeon Gold 6240R and KVM isolation. * Storage sized independently from compute (1 GB to 16 TB). * IPv4 and IPv6, VPC isolation, firewalls, and DDoS protection. * Snapshots, automated backups, and cross-region replication. * REST API, CLI, and Terraform support. ## Architecture highlights * 25 Gbps backbone and private VPC networking. * Multi-AZ deployments per region with redundant power, cooling, and network. * NVMe-backed storage with multi-zone replication. ## Quick links * [Get started](/cloud-servers/getting-started) * [Instance families](/cloud-servers/instance-families) * [Operating systems](/cloud-servers/images-os) * [Storage](/cloud-servers/storage) * [Networking](/cloud-servers/networking) * [Security and compliance](/cloud-servers/security-compliance) * [Backups and snapshots](/cloud-servers/backups-snapshots) * [Monitoring and scaling](/cloud-servers/monitoring-scaling) * [Pricing and billing](/cloud-servers/pricing-billing) * [Regions and latency](/cloud-servers/regions-latency) * [API and CLI](/cloud-servers/api-cli) * [FAQ](/cloud-servers/faq) # Instance Families Source: https://lineserve-37a2845a.mintlify.app/cloud-servers/instance-families Choose the right instance family for your workload. Lineserve Cloud Servers are available in five families with AWS-style naming. Instance sizes range from 1 to 64 vCPU and 1 to 512 GB RAM. ## Families at a glance | Family | Prefix | vCPU:RAM ratio | CPU type | Best for | | ----------------- | ------ | -------------- | ----------------------------- | ----------------------------------- | | General Purpose | m6i. | 1:4 | Dedicated | Balanced web and app workloads | | Compute Optimized | c6i. | 1:2 | Dedicated | CPU-heavy processing and batch jobs | | Memory Optimized | r6i. | 1:8 | Dedicated | In-memory databases and analytics | | Storage Optimized | i3. | 1:4 | Dedicated | High I/O and large datasets | | Burstable | t3. | 1:4 | Shared cores with CPU credits | Cost-efficient, variable workloads | ## Performance notes * Dedicated families use Intel Xeon Gold 6240R cores and support up to 25 Gbps networking. * Burstable instances use shared cores with baseline CPU performance and can burst to 100% using CPU credits. * Included outbound traffic varies by size (example: m6i.small includes 1 TB). * Storage is sized independently from compute and can be resized without changing instance type. ## When to choose what * Choose General Purpose for most web apps and microservices. * Choose Compute Optimized for CPU-bound workloads or high concurrency. * Choose Memory Optimized for caching, analytics, and large databases. * Choose Storage Optimized for heavy I/O, search, and log processing. * Choose Burstable for dev/test or light production traffic. # Monitoring and Scaling Source: https://lineserve-37a2845a.mintlify.app/cloud-servers/monitoring-scaling Observe performance and scale your Cloud Servers. ## Monitoring Cloud Servers include built-in metrics for: * CPU, memory, disk, and network usage. * Instance health and availability. * Storage performance and throughput. You can create dashboards and alerts for thresholds or unusual activity. ## Scaling * Vertical scaling: resize an instance to a different type with a brief reboot. * Horizontal scaling: add instances behind load balancers. * Auto-scaling: scale based on demand, schedules, or custom metrics. ## Operational tools * Web console access for troubleshooting. * Rescue mode for recovery operations. * API and CLI for automated workflows. # Networking Source: https://lineserve-37a2845a.mintlify.app/cloud-servers/networking Public networking, VPCs, and traffic controls for Cloud Servers. Cloud Servers include public IPv4 with optional IPv6, plus private VPC networking for isolation. ## Core networking features * Public IPv4 and IPv6 (availability varies by region). * Private VPC networks with security groups and firewall rules. * NAT gateway and site-to-site VPN support. * Load balancing with L4/L7 support and health checks. ## Traffic and bandwidth * Inbound traffic is always free. * Outbound traffic is included per instance size (example: 1 TB for m6i.small). * Additional outbound traffic is billed at \$8.97/TB in the international (USD) region. ## Public IP pricing (USD) | Item | Price | Notes | | --------------------- | ------------ | ---------- | | Public IPv4 address | \$1.50/month | Per IP | | Public subnet (5 IPs) | \$6.50/month | Per subnet | Regional pricing is available in KES, NGN, and TZS based on your billing region. # Pricing and Billing Source: https://lineserve-37a2845a.mintlify.app/cloud-servers/pricing-billing Understand per-second billing and cost components. Cloud Servers use per-second billing with a 1-minute minimum. Pricing is the sum of compute, storage, and any add-ons. ## Billing formula ``` Total = Compute + Storage + Public IPs + Optional licenses + Outbound traffic ``` Notes: * Stopped instances are not charged for compute, only storage. * Reserved instances can save up to 40%. * Pricing varies by region and currency (USD, KES, NGN, TZS). ## Common cost components (USD) | Item | Price | Notes | | ---------------------------- | ---------------- | ---------------------- | | Universal SSD storage | \$0.253/GB/month | Default storage type | | Basic HDD storage | \$0.15/GB/month | Cost-effective storage | | Fast SSD storage | \$0.425/GB/month | High I/O storage | | Public IPv4 address | \$1.50/month | Per IP | | Outbound traffic | \$8.97/TB | Inbound is free | | Windows Server 2022 Standard | \$21.02/month | License fee per server | ## Example estimate Example: m6i.medium in the international region with 50 GB Universal SSD and one public IP. * Compute: \$37.80/month * Storage: 50 x $0.253 = $12.65/month * Public IP: \$1.50/month Estimated total: \$51.95/month (before taxes) # Security and Compliance Source: https://lineserve-37a2845a.mintlify.app/cloud-servers/security-compliance Security controls, encryption, and compliance coverage. Lineserve Cloud Servers use layered security across compute, network, and storage with regional data residency controls. ## Encryption * At rest: AES-256 for all storage volumes. * In transit: TLS 1.3 for API and management traffic. * SSH keys: RSA 4096-bit or Ed25519 supported. * Key management: Bring your own keys (BYOK) via KMS. ## Network security * Always-on DDoS protection up to 10 Gbps. * Stateful security groups with ingress and egress rules. * Private VPC isolation with optional VPN and NAT gateway. ## Access control * Role-based access control (RBAC) and IAM policies. * MFA for console access. * Scoped API tokens with expiration. * Audit logs and IP allowlists. ## Compliance and data residency * ISO 27001, ISO 27017, SOC 2 Type II, PCI DSS Level 1. * GDPR, NDPR (Nigeria), POPIA (South Africa), Kenya DPA. * Additional regional coverage: Egypt DPL, Tanzania DPA, Uganda DPA, Rwanda DPL, Ghana DPA. Data stays within the selected region for sovereignty and compliance requirements. # Storage Source: https://lineserve-37a2845a.mintlify.app/cloud-servers/storage Configure and scale storage independently from compute. Lineserve Cloud Servers use network-attached storage that you can size independently from compute. You can resize storage without changing instance type. ## Storage types | Type | Best for | Min size | Max size | IOPS | Throughput | Price (USD/GB/month) | | ------------------------------- | --------------------------- | -------- | --------- | ------------ | ---------- | -------------------- | | Network Basic HDD | Infrequent access, archives | 10 GB | 10,000 GB | Up to 500 | 40 MB/s | 0.15 | | Network Universal SSD (default) | Balanced workloads | 1 GB | 16,000 GB | Up to 3,000 | 125 MB/s | 0.253 | | Network Fast SSD | Databases, high I/O apps | 10 GB | 16,000 GB | Up to 16,000 | 250 MB/s | 0.425 | Notes: * Linux images require at least 10 GB. * Windows Server images require at least 32 GB. * Snapshot pricing matches the storage type price per GB. * Regional pricing is available in KES, NGN, and TZS based on your billing region. ## Storage sizing guidance * Start with 25 to 60 GB for small Linux workloads and scale up as needed. * Use Universal SSD for most web apps and APIs. * Use Fast SSD for databases, queues, and search workloads. * Use Basic HDD for backups and archive data. # Lineserve Docs Source: https://lineserve-37a2845a.mintlify.app/index Cloud Servers documentation and platform guides. Welcome to Lineserve Docs. This site covers Cloud Servers, including setup, architecture, security, and billing details. ## Start here * [Cloud Servers overview](/cloud-servers) * [Getting started](/cloud-servers/getting-started) * [Pricing and billing](/cloud-servers/pricing-billing) ## Live site The canonical location for Lineserve Docs is `https://docs.lineserve.net`.