Download
Download the AWS SDK for .NET 1.2.2
New Features
| Change | Description |
|---|---|
| AWS Elastic Beanstalk API Support |
AWS Elastic Beanstalk enables developers to quickly deploy and manage applications in the AWS cloud without having to worry about the physical infrastructure or the resource configuration that accompanies setting up that infrastructure. You simply upload your application to AWS Elastic Beanstalk, and AWS Elastic Beanstalk automatically handles the deployment details of capacity provisioning, load balancing, auto-scaling, and application health monitoring. AWS Elastic Beanstalk leverages AWS services such as Amazon EC2, Amazon S3, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to deliver the same highly reliable, scalable, and cost-effective infrastructure that thousands of businesses depend on today. Once your application is deployed, AWS Elastic Beanstalk can be used to monitor, change configuration settings, and deploy new versions. For more information on AWS Elastic Beanstalk, see http://aws.amazon.com/elasticbeanstalk. The following sample demonstrates how to deploy an application:
string awsAccessKey = "INSERT ACCESS KEY";
string awsSecretAccessKey = "INSERT SECRET KEY";
string warDeploymentBucket = "amazing-app-deployment-bucket";
string warFileLocation = @"c:\deployment\Amazing.war";
string applicationName = "My Amazing Web Application";
string envName = "Staging Environment";
// List of available stack solutions can be found using
// AmazonElasticBeanstalk.ListAvailableSolutionStacks()
string stackSolution = "64bit Amazon Linux running Tomcat 6";
AmazonElasticBeanstalk beanstalkClient = AWSClientFactory.CreateAmazonElasticBeanstalkClient(awsAccessKey, awsSecretAccessKey);
TransferUtility transfer = new TransferUtility(awsAccessKey, awsSecretAccessKey);
transfer.Upload(warFileLocation, warDeploymentBucket, "Amazing.war");
// Where the WAR file is currently located at.
S3Location s3FileLocation = new S3Location()
.WithS3Bucket(warDeploymentBucket)
.WithS3Key("Amazing.war");
CreateApplicationVersionRequest createVersionRequest = new CreateApplicationVersionRequest()
.WithApplicationName(applicationName)
.WithVersionLabel("0.1")
.WithAutoCreateApplication(true)
.WithSourceBundle(s3FileLocation);
beanstalkClient.CreateApplicationVersion(createVersionRequest);
CreateEnvironmentRequest createEnvRequest = new CreateEnvironmentRequest()
.WithApplicationName(applicationName)
.WithSolutionStackName(stackSolution)
.WithVersionLabel("0.1")
.WithEnvironmentName(envName);
beanstalkClient.CreateEnvironment(createEnvRequest);
|
Known Issues
| Issue | Description |
|---|---|
| Installation Requires Administrator Privileges | The default install location is %PROGRAMFILES%, which on most computers is "c:\program files". In order to install files to the default location, the MSI must be run by an Administrator. If you don't have Administrator privileges on the machine, please change the install location to something like "c:\Documents and Settings\<you>\AWS SDK for .NET", and the install will complete successfully. If you are running on Vista, your personal folder is similar to "c:\users\<you>\". |
| Uninstalling the SDK Produces "Unknown Publisher" Message | On Windows Vista, uninstalling the MSI results in an "Unknown Publisher" dialog even though the installer is signed by Amazon Web Services. This is a known Windows Installer bug on Windows Vista, and is documented here: http://support.microsoft.com/kb/929467/en-us |
Migrating to the AWS SDK for .NET 1.2.2
There were a number of changes made in previous releases that may impact applications using Amazon CloudWatch, Auto Scaling, Amazon RDS, Elastic Load Balancing, or Amazon Elastic MapReduce:
The 1.2.0 release contained the following changes to Amazon CloudWatch and Amazon Auto Scaling:
| Title | Description |
|---|---|
| ResponseMeta | The classes Amazon.CloudWatch.Model.ResponseMeta and Amazon.AutoScaling.Model.ResponseMeta were moved to the common location Amazon.Runtime.ResponseMeta. |
Removed ToXML methods |
The ToXML methods were removed so the responses can be streamed from the services for improved performance. |
| Amazon CloudWatch Data Type Changes |
|
| Auto Scaling Data Type Changes |
|
The 1.1.0 release contained the following changes to Amazon RDS, Elastic Load Balancing and Amazon Elastic MapReduce
| Title | Description |
|---|---|
| ResponseMeta | The classes Amazon.ElasticLoadBalancing.Model.ResponseMeta, Amazon.ElasticMapReduce.Model.ResponseMeta and Amazon.RDS.Model.ResponseMeta were moved to the common location Amazon.Runtime.ResponseMeta. |
Removed ToXML methods |
The ToXML methods were removed so the responses can be streamed from the services for improved performance. |
| Amazon RDS Data Type Changes |
|
| Amazon RDS Property Name Changes | The following property names were pluralized.
|
| Elastic Load Balancing Data Type Changes |
|
| Amazon Elastic MapReduce Data Type Changes |
|
Supported API Versions
This release of the SDK supports the following API versions:
| Service | API Version |
|---|---|
| Amazon CloudFront | 2010-08-01 |
| Amazon CloudWatch | 2010-08-01 |
| Amazon Elastic Compute Cloud (EC2) | 2010-08-31 |
| Amazon Elastic MapReduce | 2009-03-31 |
| Amazon Relational Database Service (RDS) | 2010-07-28 |
| Amazon Simple Notification Service (SNS) | 2010-03-31 |
| Amazon Simple Queue Service (SQS) | 2009-02-01 |
| Amazon Simple Storage Service (S3) | 2006-03-01 |
| Amazon SimpleDB | 2009-04-15 |
| Auto Scaling | 2009-05-15 |
| AWS Elastic Beanstalk | 2010-12-01 |
| AWS Identity and Access Management | 2010-05-08 |
| AWS Import/Export | 2010-06-01 |
| Elastic Load Balancing | 2010-07-01 |