Amazon has recently launched a service called DevPay where commerical software like Virtualmin Pro can be purchased to run on their EC2 service. This means that instead of creating an EC2 instance and installing VM2 on it manually, you can instead use an image that has it pre-installed, and available for immediate use. We how have an AMI available that contains Cloudmin 2.6, with support for managing EC2 instances only.
Subscribers to the paid AMI for Cloudmin are charged $25 per calendar month. In addition, regular EC2 per-instance-hour and per-megabyte charges apply. And any additional instances you create using it will be charged at normal rates.
To use the Cloudmin paid AMI, the steps to follow are :
ec2-describe-images -o 541491349868
You should see at least one in the available state.
ec2-add-keypair vgpl-keypair >~/.ssh/id_rsa-vgpl-keypair chmod 700 ~/.ssh/id_rsa-vgpl-keypair
ec2-run-instances ami-a5bf59cc -k vgpl-keypair
This will output the new instance ID, which is like i-10a64379
ec2-describe-instances
You will need to wait until it is in the running state. You will then be able to see the public hostname, which looks like ec2-72-44-33-55.z-2.compute-1.amazonaws.com .
ec2-authorize default -p 22 ec2-authorize default -p 25 ec2-authorize default -p 10000 ec2-authorize default -p 10001 ec2-authorize default -p 10002 ec2-authorize default -p 10003 ec2-authorize default -p 10004 ec2-authorize default -p 10005 ec2-authorize default -p 10006 ec2-authorize default -p 10007 ec2-authorize default -p 10008 ec2-authorize default -p 10009 ec2-authorize default -p 53
ssh -i ~/.ssh/id_rsa-vgpl-keypair root@ec2-WHATEVER.compute-1.amazonaws.com
The version of Cloudmin that the paid AMI installs doesn't have all the features of the full version, such as the ability to manage Xen instances, Linux Vservers and Solaris Zones. Instead, it is limited to creating, managing and protecting EC2 instances.
Before you use Cloudmin to control EC2 instances, you must add at least one account with the following steps :
Cloudmin also needs at least one SSH key to login to EC2 instances it creates. To add one, do the following :
You can now create your first EC2 instance. Click reload in your browser to refresh the page, then open the New System category on the left and click Create EC2 instance. You should only need to select an AMI and enter a description, then click Create System to kick off the creation of the EC2 instance.
For the full VM2 documentation, see the VM2 Manual page. Ignore the sections related to Xen, Vservers and Zones, as they are not supported by this paid AMI.