Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a Resource Group

  2. Provision your Microsoft Azure VM

  3. Create additional volumes using Blueprints

Create a Resource Group

...

Before you provision a Microsoft Azure Virtual Machine (VM), you’ll need to create a Resource Group. Skip this step if you’ve already created a Resource Group. To create a Resource Group for Microsoft Azure, follow these steps:

  1. Login to your HyperCloud™ Platform (HCP) account.

  2. Click Service Orchestration and navigate to Services > Resource Group > New.

  3. Select your Resource Pool.

  4. Enter a Name for your Resource Group.

  5. Click Create Resource Group.

Provision your Microsoft Azure VM

...

Once you create a Resource Group, you can create a Microsoft Azure Virtual Machine (VM) using blueprints.

...

Notes

  • [1] Azure resource pools are identified by their regions.
    Example: RP.ARM.SouthEastAsia.<ResourcePoolName>

  • [2] If you uncheck the Skip Agent Install option, the HCP portal will install the HyperCloud Agent right after provisioning a VM.

    • You’ll need to uncheck this option if you want to run plugins after provisioning a VM.

  • [3] Once the lease period expires, your VM will be automatically deleted, and you will receive an email notification for the same.

  • [4] If you want to run multiple plugins on a VM, you can select the order in which they run and exit.

    1. Select a Plugin from the Plugins drop-down.

    2. Click + Advanced Configurations.

      1. Enter the Valid Exit Codes for your Plugin.

      2. Enter the Plugin execution order.

      3. Click + Advanced Configurations to collapse the configuration menu.

    3. To add another Plugin:

      1. Select your plugin from the Plugins drop-down list.

      2. Configure Advance Configurations as you did in step 2.

    4. Once you’ve added and configured all the Plugins, click Review.

Create additional volumes using Blueprints

...

Once you provision a VM, you can create additional volumes using the YAML editor. You can access the YAML editor by editing a Blueprint. To create additional volumes using Blueprints:

...

Code Block
Machine:
region: westus
group: hg-ub16
image:
instanceType: Basic_A3
resourceGroup: hg-vm-rg
network: hg-vm-vnet1
subnet: hg-vm-vnet1-subnet1
securityGroup: hg-vm-nsg
skipAgentInstall: false
assignFloatingIP: true
publicIPSku: basic
password:2c9180866a79b909016ba03eca9b308c
count:1
terminationProtection:DISABLED
vols:!vol*
prefix:hg-ub16-dd1
size:10
Count 1

Amazon Web Services EC2

...

You can provision Amazon Web Services (AWS) EC2 instances using a HyperCloudTM (HCP) Blueprint. Follow these steps to create an AWS EC2 instance Blueprint:

  1. Login to your HCP portal account.

  2. Click Services Orchestration and navigate to Services > New.

    1. Select your AWS Resource Pool from the drop-down list.[1]

    2. Select your instance Sizeandclick Next.

    3. Select your Image and click Next.

    4. Select the Subnet for the instance and click Next.

    5. Select the Security Group.

    6. Select your Key-Pair from the Add Credentials page and click Next.

    7. Choose the entitled users from the Entitle Virtual Machine Owner page and click Next.

    8. Enter these details in the Advanced page dialog:

      1. Enter a Prefix for your VM and click Review.
        Example: *hg-prod-vms

      2. You may configure these optional settings:

        1. Enter the Lease term in minutes, hours, and days. [2]

        2. Select a Plugin to run once your VM is provisioned. [3]

        3. Select Define a VM Start and Stop Schedule to run your VM at scheduled timings. You can set the start time and duration to daily, weekly, or monthly.

        4. Click Review.

        5. Once you click Review, you’ll see the summary of your VM deployment.

        6. You can deploy multiple VMs with the same configuration.

          • Click + next to How Many VMs, to add VMs.

          • Click - next to How Many VMs, to remove VMs.

        7. You can click:

          • Create to create your VM or,

          • Click Save Blueprint Only to create a blueprint.

        8. If you choose to save the blueprint, you’ll be able to access it via Service Orchestration > App Store.

        9. Click open the blueprint you created and click Edit.

        10. Enter the following details in the </>Machine Compose Blueprint dialog:

          1. Enter a Name for your Blueprint. 

          2. You can Entitle Users to your Blueprint in one of the following ways:

            • Select Everyone to provide access to all users.

            • Select Groups & Users to provide access to specific users.

              1. Enter the first three alphabets of the username in the Users drop-down and select the username.

              2. Type the first three alphabets of the Group Name in the Groups drop-down and select the group name.

        11. Click Save Changes.

        12. To deploy a VM using the Blueprint:

          1. Click open your Blueprint.

          2. Click on Create Machine

          3. You’ll be redirected to Service Orchestration > VM.

Notes

  • [1] AWS resource pools are identified by their prefixes.
    Example: RP.AWS.ap-southeast-1.<ResourcePoolName>

  • [2] Once the lease period expires, your VM will be automatically deleted, and you will receive an email notification for the same.

  • [3] If you want to run multiple plugins on a VM, you can select the order in which they run and exit.

    1. Select a Plugin from the Plugins drop-down.

    2. Click + Advanced Configurations.

      1. Enter the Valid Exit Codes for your Plugin.

      2. Enter the Plugin execution order.

      3. Click + Advanced Configurations to collapse the configuration menu.

    3. To add another Plugin:

      1. Select your plugin from the Plugins drop-down list.

      2. Configure Advance Configurations as you did in step 2.

    4. Once you’ve added and configured all the Plugins, click Review.