You can set options in the nova.conf
configuration file to control which network address and port the
EC2 API listens on, the formatting of some API responses, and
authentication related options.
To customize these options for OpenStack EC2 API, use these configuration option settings:
Configuration option=Default value | Description |
ec2_dmz_host=$my_ip | (StrOpt) the internal ip of the ec2 api server |
ec2_host=$my_ip | (StrOpt) the ip of the ec2 api server |
ec2_listen=0.0.0.0 | (StrOpt) IP address for EC2 API to listen |
ec2_listen_port=8773 | (IntOpt) port for ec2 api to listen |
ec2_path=/services/Cloud | (StrOpt) the path prefix used to call the ec2 api server |
ec2_port=8773 | (IntOpt) the port of the ec2 api server |
ec2_private_dns_show_ip=False | (BoolOpt) Return the IP address as private dns hostname in describe instances |
ec2_scheme=http | (StrOpt) the protocol to use when connecting to the ec2 api server (http, https) |
ec2_strict_validation=True | (BoolOpt) Validate security group names according to EC2 specification |
ec2_timestamp_expiry=300 | (IntOpt) Time in seconds before ec2 timestamp expires |
ec2_workers=None | (IntOpt) Number of workers for EC2 API service |
keystone_ec2_url=http://localhost:5000/v2.0/ec2tokens | (StrOpt) URL to get token from ec2 request. |
lockout_attempts=5 | (IntOpt) Number of failed auths before lockout. |
lockout_minutes=15 | (IntOpt) Number of minutes to lockout if triggered. |
lockout_window=15 | (IntOpt) Number of minutes for lockout window. |
region_list= | (ListOpt) list of region=fqdn pairs separated by commas |