Everything works as expected, as far as creating the AMI, but the instance will not boot with the following errors:
[ 186.242964] dracut-initqueue[254]: Warning: Could not boot.
[ 186.666225] dracut-initqueue[254]: Warning: /dev/SangomaVG/root does not exist
[ 186.669859] dracut-initqueue[254]: Warning: /dev/SangomaVG/swaplv1 does not exist
[ 186.673723] dracut-initqueueWarning: /dev/mapper/SangomaVG-root does not exist
Starting Dracut Emergency Shell…
Warning: /dev/SangomaVG/root does not exist
Warning: /dev/SangomaVG/swaplv1 does not exist
Warning: /dev/mapper/SangomaVG-root does not exist
Is there some additional mapping that needs to be done with the EBS volume?
I have a few EC2 instances which I created following the route you took.
When you created the VM in VirtualBox did you select the hard drive type as VHD? I think that’s what I did but the tutorial you link had it down as VMDK (I didn’t read the full page).
On AWS help does it says something about VMDK has to be done via VMware.
Are you exporting to an .ova and uploading the .ova or uploading the actual VHD that VirtualBox uses?
If you are uploading the .ova, what format are you saving in?(options are Open Virtualization Format 0.9, Open Virtualization Format 1.0, Open Virtualization Format 2.0, Oracle Public Cloud Format 1.0)
I saved a 30G VHD, but when I exported in Open Virtualization Format 2.0 it is only 1.28GB, and when I check the import with describe-import-image-tasks it shows format as VMDK:
No idea why I was having such a hard time with the SNG7-PBX-64bit-1805-1, but I ended up installing FreePBX-64bit-10.13.66 and upgrading to SNG7 via the RPM. I will probably try again at some point(because it would be nice to just be able to installing latest version and I had to install on T2), but I think this should work for now. If anyone can think of anything I might need to do different between the two versions let me know, and thanks Steve for your time.
I just installed SNG7-PBX-64bit-1805-2 that was added two days ago without any issues. They don’t show this as the latest stable release though. Do you know if builds that are not stable show up on this page, or did they just not update the latest stable on https://www.freepbx.org/downloads/?
Also, do you see any reason why I shouldn’t just make the AMI I created public(so at least people in the US-East can have easy access to it)? I guess I don’t understand why no one has done this and the only recent FreePBX builds I found as AMI’s were paid. I think I may be missing something?
I re-read the TOS, and can you tell me which one of these is correct ?
Me distributing(making public) the AMI is against “Modifying the FreePBX Distro to work on other environments, such as VPS containers, is an explicit violation of these Terms of Service.”?
or
Me creating the AMI for myself is against “Modifying the FreePBX Distro to work on other environments, such as VPS containers, is an explicit violation of these Terms of Service.”?
or
“FreePBX” in the name associated with the AMI is against "Only Certified FreePBX Resellers or a FreePBX Partner with an agreement in place can market “FreePBX” or “The FreePBX Distro” (or any other name implying it is related to the FreePBX project, or Sangoma Technologies Corporation) commercially to third parties?
I simply mounted the .iso in virtualbox and made no changes to it, so I am trying to figure out if it is against your TOS to even personally create the AMI because of what Amazon does through the AMI creation process.
FYI - I found what was causing my issues. Make sure you don’t choose T3 instance types. I inadvertently chose T2 when installing 1805-2 and that was how I got it to install. As soon as I changed the instance to T3 I got the same errors.
Your three examples don’t cover your original question of making your AMI available for the public. If you do that then you are maintaining a version of the Distro for AWS and thus re-distributing the Distro.