Registering Amazon EC2 images with the cloud discovery service

To use the blueprint designer to model environments on Amazon Web Services, you must register Amazon Elastic Compute Cloud (EC2) images with the cloud discovery service. EC2 is part of AWS. EC2 provides the virtual nodes in an environment, and other services in AWS provide services such as networking and data storage.

Before you begin

Before registering images, configure the cloud discovery service. See Configuring the cloud discovery service.

Procedure

  1. From the EC2 web console, find the ID of the image to register. Image IDs start with ami-, such as ami-abcd1234. You can register Linux or Windows operating system.
  2. Open the cloud discovery service configuration file in a text editor.
  3. In the amazon section, find the region for the image, such as us-east-1.
  4. In the images section, add the image ID to the list of images. For example, the following code from a configuration file includes three image IDs in the us-east-1 region.
    CLOUD_SETTINGS = '''
    {
      "amazon": {
        "regions": [
          {
            "id": "us-east-1",
            "name": "US East (Northern Virginia)",
            "images": [
              "ami-abcd1234",
              "ami-1234abcd",
              "ami-5678abcd"
            ]
          },
  5. Save the file and restart the cloud discovery service. To restart the cloud discovery service, see Stopping the blueprint designer, cloud discovery service, and engine and Stopping the blueprint designer, cloud discovery service, and engine.

Feedback