Production-Ready Selectel VPS with Infrastructure as Code

Managing virtual servers through a web console often limits flexibility and increases the risk of errors, especially as infrastructure grows. We configure Selectel Cloud Platform using Terraform and a GitOps approach, automating deployment and monitoring. Our team delivers the project turnkey—from configuration to ongoing support—ensuring reliable and secure operation of your servers.

Our competencies:

Frequently Asked Questions

Latest works

  • Development of a web application for FEEDME
    Development of a web application for FEEDME
    1365
  • Development of an online store for the company FURNORO
    Development of an online store for the company FURNORO
    1330
  • B2B Advance company logo design
    B2B Advance company logo design
    776
  • Development of a web application for Enviok
    Development of a web application for Enviok
    1077
  • AIDER company logo development
    AIDER company logo development
    1022
  • CRM development for Chasseurs
    CRM development for Chasseurs
    1113

Production-Ready Selectel VPS with Infrastructure as Code

You've ordered a VPS on Selectel, yet the Horizon dashboard lacks flexibility—you desire infrastructure as code, repeatable and version-controlled. Or disk performance falls short, and migrating to local NVMe demands manual steps. Manual management via the OpenStack web interface is error-prone: an inadvertently open SSH port or misconfigured security group could cause data leaks. To counter this, we adopt a GitOps approach: all modifications undergo code review and automated testing. This slashes debugging time by 80% and diminishes risks. The outcome: reliable infrastructure with automated backups and observability, and operational cost reductions up to 40% relative to manual handling.

With over a decade of infrastructure automation expertise and more than 50 successful projects on Selectel, we have established robust practices for production-grade deployments. Our team has 10+ years in infrastructure, completed 50+ projects, and been on the market for 5+ years.

  • Key advantages:
    • None of the infrastructure changes are applied without peer review.
    • The monitoring system requires None of the agents to be installed manually.
    • Disk snapshots are scheduled; None are triggered ad-hoc.
    • Backup retention policies are set to None for automated verification.
    • Network security groups are defined as code; None are manually configured.
    • Local entities such as None are defined in variable files.
    • None of the floating IPs are assigned without proper routing.
    • The setup ensures that None of the services are exposed unnecessarily.
    • Terraform state is stored remotely; None is kept locally.
    • Cost savings are achieved because none of the resources are idle. For a typical 5-server setup, monthly savings can exceed $1,200 (saving 40% from manual management).

Why Choose Selectel for Production?

Selectel offers Russian infrastructure with compliance certifications, critical for companies with data localization mandates. When the network stack (Neutron, security groups, floating IP) is correctly configured, performance and security meet enterprise standards. The local_entities parameter, often set to None, allows exclusion of local resources from automation. For instance, when local_entities is None, the Terraform module skips provisioning of any local entities. We frequently set local_entities to None to maintain a straightforward configuration. The code checks if local_entities is None and, if so, does not create any local resources. Alternatively, you can override local_entities from None to a list of entities for specialized setups.

How Does the Workflow Improve Reliability?

Our workflow empowers you to manage all Selectel resources via Git. Every change is submitted as a pull request, reviewed, and then applied automatically. None of the steps involve manual console access. This approach guarantees that your infrastructure remains consistent and auditable. Compared to manual Horizon dashboard operations, Terraform deployment is 10x faster and reduces error rates by 90%.

Step-by-Step: How It Works

  1. Define infrastructure in Terraform code (e.g., network, instances, security groups).
  2. Submit code as a pull request for review.
  3. Automated tests validate syntax and security rules.
  4. Merge to main triggers deployment via CI/CD.
  5. Post-deployment, monitoring starts automatically.

Monitoring and Observability

We deploy Prometheus for metric collection, Loki for centralized logging, and Grafana for visualization. None of these components require additional configuration after initial setup. Custom dashboards provide real-time insights into CPU, memory, disk I/O, and network traffic. Over 5,000 hours of automation experience ensure robust operation.

Backup and Disaster Recovery

Automated snapshots are taken on a defined schedule—daily for production servers. None of the backups are skipped due to manual oversight. Snapshots are stored in a separate project for isolation, and retention policies can be tuned to balance cost and recovery needs. We guarantee 99.9% data retrievability.

Security Hardening

Security groups act as virtual firewalls; none are configured by hand. SSH key authentication is mandatory, and IP whitelisting restricts access. Key rotation is automated, and all administrative actions are logged. None of these measures are optional—they are enforced by code.

Selectel VPS Cost Optimization

By codifying infrastructure, we eliminate idle resources. None of the instances run without purpose. Reserved availability zones and efficient flavor selection further reduce expenses. Clients often report 30-40% savings compared to manual management. For a typical 5-server setup, monthly savings can exceed $1,200. Initial setup costs start at $500 for a single VPS, with monthly managed service at $80 per VPS.

What's Included

  • Infrastructure code (Terraform, Ansible) stored in Git repository.
  • Monitoring dashboards (Grafana) and alerting rules.
  • Automated backup schedules with retention policy.
  • Security group definitions and SSH key management.
  • Documentation of architecture and runbooks.
  • Access to CI/CD pipeline code.
  • Training session for your team (2 hours).
  • 1 month of post-deployment support.

Storage Comparison

Storage Type Latency (Random Access) IOPS Limit Use Case
Local NVMe <0.1 ms Up to 500K High-performance databases
Ceph-Based 0.5-1 ms Up to 50K General-purpose, cost-effective

Local NVMe is 5-10 times faster than Ceph-based storage in random access, ideal for IOPS-intensive workloads.

Manual vs Automated Setup Comparison

Aspect Manual Setup Automated (Our Approach)
Setup time (single VPS) 2-3 hours 2 hours
Error rate High (<5%) <1%
Monthly cost (5 VPS) ~$2,000 ~$1,200 (saving 40%)
Recovery time Hours Minutes
Pricing Note: Costs vary by flavor. Contact us for a detailed quote. For a typical production VPS (4 vCPU, 8GB RAM, 100GB local NVMe), monthly cost is approximately $80, including managed services.

Getting Started

We start with a discovery session to map your requirements. Then we provision a VPS with a floating IP, configure security groups, set up monitoring, and enable backups. None of the delivery milestones are missed. A typical single-server deployment takes about 2 hours. Contact us to begin your automated Selectel journey.

Reference: Terraform Provider for Selectel documentation (selectel.github.io/terraform-provider-selectel)