Add an AWS public image to Cloud Provisioning and Governance
You can make any AWS image selectable in an OS profile.
Before you begin
Role required: sn_cmp.cloud_admin
Procedure
- In the AWS console, select the EC2 service and then click IMAGES > AMIs.
AWS console
Filter the list of images and then take note of the AMI Name and AMI ID values for the image of interest.
On the instance, enter
cmdb_ci_os_template.listin the Filter navigator text box to open the Images [cmdb_ci_os_template] table and then click New.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. On the Credentials field, click the magnifying glass and then click New on the Credentials page.
In the list, click Basic Auth Credentials.
On the Basic Auth Credentials form, enter a meaningful Name for the credential.
Enter a User name to use for instances that are provisioned from this image.
AWS uses SSH keys, so a password is not required.
Note: If the name
ec2-userorrootdoes not work, check with your AMI provider.Type Name Amazon Linux ec2-userRHEL ec2-userorrootUbuntu ubuntuorrootCentos centosFedora ec2-userSUSE ec2-userorrootClick Submit to close the Basic Auth Credentials form.
Right-click in the header and select Save to save the current configuration of the new image record.
In the Related Items list, you can see that the image is associated with the specified datacenter.
Click Update to make the public image selectable in an OS profile.
This step also creates a relationship between the public image and the logical datacenter (LDC) in the CMDB.
Parent Topic:Resource Profiles