EC2API configuration¶
Configuration options¶
The following options allow configuration that EC2API supports.
| Configuration option = Default value | Description | 
|---|---|
| [DEFAULT] | |
| 
 | (String) Service type of Volume API, registered in Keystone catalog. | 
| 
 | (Integer) Time in seconds before ec2 timestamp expires | 
| 
 | (String) URL to authenticate token from ec2 request. | 
| 
 | (String) Service type of Compute API, registered in Keystone catalog. Should be v2.1 with microversion support. If it is obsolete v2, a lot of useful EC2 compliant instance properties will be unavailable. | 
| Configuration option = Default value | Description | 
|---|---|
| [database] | |
| 
 | (Boolean) Enable the experimental use of thread pooling for all DB API calls | 
| Configuration option = Default value | Description | 
|---|---|
| [DEFAULT] | |
| 
 | (String) The IP address on which the EC2 API will listen. | 
| 
 | (Integer) The port on which the EC2 API will listen. | 
| 
 | (Boolean) Enable ssl connections or not for EC2 API | 
| 
 | (Integer) Number of workers for EC2 API service. The default will be equal to the number of CPUs available. | 
| 
 | (String) SSL certificate of API server | 
| 
 | (String) SSL private key of API server | 
| 
 | (Boolean) Treat X-Forwarded-For as the canonical remote address. Only enable this if you have a sanitizing proxy. | 
| Configuration option = Default value | Description | 
|---|---|
| [DEFAULT] | |
| 
 | (String) A flavor to use as a default instance type | 
| 
 | (Boolean) True if server does not support EC2 Classic mode in favor of default VPC | 
| 
 | (String) The IP address of the EC2 API server | 
| 
 | (String) The path prefix used to call the ec2 API server | 
| 
 | (Integer) The port of the EC2 API server | 
| 
 | (Boolean) Return the IP address as private dns hostname in describe instances | 
| 
 | (String) The protocol to use when connecting to the EC2 API server (http, https) | 
| 
 | (String) Name of the external network, which is used to connectVPCs to Internet and to allocate Elastic IPs. | 
| 
 | (String) The availability_zone to show internal services under | 
| 
 | (String) IP address of this host | 
| 
 | (Integer) MTU size to set by DHCP for instances. Corresponds with the network_device_mtu in ec2api.conf. | 
| 
 | (List) List of region=fqdn pairs separated by commas | 
| Configuration option = Default value | Description | 
|---|---|
| [DEFAULT] | |
| 
 | (String) Parent directory for tempdir used for image decryption | 
| 
 | (String) Region of S3 server | 
| 
 | (String) URL to S3 server | 
| 
 | (String) Path to ca private key file | 
| Configuration option = Default value | Description | 
|---|---|
| [DEFAULT] | |
| 
 | (String) File name for the paste.deploy config for ec2api | 
| 
 | (Integer) Maximum line size of message headers to be accepted. max_header_line may need to be increased when using large tokens (typically those generated by the Keystone v3 API with big service catalogs). | 
| 
 | (Integer) Sets the value of TCP_KEEPIDLE in seconds for each server socket. Not supported on OS X. | 
| 
 | (Integer) Size of the pool of greenthreads used by wsgi | 
| 
 | (String) A python format string that is used as the template to generate log lines. The following values can be formatted into it: client_ip, date_time, request_line, status_code, body_length, wall_seconds. | 
