Using AWS Toolkit for Visual Studio

AWS Overview:

AWS stands for Amazon Web Services. These services provide computing resources on demand along with the services in cloud with the pricing feature of pay-as-you-go. The use of AWS resources rather than your own services is similar to buying electricity from a company instead of using a private generator. It will provide the same benefits such as the capacity will match your needs; the payment will be done only for the required resources, lower costs by scale economies etc.

Main Uses of AWS:

AWS is used for easy building and management of applications and websites. Few important uses of AWS are as shown below:

  1. Storage of private or public data.
  2. Hosting of static website. These make use of the Client-side technologies to show content that does not change frequently.
  3. Hosting of a web app or a dynamic website. These include the three-tier applications with database, application and the web.
  4. Supporting training programs and the students.
  5. Processing of scientific and business data.
  6. Handling peak loads.

AWS Toolkit for Visual Studio:

The AWS toolkit for Visual Studio is a plugin that allows easy development, debugging and deployment of .Net project created with Amazon Web Services.

  1. Download the AWS toolkit from the following location: aws.amazon.com/visualstudio.
  2. AWS toolkit is supported by Visual Studio 2008 standard and up as well as Visual Studio version 2010 professional up.
  3. Open the toolkit and install the same on the system.
  4. On completing the installation, the AWS Explorer will be seen in the Views folder as shown below:

1

The AWS Explorer allows the interaction of AWS services in Visual Studio. Many data services are supported by AWS Explorer such as Amazon S3, Amazon SQS, Amazon CloudFront, Amazon Simple DB, Amazon EC2, Amazon SNS etc. Under the AWS explorer, there is a list of accounts at the top with three options to Add, Edit and delete account.

2

Below the Accounts section, there is a list of regions supported by AWS.
Further below, there are list of AWS services as shown in the diagram above.

a. Amazon CloudFront:

It is a web service that is used for the delivery of content. Along with other AWS services, it provides an easy way to distribute content to various end users with high speeds of data transfer and low latency.

To create a new distribution, right click on the Amazon CloudFront and click on Create Distribution. Select the relevant option from the Amazon S3 bucket and click on create.

3

It is possible to view the properties of distribution by clicking on it and make changes and save them.

b. The Amazon EC2 services can be easily seen from the Amazon EC2 section as shown below:

4

It is possible to open the AMI view, the instances View, the Key Pairs View, the Security groups Views and the Volumes.

c. The Amazon S3 section contains all Amazon buckets.

5

It is possible to create new bucket by right clicking on the Amazon S3 and selecting create bucket. Also it is possible to browse a bucket and view the list of objects such as file manager. Also there are options to upload files and folders and modify the properties of these.

d. Amazon SimpleDB

6

This section contains domains. It is possible to create new domain by doing right-click on Amazon SimpleDB and clicking on create domain. Also it is possible to open a domain in query like window and edit data in these.

e. Amazon SNS:

The Amazon SOS domains contain a list of topics and it is possible to create new topics. Also it allows users to View a topic and manage its creation. Moreover, it is possible to publish message to a topic.

f. Amazon SQS:

7

This section contains a list of queues. It is possible to create a new queue. User can look into the queue by clicking on the queue. Message sampling can be done for a queue and also it is possible to send a message to a queue.

g. AWS CloudFormation:

This section allows users to deploy a template that becomes a stack with the AWS resources described in the template. View the details of the stack by clicking on the stack. It is possible to deploy web applications from N Visual Studio using AWS CloudFormation.

h. AWS Identity and Access Management:

This section shows users and groups and allows us to assign users to groups and manage the access policies.

Setup of Amazon Toolkit for Visual Studio:

For the installation and configuration of the toolkit, perform the following steps:

Prerequisites:

  1. An AWS Account: In order to use the AWS services, a user should have an AWS account. To create an AWS account, go to the home page of AWS and click on Create account.
  2. The operating systems supported for AWS includes Windows 7, Windows 8 and Windows Vista.
  3. Visual Studio 10 and higher versions supports AWS services.

Adding a Profile to SDK Store:

Perform the following steps for adding a profile to the SDK Store.

  1. Open the AWS Explorer. For doing so, click on the View option and then select the AWS Explorer from there.
  2. Click on the icon to create New Profile located on the right side of Profile List.

8

  1. Type the following information in the dialog box

9

a. Profile Name: It indicates the display name for profile.
b. ID of Access Key: It is a mandatory field.
c. Secret Key: It is a mandatory field.
d. Account Number: It is not mandatory to fill the account number. Account number is used in Visual Studio toolkit for the construction of the Amazon resource names.
e. Account Type: It is a mandatory field. It helps in determining the regions that are displayed in the AWS Explorer.
f. Standard AWS Account:

The AWS US Account will display only the region of AWS GovCloud (US).
The Amazon AWS Account (China region) will display the region of China (Beijing).

Click OK. The profile will be added to the SDK store. Select the name of the profile to use the same in project.

You have had learned about AWS, its uses, the way toolkit applied for Visual studio by developers. You should hire Asp.net Developers team that understands AWS toolkit plugin advantages and knows how to apply it. For queries related to AWS toolkit, you may comment below.

Written by James Warner

James Warner is an highly skilled and experienced software and mobile application system development manager at NexSoftsys. He has wide experience in IT industries to develop creative business system based on Java, .Net, Python, iOS, Magento and Android.

His broad technology knowledge inspire him to face complicated projects. He is working with Healthcare industries, Telecommunications, Banking and finance IT sector to produce high security and user friendly business system.

Leave a Reply

Your email address will not be published. Required fields are marked *