Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Net::Amazon::EC2 0.14

    Download button

    No screenshots available
    Downloads: 655  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Jeff Kim | More programs
    Perl Artistic License / FREE
    May 12th, 2007, 10:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Net::Amazon::EC2 description

    A Perl interface to the Amazon Elastic Compute Cloud (EC2) environment.

    Net::Amazon::EC2 is a Perl interface to the Amazon Elastic Compute Cloud (EC2) environment.

    SYNOPSIS

    use Net::Amazon::EC2;

    my $ec2 = Net::Amazon::EC2->new(
    AWSAccessKeyId => 'PUBLIC_KEY_HERE',
    SecretAccessKey => 'SECRET_KEY_HERE'
    );

    # Start 1 new instance from AMI: ami-XXXXXXXX
    my $instance = $ec2->run_instances(ImageId => 'ami-XXXXXXXX', MinCount => 1, MaxCount => 1);

    my $running_instances = $ec2->describe_instances();

    foreach my $inst (@{$running_instances}) {
    print "$inst->{instance}[0]{instanceId}n";
    }

    # Terminate instance

    my $result = $ec2->terminate_instances(InstanceId => $instance->{instance}[0]{instanceId});


    If an error occurs in communicating with EC2, the return value will be undef and $ec2->{error} will be populated with the message.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Amazon EC2 | Elastic Compute Cloud interface | Perl module | interface | Amazon | EC2

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM