1.1 KiB
1.1 KiB
Verify operation
Verify operation of the ec2-api service.
Note
Perform these commands on the controller node.
Source the
admin
project credentials to gain access to admin-only CLI commands:$ . admin-openrc
List service components to verify successful launch and registration of each process:
$ openstack service list
Download aws cli from Amazon. Create configuration file for aws cli in your home directory
~/.aws/config
:[default] aws_access_key_id = 1b013f18d5ed47ae8ed0fbb8debc036b aws_secret_access_key = 9bbc6f270ffd4dfdbe0e896947f41df3 region = RegionOne
Change the aws_access_key_id and aws_secret_acces_key above to the values appropriate for your cloud (can be obtained by "keystone ec2-credentials-list" command).
Run aws cli commands using new EC2 API endpoint URL (can be obtained from keystone with the new port 8788) like this:
aws --endpoint-url http://10.0.2.15:8788 ec2 describe-images