DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
VGSources
Blog

How to Install and Secure OpenFaaS on a Linux VPS

Install OpenFaaS faasd on a dedicated Linux VPS, choose the right edition, configure HTTPS and firewall rules, protect images and secrets, and prepare for backups, upgrades and migration to Kubernetes.
Length11 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a single Linux VPS, the practical OpenFaaS deployment is faasd: it runs OpenFaaS without Kubernetes, uses containerd and CNI, and keeps the OpenFaaS API model so functions can move to a Kubernetes installation later. Use a VPS dedicated to faasd, put the gateway behind HTTPS, restrict the firewall, and treat every function image, secret and input as potentially dangerous.

This guide covers capacity planning, the faasd CE and commercial Edge choices, installation, authentication, TLS, host hardening, image security, backups, monitoring and the point at which one server is no longer enough.

As an Amazon Associate I earn from qualifying purchases.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the right OpenFaaS architecture first

OpenFaaS can run on Kubernetes, but Kubernetes is unnecessary overhead for one small server. faasd is the single-host distribution: it runs the gateway, queueing components and functions directly on a Linux host with containerd and CNI rather than a Kubernetes control plane. Its API is compatible with OpenFaaS on Kubernetes, which gives you a migration path when a single VPS reaches its limits.

Do not share the host with a normal Docker installation. The OpenFaaS Edge guidance warns that Docker and faasd can both interact with containerd, iptables and CNI, creating hard-to-diagnose networking and runtime conflicts. Provision a clean VPS or remove the conflicting container stack before installing faasd.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Size the VPS and select an edition

OpenFaaS Edge documentation lists a minimum planning range of 512 MB–1 GB RAM (1 GB recommended), 2–4 vCPU and 10–25 GB of disk. The faasd repository gives a more practical Linux-host baseline of 2 vCPU and 2 GB RAM. For a real deployment, start at roughly 2 vCPU, 2 GB RAM and 20 GB of disk, then increase capacity for image layers, logs, temporary files and any stateful data your functions create.

Deployment Best fit Published limits or characteristics Operational implications
faasd CE Personal, experimental or non-commercial use on one host Up to 15 functions, one namespace, and a 60-day limit for commercial use according to current OpenFaaS Edge documentation Lowest complexity, but limited isolation and no commercial-use allowance beyond the stated period
OpenFaaS Edge (faasd-pro) Commercial single-host services Commercial edition with multiple namespaces, network policies or segmentation, private DNS and detailed resource metrics described in the Edge documentation Still a single server, so you remain responsible for host availability, backups and upgrades; verify current license terms before deployment
OpenFaaS on Kubernetes Clusters, multiple nodes, higher availability or workloads that outgrow one VPS Requires a Kubernetes cluster rather than a single faasd host More moving parts, but better scheduling, node-level isolation and a natural destination for functions carried forward from faasd

The CE function and commercial-use limits are licensing conditions, not performance guarantees. If a business workload needs more than the CE allowance, use the commercial Edge edition or move to a properly licensed Kubernetes deployment. Recheck the vendor’s current terms at purchase time because licensing can change.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Prepare a clean Linux VPS

Use a supported 64-bit Linux distribution with either an x86_64 or 64-bit Arm CPU. Assign a static public address or a stable DNS name, because the gateway, certificate and deployment clients all need a predictable endpoint.

  1. Update the operating system. Apply all current security updates and reboot if the kernel or runtime requires it.
  2. Create an administrator account. Add a non-root user to the sudo or equivalent administrator group. Keep the root account for recovery rather than routine work.
  3. Remove conflicting container software. Confirm Docker and other container runtimes that could compete for containerd, iptables or CNI are absent or stopped before faasd installation.
  4. Set the host firewall before exposure. Plan an administrator-only SSH rule and an HTTPS rule for intended clients. Do not open the gateway to the entire Internet while it is still using plain HTTP.
  5. Set DNS. Create an A or AAAA record such as faas.example.net pointing to the VPS. Wait for it to resolve from outside the server before requesting a certificate.
  6. Record the baseline. Note the OS release, kernel, CPU and memory, disk size, public address and the administrator account. These details make later troubleshooting and restoration faster.

Keep application state out of the ephemeral function container whenever possible. If a function must write durable data, identify its volume and include that volume in the backup plan before going live.

Install faasd

Install faasd CE

The official faasd repository contains the CE installer. From the administrator account, clone a shallow copy and run the documented script:

Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
git clone https://github.com/openfaas/faasd --depth=1
cd faasd
./hack/install.sh

Run the installer on the clean host you prepared, not on a workstation or a server already running a competing container stack. The script installs the faasd components and system services; allow it to finish without terminating the session.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install OpenFaaS Edge

For commercial use, follow the current OpenFaaS Edge or faasd-pro installation method for your Linux family. The Edge documentation provides the supported install script or package path. Do not substitute the CE installer and assume that doing so grants commercial rights; the edition and license are separate decisions.

Install the command-line client

You can install the official CLI through arkade:

curl -sSL https://get.arkade.dev | sudo -E sh
arkade get faas-cli

Alternatively, use the OpenFaaS CLI installer:

curl -sSL https://cli.openfaas.com | sudo -E sh

Review and pin the CLI version in production automation. Avoid building a process around an assumed Docker latest tag; the CLI documentation notes that such a tag is not provided. Record the exact CLI and faasd versions installed on the VPS so an upgrade can be reproduced.

Verify services before publishing the gateway

Do not treat a completed installer as proof that a function platform is ready. First inspect the system services and their logs, then check the listener addresses and deploy a harmless test function from a trusted image.

  1. List the faasd-related systemd units and confirm they are active. If a unit is inactive, inspect its journal immediately rather than repeatedly restarting it.
  2. Review recent service logs for containerd, the gateway, the queue worker and the watchdog. Look for permission errors, failed mounts, CNI errors and image-pull failures.
  3. Inspect listening sockets. During initial setup, the gateway should be reachable only from localhost or an internal interface if your deployment permits that arrangement.
  4. Authenticate locally and deploy a small, non-sensitive test function from a trusted registry image.
  5. Invoke the function locally, verify the expected response, then remove the test function and any unused image layers.
  6. Check memory and disk usage after the pull. A successful invocation does not prove that the host has enough headroom for concurrent functions.

Keep a record of the exact test image tag or digest and the command used. That record becomes useful when diagnosing a later image, runtime or networking change.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Authenticate safely

OpenFaaS CE and Standard use Basic Authentication. Enterprise deployments can use OIDC and JWT. The generated administrator password is displayed during installation or stored in the documented secret location. Treat it as a credential, not as configuration text.

  1. Retrieve the password without copying it into a repository, ticket or shared shell transcript.
  2. Store it in a protected local secret manager or an environment variable that is not persisted by your shell history.
  3. Log in by piping the password through standard input:
echo -n "$PASSWORD" | faas-cli login --username admin --password-stdin
  1. Confirm the CLI reports a successful login, then remove the temporary environment variable if it is no longer needed.
  2. Rotate the password immediately if it appeared in shell history, process listings, CI logs or a support message.
  3. Where the selected edition supports it, create separate administrator and deployment identities. Give automation only the permissions it needs.

Basic Authentication protects the gateway only when the connection itself is protected. Never send these credentials over an unencrypted public HTTP connection.

Put HTTPS and a firewall in front of the gateway

OpenFaaS enables authentication by default, but authentication alone does not encrypt traffic. The deployment documentation explicitly warns that a public installation needs a TLS certificate, and the REST API guidance says HTTPS should be enabled to prevent Internet snooping and tampering.

Use a reverse proxy

  1. Point your DNS name at the VPS and verify that the record resolves correctly.
  2. Install a maintained reverse proxy or ingress on the host, or use a separate edge service that can reach the private gateway.
  3. Request a publicly trusted certificate for the DNS name using your chosen certificate authority.
  4. Configure the proxy to terminate TLS and forward authenticated requests to the faasd gateway over localhost or a private interface.
  5. Redirect HTTP requests to HTTPS. Do not leave a second public listener that bypasses the proxy.
  6. Renew certificates automatically where possible and monitor their expiry from outside the host.

Use modern TLS defaults supplied by the proxy, restrict administrative endpoints, and preserve the original client address in logs only when the proxy configuration makes that trustworthy. Test both a normal function invocation and an intentionally rejected HTTP request after the change.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Apply least-privilege firewall rules

  • SSH: allow only the administrator’s fixed addresses or VPN range. If an allowlist is impossible, use a hardened bastion or another access-control layer rather than exposing password login.
  • HTTPS: allow TCP 443 from the clients that need the gateway. If the API is private, restrict it to your application network.
  • HTTP: expose port 80 only if it is needed for certificate issuance or an HTTP-to-HTTPS redirect; otherwise keep it closed.
  • Everything else: deny unsolicited inbound traffic. Open additional ports only for a documented dependency.

Review cloud-provider security groups as well as the operating-system firewall. A permissive provider rule can nullify a carefully written local rule.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Harden the Linux host and SSH

Disable password-based SSH authentication after confirming key-based access works in a second session. Restrict root SSH login, use a current OpenSSH configuration, and keep a tested recovery path through the VPS provider in case an allowlist mistake locks you out.

  • Use separate administrator accounts rather than sharing one key.
  • Protect private keys with a passphrase and rotate keys when staff or systems change.
  • Enable unattended security updates when your change process permits them; otherwise patch on a defined maintenance schedule.
  • Monitor failed SSH and gateway authentication attempts, unexpected privilege escalation, service restarts and kernel or filesystem errors.
  • Keep time synchronized so TLS validation, logs and token expiry work consistently.
  • Limit outbound traffic where practical. A function that processes untrusted input should not automatically be able to reach every internal service or arbitrary Internet destination.

Secure function images, registries and runtime settings

Build function images on a separate build host or in CI, then push them to a registry for faasd to pull. Keeping compilers and build tools off the production VPS reduces both attack surface and resource contention.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Pin and scan images

  • Use immutable tags or, preferably, image digests in deployment manifests.
  • Scan images for operating-system and application vulnerabilities before promotion.
  • Remove unused images and old layers so disk pressure does not stop new deployments.
  • Rebuild when a base image receives a security fix, then roll out the new digest deliberately.

Protect registry credentials and secrets

Store registry credentials as OpenFaaS secrets rather than embedding them in function source, environment files committed to Git or YAML checked into a public repository. Apply the same rule to API keys, database passwords and signing material. Rotate credentials after a suspected exposure and remove access that a retired function no longer needs.

Constrain each function

  • Set memory limits that leave headroom for the gateway, queue worker and operating system.
  • Set invocation timeouts appropriate to the function; do not allow an accidental infinite wait to consume every worker.
  • Choose concurrency deliberately. A high value can exhaust CPU, memory or a downstream database even when individual requests are small.
  • Grant only the network paths and secrets required for that function.
  • Validate and size-limit input, because the gateway is an Internet-facing application boundary.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Backups, upgrades and day-to-day operations

Back up /var/lib/faasd and every function data volume before an upgrade. A backup is useful only if it can be restored, so test the procedure on a disposable VPS rather than waiting for a production failure.

  • Disk: alert before image layers, logs or volumes consume the filesystem.
  • Memory: watch pressure, swapping and the operating-system out-of-memory killer.
  • Runtime: monitor container restarts, failed pulls and watchdog errors.
  • Workload: watch queue depth, invocation latency and timeout counts.
  • Security: monitor authentication failures, unusual outbound traffic and unexpected service restarts.
  • TLS: alert well before certificate expiry and test renewal rather than assuming it will work.

Apply faasd, gateway, watchdog and operating-system security updates on a maintenance schedule. Before changing versions, capture configuration, back up state, record the current image digests and keep a rollback image or package. Upgrade during a window in which a short interruption is acceptable, then invoke representative functions and inspect logs.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

Troubleshoot common installation and security failures

The installer fails or services never become active

Check that the VPS is a supported 64-bit architecture, that the administrator can use sudo, and that no competing Docker or containerd setup remains. Read the systemd journal for the first failing unit; a later gateway error is often only a symptom of an earlier runtime or CNI failure.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The gateway works locally but not through the domain

Verify DNS resolution, the provider security group, the host firewall and the reverse-proxy upstream address in that order. Confirm the certificate covers the exact hostname and that the proxy is forwarding to the intended local listener rather than a stale port.

Login credentials appear correct but requests fail

Check whether the CLI is still pointing at an old gateway URL, whether the password was rotated, and whether a proxy is stripping the authentication header. Re-run login through --password-stdin and inspect the gateway log without printing the secret.

Functions cannot pull images

Confirm the image name, tag or digest, registry reachability and registry credentials. Check disk space and outbound firewall rules. If a private registry credential was placed in a manifest or log, revoke and replace it.

Invocations time out or the host becomes unstable

Inspect memory pressure, CPU saturation, queue depth and function concurrency. Lower concurrency or memory use, set a realistic timeout, remove unused images, and move stateful or consistently heavy workloads to a larger host or a cluster.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Know when to migrate from one VPS

A single faasd host is a useful starting point, not a promise of high availability. Plan a move to OpenFaaS on Kubernetes when you need multiple nodes, maintenance without a single-host outage, stronger scheduling isolation, or capacity beyond the VPS’s CPU, memory and disk envelope.

Because faasd exposes the OpenFaaS API, existing functions can be carried forward to Kubernetes. Keep manifests, image digests, secret definitions, resource limits and configuration in version control so the migration is a controlled redeployment rather than a manual rebuild. Test each function in the target cluster, validate network policies and identities, and keep the VPS available for rollback until production traffic is confirmed on the cluster.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.