Table of Contents
Introduction ......................................................................................................................................1
Creating and Bundling AMIs ...........................................................................................................2
Creating an AMI ........................................................................................................... 3
Bundling an AMI ........................................................................................................ 10
Securing the Network .....................................................................................................................12
Concepts ......................................................................................................................15
Examples .....................................................................................................................16
Tools and APIs ............................................................................................................19
Using Instances .............................................................................................................................. 20
Command Line Tool Reference .....................................................................................................22
ec2-register ..................................................................................................................26
ec2-describe-images ....................................................................................................27
ec2-deregister ..............................................................................................................28
ec2-add-keypair .......................................................................................................... 29
ec2-describe-keypairs ................................................................................................. 30
ec2-delete-keypair .......................................................................................................31
ec2-fingerprint-key ..................................................................................................... 32
ec2-run-instances ........................................................................................................ 33
ec2-describe-instances ................................................................................................ 35
ec2-terminate-instances .............................................................................................. 36
ec2-add-group ............................................................................................................. 37
ec2-describe-groups .................................................................................................... 38
ec2-delete-group ......................................................................................................... 39
ec2-authorize ...............................................................................................................40
ec2-revoke ...................................................................................................................42
Using the SOAP API ......................................................................................................................44
API Reference ................................................................................................................................ 52
API Conventions .........................................................................................................53
API Error Codes ..........................................................................................................54
Operations ...................................................................................................................56
Data Types .................................................................................................................. 74
RegisterImage ....................................................................................................56
DescribeImages ................................................................................................. 57
DeregisterImage ................................................................................................ 58
CreateKeyPair ................................................................................................... 59
DescribeKeyPairs .............................................................................................. 60
DeleteKeyPair ................................................................................................... 61
RunInstances ..................................................................................................... 62
DescribeInstances ..............................................................................................64
TerminateInstances ............................................................................................65
CreateSecurityGroup .........................................................................................66
DescribeSecurityGroups ....................................................................................67
DeleteSecurityGroup .........................................................................................69
AuthorizeSecurityGroupIngress ........................................................................70
RevokeSecurityGroupIngress ............................................................................71
DescribeKeyPairsResponseItemType ............................................................... 74
DescribeImagesResponseItemType .................................................................. 74
IpPermissionType ..............................................................................................75
UserIdGroupPairType ....................................................................................... 75
SecurityGroupItemType ....................................................................................76
RunInstanceItemType ....................................................................................... 76
InstanceStateType ............................................................................................. 77
GroupSetType ................................................................................................... 78
Amazon EC2
Developer Guide
4
Previous Page Next Page