AWS Lightsail Integration

Summary

This section helps you to understand the process of integrating AWS Lightsail service in the Automation Platform.

Pre-requisites

  • Account with AWS
  • Appropriate privileges to create plans in the automation platform

Version of Product Supported

  • N/A

Billing Model Supported

  • Pre-Paid

Benefits of Integrating

  • Offer a low cost VPS solution to customers with automatic provisioning and billing capability

Step by Step process of integration

To integrate AWS Lightsail provisioning and billing with the Automation Platform, you need to follow the steps given below:


1. Add Product in Software Product Family 

Home >> Settings >> Assets >> Software Product Family

The admin will add ‘Template’ or ‘BluePrint’ in Software product family.

-    Go to Settings. 

-    Select Software Product Family under the Assets tab. (Please refer the first screenshot) 

-    This will open the Product Family List window.

-    Click on Add Product Family to add a new product.

Click here to know in detail.

-  Click on “Software Product List” on the Software Product Family page.

-  This will open Product Family window.

-  Click on “Add Software Product.” Add WordPress and Nginx in software products.

Click here to know in detail, how to Add a New Software Product. 

2. Add product in Software category Addon Master 

Home >> Settings >> Products/Services >> Product Addon Master >> Category Addon Master 

After adding software products, add ‘Template’ or ‘Blueprint’ in Software Categories of Category Addon Master.

-  Go to Settings.

-  Click on Addon Master under the Products and Services tab. (Please refer the second screenshot) 

-  This will open a new Window.

-  Click on Category Addon Master on this page.

-  Click on Add Category Addon Master on this page. Add ‘Template’ or ‘Blueprint’ in Software Categories.

Click here to know in detail how to add a new category addon. 

3. Add value of blueprint products in Product API master 

Home >> Settings >> Products >> Product API Module 

In this section, admin can add value of blueprint product through the Product API master.

-  Go to Settings.

-  Click on Product API Settings under Products and Services.(Please refer the second screenshot) 

-  Click on Add Product API.

-  Enter the Category, Products, Module Settings, API Label, API Value

-  Click on Submit.

4. Create new Cloud Template 

Here, you need to first create a cloud template for your AWS Lightsail account.

Home >> Settings >> Products/Services >> Build Cloud Template

-         Login to your Automation Platform panel.

-         Go to Home > Settings. (Find the icon in the upper right corner of the home page)

-         Select Build Cloud Template under the Product/Services section.

-         Click on Add New. (Home >> Settings >> Products/Services >> Build Cloud Template >> Add Cloud Template)

-         In the Cloud Template Name column, write the name for the cloud template that you are building.

-         Add description of the Template.

-         Select the Applicable Datacenter from the drop-down. (For this, you have to add a new datacenter in the Automation Platform firstly if not done. Click here to know the process.)

-         Select Clone template from the dropdown under which the Selected cloud' infrastructure and resources will be copied as it is to this Cloud Template. Copied configuration can be edited further as required. 

-         Click on Save.

5. Create Product 

Next, you need to create the product in the automation platform.

-        Go to Home >> Settings.

-        Select Packages under the Products/Services section.

-        Click on Add Product.

-        This will open the Add Product window.

-        Select the Product type to be ‘Cloud’. The new product will be created in the product type which you select.

-        Mention the Product Name. For ex: you can write AWS Lightsail.

-        Click on Save.

  • Add Product Group

Once you add the Product Type, you have to create the product group. Product Group is the logical grouping of product under a group.

-         Click on Product Group on the packages section window.

-         This will open the Add Product Group window.

-         Select the Product Name which you created in the previous section. For Ex: we kept the Product name as AWS Lightsail.

-         Mention the name of the Product Group.

-         Apply taxes if any. You can also add multiple taxes.

-         Click on Save.

  • Create a new Plan

After creating the Product Group, you need to create the plans.

-          Click on the Create a new Plan option on the packages window.

-          This will open the Create a New Plan window.

-          Select the Venture from the drop-down. (if you have different business units selling different products etc.)

-          Select the Product Type from the drop-down.

-          Select the Product Name from the drop-down.

-          Select the Product Group from the drop-down.

-          Mention the Plan name. You can keep a name per your suitability.

-          Click on Save.

6. Configure the Plan 

Next, you need to configure the plan created.

-          On the Packages section click on edit icon located in front of the plan created.

-          Under the details tab, you will find all the details of the plan.

-          Under Pricing, you can set billing cycle and discount for the plan. To unable any billing cycle write -1 in the textbox.

-          Click on Save.

-           Under the module setting, you have to mention the details like Module Name, Server Group, Amazon Key, Secret Key, Plan and Zone.

You will get these details from your AWS panel:

-        Login to your AWS Panel.

-        Under My Profile, click on My Security Credentials. Here, click on Access Keys (access key ID and secret access key). You will find the details of the Amazon Key here. Amazon Key in Automation Platform is Access key ID in the AWS Panel.

-        Plan detail you will get from the AWS marketplace.

7. Order Product 

Once the module setting is done and saved, you will get the Order URL. These are the unique URLs based on your plan per billing frequency. You will be able to use this and hyperlink to this via your website.

Your end customers will be able to place order directly from your marketplace/website. 

8. Member Panel Settings 

With this integration, you can manage the complete AWS Lightsail account from within your Automation platform member panel.

-          Go to My Services section.

-          Here, you will find all the details of the service. You can download the one-time key from here, that will be used to login into your instance.

-         Under the Server Control Center only, click on Power Control button. You will find two options: Start and Stop. You can use these to start or stop your service. Please note that these changes will be automatically updated in the Lightsale panel also.