VB.Net Library for Amazon EC2

Sample Code & Libraries>VB.Net Library for Amazon EC2
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

VB.Net Library for Amazon EC2

Details

Submitted By: Elena@AWS
AWS Products Used: Amazon EC2
Language(s): VB.NET
License: Apache License 2.0
Created On: August 21, 2008 4:43 AM GMT
Last Updated: December 3, 2009 12:18 AM GMT
Download

IMPORTANT: This library has been deprecated and will no longer be updated. We recommend developers switch to the new AWS SDK for .NET, which is almost identical to this library, where you'll continue to get new feature updates and bug fixes. To learn more about the AWS SDK for .NET, and for support with migration, see http://aws.amazon.com/sdkfornet.

About this Library

  • Based on the 2009-08-15 API version.

What's New?

  • 2009-09-29:
    • Fix typo and response transformation on VpcAttachment
  • 2009-09-28:
  • 2009-09-23:
    • Support for Shared Snapshots API
  • 2009-09-10:
    • Fix for missing VPC fields on RunningInstance
  • 2009-08-25:
    • Support for VPC API
  • 2009-05-17:
    • Support for monitoring API
  • 2009-04-09:
    • Support for reserved instances API
  • 2008-12-17:
    • Support for regions, signature version 2, https endpoint
  • 2008-10-21:
    • Support for Windows Bundling, new API version - 2008-08-08
  • 2008-08-20:
    • Initial release, support for Amazon Elastic Block Store
  • Prerequisites

    Package Content

    Directory Overview
    src Source distribution of the library. All sources including code samples that demonstrate the use of the library located under this directory.

    Quick Start

    Library comes with VB.Net solution and two pre-configured VB.Net projects.
    • Amazon.EC2.vbproj - main library project
    • Amazon.EC2.Samples.vbproj - library samples project
    To get started with the library, follow these steps:
    1. Extract the amazon-ec2-2009-08-15-vbnet-library.zip file into a working directory.
    2. Open Amazon.EC2.sln solution file in Visual Studio 2005
    3. Hit F5 key and follow on screen instruction

    Running Samples

    Steps to run particular sample
    • Open AmazonEC2Samples.vb file under Amazon.EC2.Samples project
    • Set AWS Access Key ID and AWS Secret Access Key
    • Dim accessKeyId As String = "<Your Access Key ID>"
      Dim secretAccessKey As String = "<Your Secret Access Key>"
                  


    • Set request parameters. For example, find following pre-generated snippet:
    • // Dim  request As New DescribeImagesRequest()
      // @TODO: set request parameters here
      // DescribeImagesSample.InvokeDescribeImages(service, request)
                  


    • Uncomment first and third line and set ImageId:
    • Dim  request As New DescribeImagesRequest()
      request.ImageId = "ami-be3adfd7"
      DescribeImagesSample.InvokeDescribeImages(service, request)
      
                  

    • Hit F5 to run sample. You should see the output similar to the following:


    •     DescribeImagesResponse
              DescribeImagesResult
                  Image
                      ImageId
                          ami-be3adfd7
                      ImageLocation
                          ec2-public-images/fedora-8-i386-base-v1.04.manifest.xml
                      ImageState
                          available
                      KernelId
                          aki-4438dd2d
                      RamdiskId
                          ari-4538dd2c
                      ...
      
                  


    • Experiment with other samples, examine samples sources. When ready, add library project to your solution, and use it.

    Happy coding!

    Comments, Questions or Feedback

    If you have any comments, questions or feedback on the library, please start discussion here.
    ©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.