Configuring the Amazon EC2 adapter
While each adapter must have a unique name, you can create multiple adapters with the same adapter type to allow for different configuration properties.
Note
Before creating an adapter configuration, ensure that the prerequisites are met. The default name for the actor adapter is AmazonEC2ActorAdapter.
To configure the actor adapter
- To access the adapters page, click the Manage tab, then click the Adapters tab.
- Click Add.
- On the Add an Adapter Configuration page, specify the properties for the new Adapter, and click OK.
- Type a description for the adapter.
- In Type, select the bmc-adapter-amazon-ec2-actor versionNumber as the adapter type.
- In Properties, specify the adapter configuration properties in an XML format, including all required elements, indicated in the following table.
If the default value for an optional element is acceptable, omit the element. Do not include empty elements.
To resolve proxy settings errors, enter the proxy settings for the Internet connection. To resolve authentication errors, enter a valid user name and password.
Node elements for configuring the actor adapter
Element | Description | Required |
---|---|---|
| Specifies the target Web Service Description Language (WSDL) URL for Amazon EC2 | Conditional:
|
| Specifies the web service endpoint for the adapter to use while performing operations on Amazon EC2 instances across different regions
| No |
| Specifies the time (in seconds) for which the adapter request is signed as valid | No |
| Specifies the mode for signing the adapter request; contains the
| Conditional:
|
| Specifies the path for the private key file, which is used to sign the HTTP request
| Conditional; required if |
| Specifies the file containing the public key (X.509 Certificate)
| Conditional; required if |
| Contains the XML data specifying the private key in a Base64-encoded PEM format | Conditional; required if |
| Contains the XML data specifying the public key (X.509 Certificate) in a Base64-encoded PEM format | Conditional; required if |
| Contains the elements that define the HTTP proxy settings Note: To configure | No |
| Specifies the host name or the IP address of the destination host for the adapter request | Conditional; required if |
| Specifies the destination port for the adapter request | Conditional; required if |
| Specifies the name of the user on the specified host | Conditional; required if |
| Specifies the password for the user on the specified host | Conditional; required if |
| Specifies whether the connection pooling feature is enabled for the adapter | No |
| If the value of | No |
| If the value of | No |
XML sample for configuring the actor adapter with the key-files mode
<config>
<wsdl-location>http://ec2.amazonaws.com/doc/2009-11-30/
</wsdl-location>
<endpoint-address>http://eu-west-1.ec2.amazonaws.com/
</endpoint-address>
<time-to-live>60</time-to-live>
<signature-properties mode = "key-files">
<private-key-file>C:\Security\pk-MJ5GIUNLM2XJ3VRJSY
TKOFDWILELDQHB.PEM</private-key-file>
<certificate-file>C:\Security\cert-MJ5GIUNLM2XJ3VRJS
YTKOFDWILELDQHB.PEM</certificate-file>
</signature-properties>
<proxy-settings>
<host>10.10.75.120</host>
<port>3128</port>
<user-name>jones</user-name>
<password>bmc1234</password>
</proxy-settings>
</config>
XML sample for configuring the adapter with the key-data mode
<config>
<wsdl-location>http://ec2.amazonaws.com/doc/2009-11-30/
</wsdl-location>
<endpoint-address>http://eu-west-1.ec2.amazonaws.com/
</endpoint-address>
<time-to-live>60</time-to-live>
<signature-properties mode = "key-data">
<private-key-data>-----BEGIN PRIVATE KEY-----
MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAA
oGBAKomKro6VbW4PeQtUhNzZpSH26vbBTBtH1r4EjnIv4vnhSyyA62ewp
ROVNn0SpvjoBFwE88HcX3tXym/zbVgtdPke9K+SYHP6CWdiLqnkzXde
+e3GX/y+OIRlFvA1FKgpHKF+a0nVMdwxpxPzJqwFSEKgMaqSo73f0HZOY8PN4y9
AgMBAAECgYAtUd0vnToXHOvfSvMBm0tHZKhuLfhD3czsPgccvQvIB/LA5Ol15UOO
nQ6cvyTgQNDx1BhynFjuYbtnM19nYEsNpR8Ndxfv7dSAcqZVHsu8OfShQ/WoRqU5
ZxSHyVGLrteIKjuv/cy/ac2clqlJu6arzc2JquiDZQ9KbEY4ODtPQQJBNC+rSrEP
qHbWp0URMdzjiskO3c4amiyoIlWO4F0GnWHjn/WnjUdVQ9mZrNTter7qUtZEyq839
B6iQ8WHvfU0meMCQQC1vjDoTqEuxFHkc6qBdrjXK6Rqp23smX0mHLqKnjxlbD8t8n
ki65wh5UY8mpoe6t9Ehcnghouhcnhko2/6/IDfAkBP5BNzzjpj0s3TUhYDAb6DovcA
+xElja5UQto7aDcSKGRr6LxJaPzDDlz0ZW0jMs0GK8w8eDRh+ckJkWQa1rvtAkAkhPgs
5gfrbtWJ01gytZmE2ycpq0UiYuFL9D/jtNIsCylS4UNIKhHwmbKYYPSRO97rVPrw2/
hY07iveEv7Ihv/AkAaIoKFbuJhln+tlJdmN16mzl1QnyDi469i2C/yXQEvNkjiDQGHr
MlhA+0eik8+JuL/TEwgrcOYKP5BI0XNL71L
-----END PRIVATE KEY-----</private-key-data>
<certificate-data>-----BEGIN CERTIFICATE-----
MIICdzCCAeCgAwIBAgIFXseN2xbnDQYJKoZIhvcNAQEFBQAwUzELMAkGA1UEBhMC
VVMxEzARBgNVBAoTCkFtYXpvbi5jb20xDDAKBgNVBAsTA0FXUzEhMB8GA1UEAxMY
QVdTIExpbWl0ZWQtQXNzdXJhbmNlIENBMB4XDTA5MTExMzA3MDYyMVoXDTEwMTEx
MzA3MDYyMVowUzELMAkGA1UEBhMCVVMxEzARBgNVBAoTCkFtYXpvbi5jb20xFzAV
BgNVBAsTDkFXUy1EZXZlbG9wZXJzMRYwFAYDVQQDEw0xeHVidzR2NmRrY2xlMIGf
MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqJiq6OlW1uD3kLVITc2aUh9ur2wUw
bR9a+BI5yL+L54UssgOtnsKUTlTZ9Eqb46ARcBPPB3F97V8pv821YLXT5HvSvkmB
z+glnYi6p5M13Xvntxl/8vjiEZRbwNRSoKRyhfmtJ1THcMacT8yasBUhCoDGqkqO
939B2TmPDzeMvQIDAQABo1cwVTAOBgNVHQ8BAf8EBAMCBaAwFgYDVR0lAQH/BAww
CgYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUkm3B1OqNA7E6ZWew
RC7GMGfoFd8wDQYJKoZIhvcNAQEFBQADgYEABzTAe7dUsEfR1fGsgHjAt0vhqwAx
+S/V5tLZZXjsnuW6jowOyHqZrZ/9xZlWrK6wfmHoHUBNkMc935EuCiAH0qX6oef/
m/0iDplDR7XkyTxAx0AWo0RF4mstOszPGbpHBKFri2qxyXM0NmIPX2dJqhKICXP4
8HATrUjWl+peSog=
-----END CERTIFICATE-----</certificate-data>
</signature-properties>
<proxy-settings>
<host>10.10.75.120</host>
<port>3128</port>
<user-name>jones</user-name>
<password>bmc1234</password>
</proxy-settings>
</config>
Comments
Log in or register to comment.