Compute API Reference

Every operation of the Compute API, under /ec2/api. Sign requests with an access key (Authorization: EWS-ACCESS-KEY <id>:<secret>). A successful JSON response is { "success": true, "data": … }.

instances

Virtual machines

nat-gateways

IPv4 internet access for a VPC’s machines without a public IPv4

vpcs

Private networks

subnets

Subnets within a VPC

availability-zones

Availability zones: one provider location each (de1a = fsn1, de1b = nbg1)

instance-type-offerings

Which instance types each zone sells right now. The provider sells from live stock; refreshed every minute

  • GET /ec2/api/instance-type-offerings
    List instance types per availability zone with inStock and when it last changed (e.g. "arm-2 sold out in de1a, in stock in de1b")ec2:DescribeInstanceTypeOfferings

security-groups

Firewall rule sets attached to instances

key-pairs

SSH public keys registered for launch

sessions

Terminal sessions on instances (Deutsche Cloud Connect), across the organization

  • GET /ec2/api/sessions
    Terminal sessions: who opened which instance, when, for how longec2:DescribeSessions

machine-images

Snapshots of an instance root volume

snapshot-policies

Scheduled instance snapshots with retention

volumes

Block storage you create, attach to an instance, and delete

snapshots

Volume snapshots: a volume’s blocks in object storage, restorable into a new volume

elastic-ips

Floating IPv4 addresses

Generated from the API description, the same one the API checks requests against and the CLI is built from.