Hosting Controller now offers provisioning of virtual machines in Amazon Web Services (AWS) and Microsoft Azure (MS Azure) clouds through its panel. The AWS EC2 is a world renowned web service that allows customers to create as many or as few virtual servers as they need with various configurations of CPU, memory, storage, and networking capacity.
Benefit of using Hosting Controller with Amazon is that it allows multi-tenancy layer w.r.t individual Customers and also generate itemized bill w.r.t VMs according to their consumption which can be used to charge your clients according to the generated invoice.
Following re the configurations required for Amazon Web Services with HC panel:
For adding Amazon Role in HC panel, one must enable Amazon Web Services role. To do that, logon to the HC panel as a Global Admin. At top right corner of the screen click (configuration icon). Go to Server Manager >> Cluster Settings and then click on Cloud Services tab >> Amazon Web Services and configure the AWS Services as shown below:


Adding Amazon Server in HC panel: After enabling Cluster Settings, next step is to add a hypothetical server having Amazon Role configured on it. Prior to adding this AWS Server in HC Panel, one must ensure that IAM User has been added successfully by logging into Amazon Management Console as a root user and assigning the permissions “AmazonEC2FullAccess” to this new IAM User.
Once IAM User is added in AWS Management Console, note the “Access Key ID” and “Secret Access Key” fields as these are used in HC panel while adding the Amazon Hypothetical Server. Given below is a sample IAM User James along with its corresponding “Access Key ID” and “Secret Access Key” respectively.
Now in HC panel at Global Admin level, add the Amazon Server in HC panel by clicking the configurations icon at the top right corner of the screen and then navigate to Cluster Settings >> Server Manager >> Add Server.

Select Cloud Services and specify required information as shown below:
In case Amazon Web Services is selected as a server role, the same “Access Key ID” and “Secret Access Key” are to be specified against “User Access Key Id” and “User Secret Access Key” fields which were saved while adding IAM user in AWS Management Console.
Select EC2 provider and provide server credentials. Click Validate Credentials to proceed. After correct validation of AWS, the details of Amazon Region, Security Group and Subnets are automatically fetched in HC panel.
Click Save to add server with the specified information or Cancel otherwise.
OSTemplates are the Amazon Machine Images (AMIs) which can be found in AWS Management Console as Public, Private or Custom owned images. You can note the Amazon Machine ID and then specify this same ID in HC panel while adding OSTemplate by specifying the same ID against Online Ref ID.
To add OSTemplate in HC panel, login as Global Admin, add the Amazon Server in HC panel by clicking the configurations icon at the top right corner of the screen and then navigate to AWS Module Conf. >> OSTemplates >> Add OSTemplates.


In the Admin Template page, there are several fields which are specified while adding Amazon OSTemplate:












HC generates itemized billing invoice for individual customers with respect to their VM as per usage. You will add S3 Bucket first by logging into Amazon Management Console as root user and then navigating to Services >> Storage >> S3 >> Create Bucket. See below screenshot.


Now navigate to Your root Account Billing Dashboard >> Billing Preferences >> Cost Management Preferences >> Receive Billing Reports. Here specify the Bucket Name which you added in previous step, and click on Verify button. If bucket permissions are correctly set then Valid Bucket will be shown.
?
Click on “Detailed billing report with resources and tags” and then Save preferences. If Verify Button does not return true i.e. Valid Bucket against your new-bucket does not appear, then click on sample policy just beneath the Verify button as shown in aforementioned screenshot and copy this sample policy.

Afterwards, you can paste the same sample policy by editing bucket and specifying the copied sample policy’s text as permissions of this bucket from: to Services >> Storage >> S3 >> Bucket >> Permissions >> Bucket Policy. After specifying the sample policy, you can reverify your bucket from root Account Billing Dashboard >> Billing Preferences >> Cost Management Preferences >> Receive Billing Reports.
To specify same bucket in HC panel, login as Global Admin, add AWS Bucket in HC panel by clicking the configurations icon at the top right corner of the screen and then navigate to AWS Module Conf. >> AWS Bucket Manager >> Add Bucket Conf.


Bucket Name: User Friendly name of Bucket.
Account Id: Account ID that corresponds to the Amazon Root account.
Bucket File Name: This is automatically created prefixed with the Root Account ID number.
Access Id: “Access Key ID” which was created while adding IAM User.
Secret Id: “Secret Access Key” which was created while adding IAM User.