Add an AWS public image to Cloud Management

Add a public image to make the image selectable in an OS profile.

Before you begin

Role required: sn_cmp.cloud_admin

Procedure

  1. In the AWS console, select the EC2 service and then click IMAGES > AMIs.
  2. Filter the list of images and then take note of the AMI Name and AMI ID values for the image of interest.
  3. On the instance, enter cmdb_ci_os_template.list in the Filter navigator text box to open the Images [cmdb_ci_os_template] table and then click New.
  4. On the Image form, enter the following values:
    Field Value
    Object ID AMI ID value from AWS.
    Name Meaningful name that is based on the AMI Name value from AWS.
    Guest OS Operating system.
  5. On the Credentials field, click the magnifying glass and then click New on the Credentials page.
  6. In the list, click Basic Auth Credentials.
  7. On the Basic Auth Credentials form, enter a meaningful Name for the credential.
  8. Enter a User name and Password to create for instances that are provisioned from this image.
    Note: If the name ec2-user or root does not work, check with your AMI provider.
    Table 1. Username guidelines
    Type Name
    Amazon Linux ec2-user
    RHEL ec2-user or root
    Ubuntu ubuntu or root
    Centos centos
    Fedora ec2-user
    SUSE ec2-user or root.
  9. Click Submit to close the Basic Auth Credentials form.
  10. Right-click in the header and click Save to save the current configuration of the new image record.
  11. In the Related Items list on the Image form, click the + symbol to add a CI relationship.
  12. In the Suggested relationship types list on the Relationship Editor, select Hosted on (Parent).
  13. In the Filter editor, set Class > is > AWS Datacenter and then click Run Filter.
  14. In the Configuration Items related list, select the datacenter that the image is for.
  15. In the Relationships related list, click the + symbol and then click Save and Exit.
    The green shading indicates that you have successfully associated the image with the specified datacenter.
  16. Click OK.
    In the Related Items list, you can see that the image is associated with the specified datacenter.
  17. Click Update to make the public image selectable in an OS profile.