=================
OpenStack EC2 API
=================
.. image:: https://governance.openstack.org/tc/badges/ec2-api.svg
:target: https://governance.openstack.org/tc/reference/tags/index.html
.. Change things from this point on
Support of EC2 API for OpenStack.
This project provides a standalone EC2 API service which pursues two goals:
1. Implement VPC API
2. Create a standalone service for EC2 API support.
Installation
------------
For more detailed information, please see the `Installation Guide <https://docs.openstack.org/ec2-api/latest/install/index.html>`_.
Installation by install.sh
==========================
Run install.sh
The EC2 API service gets installed on port 8788 by default. It can be changed
before the installation in install.sh script.
The services afterwards can be started as binaries:
::
/usr/local/bin/ec2-api
/usr/local/bin/ec2-api-metadata
/usr/local/bin/ec2-api-s3
or set up as Linux services.
Configuring OpenStack for EC2 API metadata service refering to section "EC2 metadata Configuration".
Installation on devstack
========================
Installation in devstack:
In order to install ec2-api with devstack the following should be added to
the local.conf or localrc the following line:
::
enable_plugin ec2-api https://opendev.org/openstack/ec2-api
Devstack installation with ec2-api and ec2api-tempest-plugin for development:
1. install packages: awscli, git, python3, python3-devel, ruby
2. clone devstack repository
::
git clone https://opendev.org/openstack/devstack
3. grant all permissions for your user for directory: "/opt"
4. create folder "/opt/stack/logs/"
5. clone repository "ec2api-tempest-plugin" to stack folder:
::
git clone https://github.com/openstack/ec2api-tempest-plugin /opt/stack/ec2api-tempest-plugin
6. create local.conf:
::
[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
enable_plugin ec2-api https://opendev.org/openstack/ec2-api
enable_plugin neutron-tempest-plugin https://github.com/openstack/neutron-tempest-plugin
TEMPEST_PLUGINS='/opt/stack/ec2api-tempest-plugin'
7. go to devstack folder and start installation
::
cd ~/devstack/
./stack.sh
8. check installed devstack
::
source ~/devstack/accrc/admin/admin
tempest list-plugins
ps -aux | grep "ec2"
aws --endpoint-url http://<IP-ADDRESS> --region <REGION> --profile admin ec2 describe-images
openstack catalog list
openstack flavor list
openstack image list
sudo journalctl -u devstack@ec2-api.service
9. run integration tests (ec2 tempest test)
::
cd /opt/stack/tempest
tox -eall -- ec2api_tempest_plugin --concurrency 1
tox -eall ec2api_tempest_plugin.api.test_network_interfaces.NetworkInterfaceTest.test_create_max_network_interface
10. run ec2-api unit tests
::
cd /opt/stack/ec2-api
tox -epy36 ec2api.tests.unit.test_security_group.SecurityGroupTestCase.test_describe_security_groups_no_default_vpc
Configuring OpenStack for EC2 API metadata service refering to section "EC2 metadata Configuration".
EC2 metadata Configuration
==========================
To configure OpenStack for EC2 API metadata service:
for Nova-network
add::
[DEFAULT]
metadata_port = 8789
[neutron]
service_metadata_proxy = True
to /etc/nova.conf
then restart nova-metadata (can be run as part of nova-api service) and
nova-network services.
for Neutron
add::
[DEFAULT]
nova_metadata_port = 8789
to /etc/neutron/metadata_agent.ini for legacy neutron or
to neutron_ovn_metadata_agent.ini for OVN
then restart neutron-metadata service.
S3 server is intended only to support EC2 operations which require S3 server
(e.g. CreateImage) in OpenStack deployments without regular object storage.
It must not be used as a substitution for all-purposes object storage server.
Do not start it if the deployment has its own object storage or uses a public
one (e.g. AWS S3).
Usage
-----
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 = us-east-1
Change the aws_access_key_id and aws_secret_acces_key above to the values
appropriate for your cloud (can be obtained by "openstack ec2 credentials list"
command).
Run aws cli commands using new EC2 API endpoint URL (can be obtained from
openstack cli with the new port 8788) like this:
aws --endpoint-url http://10.0.2.15:8788 ec2 describe-instances
Supported Features and Limitations
----------------------------------
General:
* DryRun option is not supported.
* Some exceptions are not exactly the same as reported by AWS.
+----------+------------------------------------------+-----------------+----------------------------------------+
| AWS | Command | Functionality | Limitations |
| Component| | group | |
+==========+==========================================+=================+========================================+
| | **bold** - supported, normal - supported | | |
| | with limitations, *italic* -not supported| | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *AcceptVpcPeeringConnection* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, VPC | **AllocateAddress** | addresses | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *AllocateHosts* | dedicated hosts | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *AssignIpv6Addresses* | network | not supported |
| | | interfaces | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | AssignPrivateIpAddresses | network | allowReassignment parameter |
| | | interfaces | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, VPC | **AssociateAddress** | addresses | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **AssociateDhcpOptions** | DHCP options | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **AssociateRouteTable** | routes | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *AssociateSubnetCidrBlock* | subnets | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *AssociateVpcCidrBlock* | VPC | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *AttachClassicLinkVpc* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **AttachInternetGateway** | internet | |
| | | gateways | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **AttachNetworkInterface** | network | |
| | | interfaces | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, EBS | **AttachVolume** | volumes | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **AttachVpnGateway** | VPN | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, VPC | AuthorizeSecurityGroupEgress | security groups | EC2 classic way to pass cidr, protocol,|
| | | | sourceGroup, ports parameters |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, VPC | AuthorizeSecurityGroupIngress | security groups | EC2 classic way to pass cidr, protocol,|
| | | | sourceGroup, ports parameters |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *BundleInstance* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CancelBundleTask* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CancelConversionTask* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CancelExportTask* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CancelImportTask* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CancelReservedInstancesListing* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CancelSpotFleetRequests* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CancelSpotInstanceRequests* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ConfirmProductInstance* | product codes | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | *CopyImage* | image | not supported |
| | | provisioning | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | *CopySnapshot* | snapshots,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | CreateCustomerGateway | VPC gateways | BGPdynamicrouting |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **CreateDhcpOptions** | DHCP options | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CreateEgressOnlyInternetGateway* | VPC gateways | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CreateFlowLogs* | infrastructural | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | CreateImage | images | blockDeviceMapping parameter |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CreateInstanceExportTask* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **CreateInternetGateway** | VPC gateways | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **CreateKeyPair** | key pairs | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CreateNatGateway* | NAT gateways | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *CreateNetworkAcl* | ACL | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *CreateNetworkAclEntry* | ACL | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **CreateNetworkInterface** | network | |
| | | interfaces | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CreatePlacementGroup* | clusters | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CreateReservedInstancesListing* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | CreateRoute | routes | vpcPeeringConnection parameter |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **CreateRouteTable** | routes | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, VPC | **CreateSecurityGroup** | security groups | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | **CreateSnapshot** | snapshots | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *CreateSpotDatafeedSubscription* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | CreateSubnet | subnets | availabilityZone parameter |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **CreateTags** | tags | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | CreateVolume | volumes | iops, encrypted, kmsKeyId parameters |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **CreateVpc** | VPC | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *CreateVpcEndpoint* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *CreateVpcPeeringConnection* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | CreateVpnConnection | VPN | BGP dynamic routing |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **CreateVpnConnectionRoute** | VPN | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | CreateVpnGateway | VPN | BGP dynamic routing |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DeleteCustomerGateway** | VPC gateways | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DeleteDhcpOptions** | DHCP options | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DeleteEgressOnlyInternetGateway* | VPC gateways | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DeleteFlowLogs* | infrastructural | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DeleteInternetGateway** | VPC gateways | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **DeleteKeyPair** | key pairs | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DeleteNatGateway* | NAT gateways | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DeleteNetworkAcl* | ACL | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DeleteNetworkAclEntry* | ACL | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DeleteNetworkInterface** | network | |
| | | interfaces | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | *DeletePlacementGroup* | clusters | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DeleteRoute** | routes | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DeleteRouteTable** | routes | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, VPC | **DeleteSecurityGroup** | security groups | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | **DeleteSnapshot** | snapshots | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DeleteSpotDatafeedSubscription* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DeleteSubnet** | subnets | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **DeleteTags** | tags | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | **DeleteVolume** | volumes | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DeleteVpc** | VPC | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DeleteVpcEndpoints* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DeleteVpcPeeringConnection* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DeleteVpnConnection** | VPN | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DeleteVpnConnectionRoute** | VPN | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DeleteVpnGateway** | VPN | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | **DeregisterImage** | images | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | DescribeAccountAttributes | infrastructural | vpc-max-security-groups-per-interface, |
| | | | max-elastic-ips, |
| | | | vpc-max-elastic-ips attributes |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, VPC | **DescribeAddresses** | addresses | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **DescribeAvailabilityZones** | availability | |
| | | zones | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeBundleTasks* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DescribeClassicLinkInstances* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeConversionTasks* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DescribeCustomerGateways** | gateways | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DescribeDhcpOptions** | DHCP options | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeEgressOnlyInternetGateways* | VPC gateways | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeExportTasks* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeFlowLogs* | infrastructural | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeHosts* | dedicated hosts | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeIdentityIdFormat* | resource IDs | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeIdFormat* | resource IDs | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | DescribeImageAttribute | images | productCodes, sriovNetSupport |
| | | | attributes |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | **DescribeImages** | images | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeImportImageTasks* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeImportSnapshotTasks* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | DescribeInstanceAttribute | instances | same limitations as for |
| | | | ModifyInstanceAttribute |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, | **DescribeInstances** | instances | |
| EBS, VPC | | | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeInstanceStatus* | monitoring | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DescribeInternetGateways** | gateways | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **DescribeKeyPairs** | key pairs | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DescribeMovingAddresses* | infrastructural | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeNatGateways* | NAT gateways | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DescribeNetworkAcls* | ACL | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DescribeNetworkInterfaceAttribute** | network | |
| | | interfaces | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DescribeNetworkInterfaces** | network | |
| | | interfaces | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | *DescribePlacementGroups* | clusters | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DescribePrefixLists* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | DescribeRegions | availability | RegionNameparameter |
| | | zones | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeReservedInstances* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeReservedInstancesListings* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeReservedInstancesModifications* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeReservedInstancesOfferings* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DescribeRouteTables** | routes | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeScheduledInstanceAvailability* | scheduled | not supported |
| | | instances | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeScheduledInstances* | scheduled | not supported |
| | | instances | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeSecurityGroupReferences* | security groups | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, VPC | DescribeSecurityGroups | security groups | cidr, protocol, port, sourceGroup |
| | | | parameters |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | *DescribeSnapshotAttribute* | snapshots | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | **DescribeSnapshots** | snapshots | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeSpotDatafeedSubscription* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeSpotFleetInstances* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeSpotFleetRequestHistory* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeSpotFleetRequests* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeSpotInstanceRequests* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeSpotPriceHistory* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeStaleSecurityGroups* | security groups | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DescribeSubnets** | subnets | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **DescribeTags** | tags | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | *DescribeVolumeAttribute* | volumes | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | **DescribeVolumes** | volumes | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeVolumeStatus* | monitoring | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DescribeVpcAttribute* | VPC | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DescribeVpcClassicLink* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DescribeVpcClassicLinkDnsSupport* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DescribeVpcEndpoints* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DescribeVpcEndpointServices* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DescribeVpcPeeringConnections* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DescribeVpcs** | VPC | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DescribeVpnConnections** | VPN | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DescribeVpnGateways** | VPN | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DetachClassicLinkVpc* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DetachInternetGateway** | VPC | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DetachNetworkInterface** | network | |
| | | interfaces | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, EBS | DetachVolume | volumes | instance_id, device, force parameters |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DetachVpnGateway** | VPN | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DisableVgwRoutePropagation** | VPN | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *DisableVpcClassicLink* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DisableVpcClassicLinkDnsSupport* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, VPC | **DisassociateAddress** | addresses | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **DisassociateRouteTable** | routes | |
| | *DisassociateSubnetCidrBlock* | subnets | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *DisassociateVpcCidrBlock* | VPC | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **EnableVgwRoutePropagation** | VPN | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | *EnableVolumeIO* | monitoring | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *EnableVpcClassicLink* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *EnableVpcClassicLinkDnsSupport* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **GetConsoleOutput** | instances | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *GetConsoleScreenshot* | instances | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **GetPasswordData** | instances | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ImportImage* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ImportInstance* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **ImportKeyPair** | keypairs | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ImportSnapshot* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ImportVolume* | tasks,s3 | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ModifyHosts* | dedicated hosts | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ModifyIdentityIdFormat* | resource IDs | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ModifyIdFormat* | resource IDs | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | ModifyImageAttribute | images | productCodes attribute |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | ModifyInstanceAttribute | instances | only disableApiTermination, |
| | | | sourceDestCheck,instanceType supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ModifyInstancePlacement* | dedicated hosts | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **ModifyNetworkInterfaceAttribute** | network | |
| | | interfaces | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ModifyReservedInstances* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | *ModifySnapshotAttribute* | snapshots | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ModifySpotFleetRequest* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *ModifySubnetAttribute* | subnets | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | *ModifyVolumeAttribute* | volumes | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *ModifyVpcAttribute* | VPC | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *ModifyVpcEndpoint* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ModifyVpcPeeringConnectionOptions* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *MonitorInstances* | monitoring | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *MoveAddressToVpc* | infrastructural | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *PurchaseReservedInstancesOffering* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *PurchaseScheduledInstances* | scheduled | not supported |
| | | instances | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **RebootInstances** | instances | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | RegisterImage | images | virtualizationType, sriovNetSupport |
| | | | parameters |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *RejectVpcPeeringConnection* | cross-VPC | not supported |
| | | connectivity | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, VPC | **ReleaseAddress** | addresses | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ReleaseHosts* | dedicated hosts | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *ReplaceNetworkAclAssociation* | ACL | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *ReplaceNetworkAclEntry* | ACL | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **ReplaceRoute** | routes | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **ReplaceRouteTableAssociation** | routes | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *ReportInstanceStatus* | monitoring | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *RequestSpotFleet* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *RequestSpotInstances* | market | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | **ResetImageAttribute** | images | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | ResetInstanceAttribute | instances | same limitations as for |
| | | | ModifyInstanceAttribute |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **ResetNetworkInterfaceAttribute** | network | |
| | | interfaces | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EBS | *ResetSnapshotAttribute* | snapshots | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | *RestoreAddressToClassic* | infrastructural | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, VPC | RevokeSecurityGroupEgress | security groups | EC2 classic way to pass cidr, protocol,|
| | | | sourceGroup, ports parameters |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, VPC | RevokeSecurityGroupIngress | security groups | EC2 classic way to pass cidr, protocol,|
| | | | sourceGroup, ports parameters |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2, | RunInstances | instances | placement, block_device_mapping partial|
| VPC, EBS | | | support, monitoring, |
| | | | iamInstanceProfile, ebsOptimized, |
| | | | shutdownInitiatedInstanceBehavior |
| | | | parameters |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *RunScheduledInstances* | scheduled | not supported |
| | | instances | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **StartInstances** | instances | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **StopInstances** | instances | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| EC2 | **TerminateInstances** | instances | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *UnassignIpv6Addresses* | network | not supported |
| | | interfaces | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| VPC | **UnassignPrivateIpAddresses** | network | |
| | | interfaces | |
+----------+------------------------------------------+-----------------+----------------------------------------+
| | *UnmonitorInstances* | monitoring | not supported |
+----------+------------------------------------------+-----------------+----------------------------------------+
References
----------
Documentation:
https://docs.openstack.org/ec2-api/latest/
Wiki:
https://wiki.openstack.org/wiki/EC2API
Bugs:
https://launchpad.net/ec2-api
Source:
https://opendev.org/openstack/ec2-api
Blueprint:
https://blueprints.launchpad.net/nova/+spec/ec2-api
Spec:
https://review.opendev.org/#/c/147882/
Raw data
{
"_id": null,
"home_page": "https://launchpad.net/ec2-api",
"name": "ec2-api",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "OpenStack",
"author_email": "openstack-discuss@lists.openstack.org",
"download_url": "https://files.pythonhosted.org/packages/39/45/dd9bb7f0775687e4617d841147cf98dca01270c5f3f1b6a72c29f342ceda/ec2-api-16.0.0.tar.gz",
"platform": null,
"description": "=================\nOpenStack EC2 API\n=================\n\n.. image:: https://governance.openstack.org/tc/badges/ec2-api.svg\n :target: https://governance.openstack.org/tc/reference/tags/index.html\n\n.. Change things from this point on\n\nSupport of EC2 API for OpenStack.\nThis project provides a standalone EC2 API service which pursues two goals:\n\n 1. Implement VPC API\n 2. Create a standalone service for EC2 API support.\n\nInstallation\n------------\n\nFor more detailed information, please see the `Installation Guide <https://docs.openstack.org/ec2-api/latest/install/index.html>`_.\n\nInstallation by install.sh\n==========================\n\nRun install.sh\n\nThe EC2 API service gets installed on port 8788 by default. It can be changed\nbefore the installation in install.sh script.\n\nThe services afterwards can be started as binaries:\n\n::\n\n /usr/local/bin/ec2-api\n /usr/local/bin/ec2-api-metadata\n /usr/local/bin/ec2-api-s3\n\nor set up as Linux services.\n\nConfiguring OpenStack for EC2 API metadata service refering to section \"EC2 metadata Configuration\".\n\nInstallation on devstack\n========================\n\nInstallation in devstack:\n\nIn order to install ec2-api with devstack the following should be added to\nthe local.conf or localrc the following line:\n\n::\n\n enable_plugin ec2-api https://opendev.org/openstack/ec2-api\n\nDevstack installation with ec2-api and ec2api-tempest-plugin for development:\n\n1. install packages: awscli, git, python3, python3-devel, ruby\n2. clone devstack repository\n\n::\n\n git clone https://opendev.org/openstack/devstack\n\n3. grant all permissions for your user for directory: \"/opt\"\n4. create folder \"/opt/stack/logs/\"\n5. clone repository \"ec2api-tempest-plugin\" to stack folder:\n\n::\n\n git clone https://github.com/openstack/ec2api-tempest-plugin /opt/stack/ec2api-tempest-plugin\n\n6. create local.conf:\n\n::\n\n [[local|localrc]]\n ADMIN_PASSWORD=secret\n DATABASE_PASSWORD=$ADMIN_PASSWORD\n RABBIT_PASSWORD=$ADMIN_PASSWORD\n SERVICE_PASSWORD=$ADMIN_PASSWORD\n enable_plugin ec2-api https://opendev.org/openstack/ec2-api\n enable_plugin neutron-tempest-plugin https://github.com/openstack/neutron-tempest-plugin\n TEMPEST_PLUGINS='/opt/stack/ec2api-tempest-plugin'\n\n7. go to devstack folder and start installation\n\n::\n\n cd ~/devstack/\n ./stack.sh\n\n8. check installed devstack\n\n::\n\n source ~/devstack/accrc/admin/admin\n tempest list-plugins\n ps -aux | grep \"ec2\"\n aws --endpoint-url http://<IP-ADDRESS> --region <REGION> --profile admin ec2 describe-images\n openstack catalog list\n openstack flavor list\n openstack image list\n sudo journalctl -u devstack@ec2-api.service\n\n9. run integration tests (ec2 tempest test)\n\n::\n\n cd /opt/stack/tempest\n tox -eall -- ec2api_tempest_plugin --concurrency 1\n tox -eall ec2api_tempest_plugin.api.test_network_interfaces.NetworkInterfaceTest.test_create_max_network_interface\n\n10. run ec2-api unit tests\n\n::\n\n cd /opt/stack/ec2-api\n tox -epy36 ec2api.tests.unit.test_security_group.SecurityGroupTestCase.test_describe_security_groups_no_default_vpc\n\nConfiguring OpenStack for EC2 API metadata service refering to section \"EC2 metadata Configuration\".\n\nEC2 metadata Configuration\n==========================\n\nTo configure OpenStack for EC2 API metadata service:\n\nfor Nova-network\n add::\n\n [DEFAULT]\n metadata_port = 8789\n [neutron]\n service_metadata_proxy = True\n\n to /etc/nova.conf\n\n then restart nova-metadata (can be run as part of nova-api service) and\n nova-network services.\n\nfor Neutron\n add::\n\n [DEFAULT]\n nova_metadata_port = 8789\n\n to /etc/neutron/metadata_agent.ini for legacy neutron or\n to neutron_ovn_metadata_agent.ini for OVN\n\n then restart neutron-metadata service.\n\nS3 server is intended only to support EC2 operations which require S3 server\n(e.g. CreateImage) in OpenStack deployments without regular object storage.\nIt must not be used as a substitution for all-purposes object storage server.\nDo not start it if the deployment has its own object storage or uses a public\none (e.g. AWS S3).\n\nUsage\n-----\n\nDownload aws cli from Amazon.\nCreate configuration file for aws cli in your home directory ~/.aws/config:\n\n::\n\n [default]\n aws_access_key_id = 1b013f18d5ed47ae8ed0fbb8debc036b\n aws_secret_access_key = 9bbc6f270ffd4dfdbe0e896947f41df3\n region = us-east-1\n\nChange the aws_access_key_id and aws_secret_acces_key above to the values\nappropriate for your cloud (can be obtained by \"openstack ec2 credentials list\"\ncommand).\n\nRun aws cli commands using new EC2 API endpoint URL (can be obtained from\nopenstack cli with the new port 8788) like this:\n\naws --endpoint-url http://10.0.2.15:8788 ec2 describe-instances\n\n\nSupported Features and Limitations\n----------------------------------\n\nGeneral:\n * DryRun option is not supported.\n * Some exceptions are not exactly the same as reported by AWS.\n\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| AWS | Command | Functionality | Limitations |\n| Component| | group | |\n+==========+==========================================+=================+========================================+\n| | **bold** - supported, normal - supported | | |\n| | with limitations, *italic* -not supported| | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *AcceptVpcPeeringConnection* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, VPC | **AllocateAddress** | addresses | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *AllocateHosts* | dedicated hosts | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *AssignIpv6Addresses* | network | not supported |\n| | | interfaces | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | AssignPrivateIpAddresses | network | allowReassignment parameter |\n| | | interfaces | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, VPC | **AssociateAddress** | addresses | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **AssociateDhcpOptions** | DHCP options | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **AssociateRouteTable** | routes | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *AssociateSubnetCidrBlock* | subnets | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *AssociateVpcCidrBlock* | VPC | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *AttachClassicLinkVpc* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **AttachInternetGateway** | internet | |\n| | | gateways | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **AttachNetworkInterface** | network | |\n| | | interfaces | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, EBS | **AttachVolume** | volumes | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **AttachVpnGateway** | VPN | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, VPC | AuthorizeSecurityGroupEgress | security groups | EC2 classic way to pass cidr, protocol,|\n| | | | sourceGroup, ports parameters |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, VPC | AuthorizeSecurityGroupIngress | security groups | EC2 classic way to pass cidr, protocol,|\n| | | | sourceGroup, ports parameters |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *BundleInstance* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CancelBundleTask* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CancelConversionTask* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CancelExportTask* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CancelImportTask* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CancelReservedInstancesListing* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CancelSpotFleetRequests* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CancelSpotInstanceRequests* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ConfirmProductInstance* | product codes | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | *CopyImage* | image | not supported |\n| | | provisioning | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | *CopySnapshot* | snapshots,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | CreateCustomerGateway | VPC gateways | BGPdynamicrouting |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **CreateDhcpOptions** | DHCP options | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CreateEgressOnlyInternetGateway* | VPC gateways | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CreateFlowLogs* | infrastructural | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | CreateImage | images | blockDeviceMapping parameter |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CreateInstanceExportTask* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **CreateInternetGateway** | VPC gateways | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **CreateKeyPair** | key pairs | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CreateNatGateway* | NAT gateways | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *CreateNetworkAcl* | ACL | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *CreateNetworkAclEntry* | ACL | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **CreateNetworkInterface** | network | |\n| | | interfaces | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CreatePlacementGroup* | clusters | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CreateReservedInstancesListing* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | CreateRoute | routes | vpcPeeringConnection parameter |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **CreateRouteTable** | routes | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, VPC | **CreateSecurityGroup** | security groups | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | **CreateSnapshot** | snapshots | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *CreateSpotDatafeedSubscription* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | CreateSubnet | subnets | availabilityZone parameter |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **CreateTags** | tags | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | CreateVolume | volumes | iops, encrypted, kmsKeyId parameters |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **CreateVpc** | VPC | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *CreateVpcEndpoint* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *CreateVpcPeeringConnection* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | CreateVpnConnection | VPN | BGP dynamic routing |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **CreateVpnConnectionRoute** | VPN | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | CreateVpnGateway | VPN | BGP dynamic routing |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DeleteCustomerGateway** | VPC gateways | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DeleteDhcpOptions** | DHCP options | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DeleteEgressOnlyInternetGateway* | VPC gateways | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DeleteFlowLogs* | infrastructural | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DeleteInternetGateway** | VPC gateways | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **DeleteKeyPair** | key pairs | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DeleteNatGateway* | NAT gateways | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DeleteNetworkAcl* | ACL | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DeleteNetworkAclEntry* | ACL | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DeleteNetworkInterface** | network | |\n| | | interfaces | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | *DeletePlacementGroup* | clusters | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DeleteRoute** | routes | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DeleteRouteTable** | routes | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, VPC | **DeleteSecurityGroup** | security groups | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | **DeleteSnapshot** | snapshots | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DeleteSpotDatafeedSubscription* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DeleteSubnet** | subnets | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **DeleteTags** | tags | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | **DeleteVolume** | volumes | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DeleteVpc** | VPC | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DeleteVpcEndpoints* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DeleteVpcPeeringConnection* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DeleteVpnConnection** | VPN | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DeleteVpnConnectionRoute** | VPN | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DeleteVpnGateway** | VPN | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | **DeregisterImage** | images | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | DescribeAccountAttributes | infrastructural | vpc-max-security-groups-per-interface, |\n| | | | max-elastic-ips, |\n| | | | vpc-max-elastic-ips attributes |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, VPC | **DescribeAddresses** | addresses | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **DescribeAvailabilityZones** | availability | |\n| | | zones | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeBundleTasks* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DescribeClassicLinkInstances* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeConversionTasks* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DescribeCustomerGateways** | gateways | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DescribeDhcpOptions** | DHCP options | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeEgressOnlyInternetGateways* | VPC gateways | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeExportTasks* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeFlowLogs* | infrastructural | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeHosts* | dedicated hosts | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeIdentityIdFormat* | resource IDs | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeIdFormat* | resource IDs | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | DescribeImageAttribute | images | productCodes, sriovNetSupport |\n| | | | attributes |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | **DescribeImages** | images | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeImportImageTasks* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeImportSnapshotTasks* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | DescribeInstanceAttribute | instances | same limitations as for |\n| | | | ModifyInstanceAttribute |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, | **DescribeInstances** | instances | |\n| EBS, VPC | | | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeInstanceStatus* | monitoring | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DescribeInternetGateways** | gateways | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **DescribeKeyPairs** | key pairs | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DescribeMovingAddresses* | infrastructural | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeNatGateways* | NAT gateways | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DescribeNetworkAcls* | ACL | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DescribeNetworkInterfaceAttribute** | network | |\n| | | interfaces | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DescribeNetworkInterfaces** | network | |\n| | | interfaces | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | *DescribePlacementGroups* | clusters | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DescribePrefixLists* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | DescribeRegions | availability | RegionNameparameter |\n| | | zones | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeReservedInstances* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeReservedInstancesListings* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeReservedInstancesModifications* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeReservedInstancesOfferings* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DescribeRouteTables** | routes | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeScheduledInstanceAvailability* | scheduled | not supported |\n| | | instances | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeScheduledInstances* | scheduled | not supported |\n| | | instances | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeSecurityGroupReferences* | security groups | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, VPC | DescribeSecurityGroups | security groups | cidr, protocol, port, sourceGroup |\n| | | | parameters |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | *DescribeSnapshotAttribute* | snapshots | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | **DescribeSnapshots** | snapshots | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeSpotDatafeedSubscription* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeSpotFleetInstances* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeSpotFleetRequestHistory* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeSpotFleetRequests* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeSpotInstanceRequests* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeSpotPriceHistory* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeStaleSecurityGroups* | security groups | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DescribeSubnets** | subnets | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **DescribeTags** | tags | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | *DescribeVolumeAttribute* | volumes | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | **DescribeVolumes** | volumes | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeVolumeStatus* | monitoring | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DescribeVpcAttribute* | VPC | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DescribeVpcClassicLink* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DescribeVpcClassicLinkDnsSupport* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DescribeVpcEndpoints* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DescribeVpcEndpointServices* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DescribeVpcPeeringConnections* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DescribeVpcs** | VPC | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DescribeVpnConnections** | VPN | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DescribeVpnGateways** | VPN | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DetachClassicLinkVpc* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DetachInternetGateway** | VPC | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DetachNetworkInterface** | network | |\n| | | interfaces | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, EBS | DetachVolume | volumes | instance_id, device, force parameters |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DetachVpnGateway** | VPN | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DisableVgwRoutePropagation** | VPN | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *DisableVpcClassicLink* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DisableVpcClassicLinkDnsSupport* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, VPC | **DisassociateAddress** | addresses | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **DisassociateRouteTable** | routes | |\n| | *DisassociateSubnetCidrBlock* | subnets | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *DisassociateVpcCidrBlock* | VPC | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **EnableVgwRoutePropagation** | VPN | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | *EnableVolumeIO* | monitoring | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *EnableVpcClassicLink* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *EnableVpcClassicLinkDnsSupport* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **GetConsoleOutput** | instances | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *GetConsoleScreenshot* | instances | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **GetPasswordData** | instances | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ImportImage* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ImportInstance* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **ImportKeyPair** | keypairs | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ImportSnapshot* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ImportVolume* | tasks,s3 | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ModifyHosts* | dedicated hosts | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ModifyIdentityIdFormat* | resource IDs | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ModifyIdFormat* | resource IDs | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | ModifyImageAttribute | images | productCodes attribute |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | ModifyInstanceAttribute | instances | only disableApiTermination, |\n| | | | sourceDestCheck,instanceType supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ModifyInstancePlacement* | dedicated hosts | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **ModifyNetworkInterfaceAttribute** | network | |\n| | | interfaces | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ModifyReservedInstances* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | *ModifySnapshotAttribute* | snapshots | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ModifySpotFleetRequest* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *ModifySubnetAttribute* | subnets | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | *ModifyVolumeAttribute* | volumes | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *ModifyVpcAttribute* | VPC | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *ModifyVpcEndpoint* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ModifyVpcPeeringConnectionOptions* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *MonitorInstances* | monitoring | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *MoveAddressToVpc* | infrastructural | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *PurchaseReservedInstancesOffering* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *PurchaseScheduledInstances* | scheduled | not supported |\n| | | instances | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **RebootInstances** | instances | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | RegisterImage | images | virtualizationType, sriovNetSupport |\n| | | | parameters |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *RejectVpcPeeringConnection* | cross-VPC | not supported |\n| | | connectivity | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, VPC | **ReleaseAddress** | addresses | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ReleaseHosts* | dedicated hosts | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *ReplaceNetworkAclAssociation* | ACL | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *ReplaceNetworkAclEntry* | ACL | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **ReplaceRoute** | routes | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **ReplaceRouteTableAssociation** | routes | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *ReportInstanceStatus* | monitoring | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *RequestSpotFleet* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *RequestSpotInstances* | market | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | **ResetImageAttribute** | images | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | ResetInstanceAttribute | instances | same limitations as for |\n| | | | ModifyInstanceAttribute |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **ResetNetworkInterfaceAttribute** | network | |\n| | | interfaces | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EBS | *ResetSnapshotAttribute* | snapshots | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | *RestoreAddressToClassic* | infrastructural | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, VPC | RevokeSecurityGroupEgress | security groups | EC2 classic way to pass cidr, protocol,|\n| | | | sourceGroup, ports parameters |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, VPC | RevokeSecurityGroupIngress | security groups | EC2 classic way to pass cidr, protocol,|\n| | | | sourceGroup, ports parameters |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2, | RunInstances | instances | placement, block_device_mapping partial|\n| VPC, EBS | | | support, monitoring, |\n| | | | iamInstanceProfile, ebsOptimized, |\n| | | | shutdownInitiatedInstanceBehavior |\n| | | | parameters |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *RunScheduledInstances* | scheduled | not supported |\n| | | instances | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **StartInstances** | instances | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **StopInstances** | instances | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| EC2 | **TerminateInstances** | instances | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *UnassignIpv6Addresses* | network | not supported |\n| | | interfaces | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| VPC | **UnassignPrivateIpAddresses** | network | |\n| | | interfaces | |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n| | *UnmonitorInstances* | monitoring | not supported |\n+----------+------------------------------------------+-----------------+----------------------------------------+\n\n\nReferences\n----------\n\nDocumentation:\nhttps://docs.openstack.org/ec2-api/latest/\n\nWiki:\nhttps://wiki.openstack.org/wiki/EC2API\n\nBugs:\nhttps://launchpad.net/ec2-api\n\nSource:\nhttps://opendev.org/openstack/ec2-api\n\nBlueprint:\nhttps://blueprints.launchpad.net/nova/+spec/ec2-api\n\nSpec:\nhttps://review.opendev.org/#/c/147882/\n\n\n\n",
"bugtrack_url": null,
"license": "Apache License, Version 2.0",
"summary": "OpenStack Ec2api Service",
"version": "16.0.0",
"project_urls": {
"Homepage": "https://launchpad.net/ec2-api"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "51f753a850a86413b91b981f9b66483165c66906d40f88d8221e63c012fe1cf6",
"md5": "f6c50ef0cab4b2ca4f3aada4e47fd80f",
"sha256": "6a10e916efd98506e02ec9e7c32a036b85af1afe9dae23719b49509ea0fda8cd"
},
"downloads": -1,
"filename": "ec2_api-16.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f6c50ef0cab4b2ca4f3aada4e47fd80f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 312580,
"upload_time": "2023-03-22T12:15:16",
"upload_time_iso_8601": "2023-03-22T12:15:16.930033Z",
"url": "https://files.pythonhosted.org/packages/51/f7/53a850a86413b91b981f9b66483165c66906d40f88d8221e63c012fe1cf6/ec2_api-16.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3945dd9bb7f0775687e4617d841147cf98dca01270c5f3f1b6a72c29f342ceda",
"md5": "03cf276c1affb7a45ad015ca840369d9",
"sha256": "6983f4583f3d94ea079f551f7e77a3b05987d5f929ccd6e311eed568eebf198d"
},
"downloads": -1,
"filename": "ec2-api-16.0.0.tar.gz",
"has_sig": false,
"md5_digest": "03cf276c1affb7a45ad015ca840369d9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 304213,
"upload_time": "2023-03-22T12:15:20",
"upload_time_iso_8601": "2023-03-22T12:15:20.167516Z",
"url": "https://files.pythonhosted.org/packages/39/45/dd9bb7f0775687e4617d841147cf98dca01270c5f3f1b6a72c29f342ceda/ec2-api-16.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-22 12:15:20",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "ec2-api"
}