Versions Compared

Key

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

...

Step 1 - Spawning an instance 

Follow the instructions below to spawn a configured instance of Debian/Ubuntu based Linux Linux 12.04.1 LTS  distributions on LTS distributions on OpenStack:

  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 Common IaaS Configurations.

  4. In the Create an Image window, enter the configurations for the image as required and click Create Image.
  5. In the Create Key Pair window, enter the configurations for the key pair as required and click Create Key Pair. When the message is prompted, download the key pair and keep it saved in a preferred location.
  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 Instances window and click Launch instance.

Step 2 - Configuring the cartridge

Excerpt Include
4.0.0 Creating a Cartridge on EC2
nopaneltrue
4.0.0 Creating a Cartridge on EC2

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 on the left side. 
  3. Select the respective instance and click Create Snapshot.
  4. Enter a name for the image and click Create Snapshot.
  5. Navigate to Images on the menu on 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 created for the cartridge, as you will need this when you use   Stratos Manager to deploy the cartridge. For For more information on deploying the created cartridge using the Stratos Manager, see Configuring Stratos.