Difference between revisions of "NixOS friendly hosters"

From NixOS Wiki
Jump to: navigation, search
(note about buyvm iso availability)
(add vpsFree)
Line 37: Line 37:
 
![https://www.vultr.com/ Vultr]
 
![https://www.vultr.com/ Vultr]
 
|Vultr has a NixOS ISO in its public ISO library and also allows the upload of custom ISOs. nixos.wiki is running on a NixOS VPS at Vultr.
 
|Vultr has a NixOS ISO in its public ISO library and also allows the upload of custom ISOs. nixos.wiki is running on a NixOS VPS at Vultr.
 +
|-
 +
![https://vpsfree.org vpsFree.cz]
 +
|Non-profit association providing free as in freedom VPS services for its members. <br /> [https://kb.vpsfree.cz/navody/distribuce/nixos NixOS on vpsFree]
 
|- style="background-color: #fff"
 
|- style="background-color: #fff"
 
|colspan=2| <h2>Support NixOS via custom ISO</h2>
 
|colspan=2| <h2>Support NixOS via custom ISO</h2>

Revision as of 10:49, 27 October 2018

1st class NixOS support

Linode Install and Configure NixOS on a Linode
Packet NixOS on Packet
VPS2day When ordering or configuring, the "Manual Install (Advanced)" option includes NixOS. Installation is done through a web-based console.
Vultr Vultr has a NixOS ISO in its public ISO library and also allows the upload of custom ISOs. nixos.wiki is running on a NixOS VPS at Vultr.
vpsFree.cz Non-profit association providing free as in freedom VPS services for its members.
NixOS on vpsFree

Support NixOS via custom ISO

BuyVM Previously, an ISO file for NixOS 17.03 was available via the Stallion control panel, under CD-ROM > Development, but this option seems to have been removed. NixOS can still be installed via nixos-in-place, although the hash (and other details) within the install script may need to be changed manually.
Hetzner Online Hetzner provides an interface to upload your own ISO-images. However you may want to build your own iso-image, which has openssh with ssh keys due the lack of a remote console. An easier method to install NixOS on Hetzner, is to use the existing integration into NixOps.
Hetzner Cloud Hetzner Cloud has NixOS ISO images that can be mounted on a running instance. You cannot directly choose NixOS as initial distribution when creating a VM.
LiteServer NixOS ISO is available from the control panel.
netcup NixOS ISO can be uploaded via FTP to be available in the server control panel.

(in the SCP, navigate to: 'Media' → 'Images') See the official netcup documentation. It may be necessary to create a bios-boot partition for grub.

Online NixOS ISO can be use with iDrac (Dell) or iLo (HP). You can upload your own iso or use virtualmedia. You must have a Dell or HP server. Here is the documentation if you don't know DRAC at Online.

Other means of installation

Amazon EC2 See NixOS on Amazon EC2
DigitalOcean nixos-infect can be used to transform an existing installation into NixOS. This method will be also used in NixOps.
Google Cloud Platform See Installing NixOS on GCE
Online See Install NixOS on Online.Net
OVH / Kimsufi / So you Start See this blogpost by Augustin Borsu
Rackspace See Install NixOS on Rackspace Cloud Servers
Scaleway The kexec method (see Install NixOS on Scaleway X86 Virtual Cloud Server) works well, but bear in mind it only works with the 'virtual' class of servers, as they run under a hypervisor which attaches the disks before the kernel boots. The 'bare-metal' servers rely on a special Linux kernel booting to attach network /dev/nbdX drives which works only with Scaleway supplied images. There is a image proposal to add full NixOS support.

Hoster-agnostic means of installation

This section links to or explains methods that can be used on various providers. As always, with unsupported hosts and unsupported distributions, your mileage may vary.

Not all providers allow to upload own images or provide NixOS images for installation. However there are a few ways to install NixOS anyhow. nixos-in-place and nixos-infect are generic approaches to install NixOS from an existing Linux. A different approach is to build an kexec-based image to start the installer from an booted linux as shown in this repo, this allows for changing the underlying filesystem. See Install NixOS on a Server With a Different Filesystem.

See also the NixOps project, which also provides interfaces to different cloud providers.