deploy-vps-akamai-cc

Deploy OmniRoute builds to an Akamai VPS via npm pack, scp, and PM2.

44.0k|5.9k|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/diegosouzapw/OmniRoute --skill deploy-vps-akamai-cc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy-vps-akamai-cc
Source: https://github.com/diegosouzapw/OmniRoute/tree/main/.agents/skills/deploy-vps-akamai-cc
Command: npx skills add https://github.com/diegosouzapw/OmniRoute --skill deploy-vps-akamai-cc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of reliably deploying the latest OmniRoute release to a remote VPS without manual, error-prone steps.

Core Features & Use Cases

  • Build + package: Creates a production-ready npm tarball of the OmniRoute CLI build for transfer.
  • Remote install + rebuild native deps: Installs the packed release on the VPS and rebuilds better-sqlite3 to ensure native compatibility.
  • Process management: Restarts OmniRoute under PM2 using the existing ecosystem configuration and updates environment variables.

Use case: You want to deploy the current OmniRoute version to Akamai VPS (69.164.221.35) and keep it running persistently on port 20128 with zero downtime workflow as part of your release process.

Quick Start

Use your deployment agent to run the Akamai VPS deployment workflow.

Frequently Asked Questions about deploy-vps-akamai-cc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Node.js application to a VPS using PM2 and SCP?

To deploy a Node.js application to a VPS using PM2 and SCP, build a local npm package, copy it via SCP to the remote server, install it globally, and restart the service using an existing PM2 ecosystem configuration file.

What is the best way to rebuild better-sqlite3 during a remote VPS deployment?

The best way to rebuild better-sqlite3 during a remote VPS deployment is to install the packed npm tarball globally using the --ignore-scripts flag, then explicitly trigger a native dependency rebuild for better-sqlite3 on the remote host.

How does npm pack work for creating a release tarball to transfer via SCP?

npm pack works for release tarballs by bundling your Node.js project into a single .tgz file locally, which you then securely copy to a remote VPS using SCP for deterministic global installation and native dependency rebuilding.

Can I use PM2 to restart a Node.js service on a fixed port after an SCP deployment?

Yes, you can use PM2 to restart a Node.js service on a fixed port after an SCP deployment by referencing an ecosystem configuration file that specifies the application target and managing the process directly from the remote server.

Why does my Node.js deployment fail when better-sqlite3 is not rebuilt on the remote server?

Your Node.js deployment fails because better-sqlite3 requires native binaries specific to the host environment, meaning you must rebuild the dependency on the remote VPS after transferring the package to ensure native compatibility.

Do I need an existing PM2 ecosystem configuration file to deploy OmniRoute to an Akamai VPS?

Yes, you need an existing PM2 ecosystem configuration file to deploy OmniRoute to an Akamai VPS, as the deployment process relies on restarting the service from a predefined configuration path to manage environment variables and process persistence.