Amazon AWS SDK Bedienungsanleitung Seite 22

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 28
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 21
You must specify a public or privately-provided AMI. A large selection of Amazon-provided public AMIs
is available for you to use. For a list of public AMIs provided by Amazon, go to Amazon Machine Images.
Ensure that the specified image ID exists in the region in which your client was created.
The instance type must match the AMI you want to run. For 64-bit architecture, you cannot specify an
instance type of m1.small. For more information on instance types, go to Instance Families and Types.
You must specify a maximum number of instances to launch. If the specified number of instances is
greater than the number of instances you are authorized to launch, no instances are launched. The spe-
cified number of maximum instances must be no greater than the maximum number allowed for your
account; by default, this is 20. If fewer instances are available than the maximum number specified, the
largest possible number of images are launched.
Ensure that the specified key name and security group exists for the region in which your client was created.
After you have created your Amazon EC2 instance, you can log onto the AWS Management Console to
check the status of the instance.
Once your Amazon EC2 instance is running, you can remotely connect to it using your key pair. For in-
formation about connecting to your instance, see Connect to Your Amazon EC2 Instance (p. 19).
Connect to Your Amazon EC2 Instance
Before connecting to your Amazon EC2 instance, you must ensure that the instance’s SSH/RDP port is
open to traffic.You must also install an SSH/RDP client on the computer you are accessing your instance
from.You will need your Amazon EC2 instance ID and the private key from the key pair you created. For
information about how to obtain the private key, see Create a Key Pair (p. 18).
If you did not authorize ingress for the security group that your instance belongs to, you will not be able
to connect to your instance. By default, Amazon EC2 instances do not permit inbound traffic. For more
information about authorizing security group ingress, see Authorize Security Group Ingress (p. 17).
For information about how to connect to your Amazon EC2 instance, go to Connecting to Instances in
the Amazon EC2 User Guide.
Related Resources
The following table lists related resources that you'll find useful when using Amazon EC2 with the AWS
SDK for Ruby.
DescriptionResource
Provides sample code, documentation, tools, and additional
resources to help you build applications on Amazon Web
Services.
Ruby Developer Center
Provides documentation for the AWS SDK for Ruby.AWS SDK for Ruby Documentation
Provides documentation for the Amazon EC2 service.Amazon Elastic Compute Cloud
(Amazon EC2) Documentation
Version v1.0.0
19
AWS SDK for Ruby Developer Guide
Connect to Your Amazon EC2 Instance
Seitenansicht 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 28

Kommentare zu diesen Handbüchern

Keine Kommentare