-
-
Notifications
You must be signed in to change notification settings - Fork 6
Using MidnightBSD on AWS
MidnightBSD is available on Amazon Web Services. On the marketplace, you can use the MidnightBSD 0.8.6 release. A newer version was submitted to Amazon, but not approved.
As AWS targets Linux, they have to manually check operating systems with UFS2 or ZFS and if you don't get the employee willing to do it, well you are out of luck.
Release | Region | AMI | Instance Types |
---|---|---|---|
1.2 amd64 | US-EAST-1 | ami-0c57b4149ffb5d551 | t2, m4 |
0.8.6 amd64 | US-EAST-1 | ami-ce8369b3 | t2, t4 |
MidnightBSD does not support ENA interfaces in versions prior to 2.x. This limits us to older instance types for these os versions. ENA support is included in 2.2.x but we haven't made an AWS AMI for that yet.
Requires at least 10GB of disk space. Ideally you should do around 25GB to leave room for growth, software installation and checking out mports and src as needed.
MidnightBSD been run on instances as small as a t2.nano. We recommend at least a t2.micro though.
Install the dual-dhclient from mports. It will also install the ISC DHCP client which is needed for IPv6. Make sure it's built with IPv6 support!!!!
Make sure your /etc/rc.conf has the following:
ifconfig_DEFAULT="SYNCDHCP accept_rtadv"
ipv6_activate_all_interfaces="YES"
# EC2 uses DHCP; the network interface appears as xn0.
ifconfig_xn0="DHCP"
dhclient_program="/usr/local/sbin/dual-dhclient"