Versions Compared

Key

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

The following sub-sections describe the steps involved in configuring a cartridge on the OpenStack IaaS:

...

  1. Log in to the OpenStack management console.
  2. Click Access & Security on the menu in the left side and click Create Security Group.
  3. In the Add Rule window, enter the configurations of the rules for the security group as required and click Add. For more information on the ports that should be defined, see Required Ports/wiki/spaces/SM100/pages/14222781.
  4. In the Create an Image window, enter the configurations for the image as required and click Create Image.
  5. Create a key pair as follows:
    1. In the Create Key Pair window, enter the configurations for the key pair as required and click Create Key Pair. 
    2. When the message is prompted, download the key pair and keep it saved in a preferred location.
    3. Set the key pair permission as follows:
      chmod 0600 <KEY_PAIR_NAME>

      Image Modified
  6. In the Details section of the Launch Instance window, enter the configurations for the instance as required.
  7. In the Access & Security section enter the configurations for the instance as required and click Create.
  8. Select the created instance in the list on the Instances window and click Launch instance.

Step 2 - Configuring the cartridge

Insert excerpt
Creating a Cartridge on EC2
Creating a Cartridge on EC2
nopaneltrue

Step 3 - Repackaging the cartridge as a machine image

Follow the instructions below to repackage the cartridge as a machine image on OpenStack:

  1. Log in to the OpenStack management console.
  2. Navigate to Instances on the menu in the left side. 
  3. Select the respective instance and click Create Snapshot.
  4. Enter a name as preferred for the image and click Create Snapshot.
  5. Navigate to Images on the menu in the left side and get the Image ID that will be used in the Sample Cartridge Definition JSON file. 

 

Info

After you have finished creating the cartridge, make a note of the image ID you creates for the cartridge, as you will need this when you use Stratos Manager to deploy the cartridge. For more information on deploying the created cartridge using the Stratos Manager, see Deploying a Multi-tenant Service Cluster via the UI.