AWS Developer Blog

Category: .NET

S3 Server Side Encryption with Windows PowerShell

Today we have a guest post by AWS Solutions Architect David Veith on making use of Amazon S3’s server-side encryption with customer-provided keys. The release of version 2.1.4 of the AWS Tools for Windows PowerShell introduced support for a new server-side encryption method for Amazon S3. You now have three primary options for encrypting data […]

Read More

Introducing S3Link to DynamoDBContext

S3Link has been in the AWS SDK for Java for a while now, and we have decided to introduce it to the AWS SDK for .NET as well. This feature allows you to access your Amazon S3 resources easily through a link in your Amazon DynamoDB data. S3Link can be used with minimal configuration with […]

Read More

Importing VM Images and Volumes with PowerShell and C#

Version 2.2.0 of the AWS Tools for Windows PowerShell and AWS SDK for .NET contained updates to make it easy to import virtual machine images and disk volumes into Amazon EC2. In the case of PowerShell, there are revised Import-EC2Instance and Import-EC2Volume cmdlets, while in the SDK there is a new helper class, DiskImageImporter, in […]

Read More

Supporting Windows Phone 8.1

When we introduced version 2 of AWS SDK for .NET, it included support for Windows Store 8 and Windows Phone 8. With the release of Windows Phone 8.1, the runtime environment has changed to make it similar to Windows Store apps and to support Universal Apps. This means that when you create a new Windows […]

Read More

Subscribing Websites to Amazon SNS Topics

Amazon SNS allows you to create topics that have many different subscribers to receive the messages sent from the topic. Amazon SQS queues and emails are probably the most common type of consumers for a topic, but it is also possible to subscribe a website. Setting Up the Website The sample application creates a generic […]

Read More

Enhancements to the DynamoDB SDK

The release of AWS SDK for .NET version 2.1.0 has introduced a number of changes to the high-level Amazon DynamoDB classes. Now, less markup is required to use classes with DynamoDBContext, as the SDK now infers reasonable default behavior. You can customize this behavior through app.config/web.config files and during run time through the SDK. In […]

Read More

Monitoring Your Estimated Costs with Windows PowerShell

The documentation for Amazon CloudWatch contains this sample scenario for setting up alarms to monitor your estimated charges. Apart from a one-time operation to enable billing alerts for your account, the same capability can be set up and maintained using the AWS Tools for Windows PowerShell. Enabling Alerts The first step is to enable billing […]

Read More

Referencing Credentials using Profiles

There are a number of ways to provide AWS credentials to your .NET applications. One approach is to embed your credentials in the appSettings sections of your App.config file. While this is easy and convenient, your AWS credentials might end up getting checked into source control or published to places that you didn’t mean. A […]

Read More

IAM Roles for Amazon EC2 instances (Access Key Management for .NET Applications – Part 4)

In this post, we’ll see how to use Identity and Access Management(IAM) roles for Amazon EC2 instances. Using IAM roles for EC2 instances, you don’t need to manage or distribute credentials that your application needs. Instead, credentials are automatically distributed to EC2 instances and picked up by the AWS SDK for .NET. Here are the […]

Read More

Overriding Endpoints in the AWS SDK for .NET

Sometimes, when sending requests using the AWS SDK for .NET, you are required to explicitly specify an endpoint URL for a service. One such scenario is when you use an older version of the SDK to send requests to a particular service and that service is introduced in a new region. To access the service […]

Read More