Menu Close

Setting Up the AWS Toolkit for Visual Studio

In this article we will learn about how to Setting Up the AWS Toolkit for Visual Studio. We will be discuss here how to install and adding AWS toolkit information in Visual Studio. Please read my previous article about AWS – Create An Amazon AWS Free Tier Account.

Prerequisites

To install and configure the Toolkit for Visual Studio, you must:

  • Have an AWS account. This account enables you to use AWS services. To get an AWS account, on the AWS home page, choose Create an AWS Account.
  • Run a supported operating system: Windows 10, Windows 8, or Windows 7.We recommend that you install the latest service packs and updates for the Windows version you’re using.
  • Visual Studio 2017 or later (including Community editions).We recommend that you install the latest service packs and updates.

Installing AWS Toolkit for Visual Studio

The Toolkit for Visual Studio for Visual Studio 2022 is distributed in the Visual Studio Marketplace. You can also install and update the toolkit within Visual Studio by using the main menu to navigate.

Step-1

https://aws.amazon.com/visualstudio/

aws-toolkit-vs2022
  • (Visual Studio 2022) Extensions ≫ Manage Extensions
  • In the upper-right search box, search for AWS and choose Download for the “AWS Toolkit for Visual Studio 2022”. Choose Close.
  • After the toolkit has been installed, open it by choosing AWS Explorer from the View heading in the main menu.

Step-2

After clicking the above highlighted button it navigate to Visual Studio Marketplace, download the file.

aws-toolkit-vs2022-download

Step-3

After downloading the button follow the ongoing instruction to install the AWS Toolkit.

aws-toolkit-install
aws-toolkit-install-success

How to Integrate Visual Studio With AWS

As the AWS Toolkit is installed on the above, our next work is how we can integrate visual studio with AWS.

Step-1

Open the AWS explorer, by clicking the Visual studio Menu View AWS Explorer and on the right side you can see the credentials is require to access the AWS on next.

aws-explorer
aws-credentials

Creating AWS Credentials

Following below steps we can create the credentials that can be access to the features of AWS Kit on visual studio itself

Step-1

Logged in your AWS Console and search for IAM(Identity and Access Management) service like below.

aws-IAM-Service

Step-2

After clicking the above button, it prompt the below screen, and select on the Users on the left and click on the Add Users.

aws-IAM-Users-AddUsers

Step-3

  • Set the user name according to your choice.
  • Enable checkbox Access Key-Programmatic access and Password – AWS Management Console.
  • Generate custom password and then click Next Permissions button.
aws-IAM-Users-set-credentials

Step-4

Set two permissions for the created user, select Attach existing policies directly.

  • AdministratorAccess
  • IAMSelfManageServiceSpecificCredentials and click the next Tags.
aws-IAM-Users-set-permission

Step-5

aws-IAM-Users-next

Step-6

aws-IAM-Users-create-user

Step-7

After the above step the user creation is success and we can download the file Download.csv for further use.

aws-IAM-Users-create-user-success

Step-8

Open the AWS explorer, by clicking the Visual studio Menu  View  AWS Explorer and click on the User icon it will prompt to add the created credentials.

Here we need to set the Profile name, and then select the Import csv file and upload the downloaded CSV file.

aws-IAM-Users-importCSV

Step-9

After uploading the CSV file, we need to change the region to your neared server.

aws-set-region

That’s it, Now we can see AWS related features are available in Visual studio.

aws-toolkit-in-vs

Conclusion

In this article we discussed about how to Setting Up the AWS Toolkit for Visual Studio. Here we learnt about how to install and adding AWS toolkit information in Visual Studio.

Leave behind your valuable queries and suggestions in the comment section below. Also, if you think this article helps you, do not forget to share this with your developer community. Happy Coding 🙂

Related Articles

Jayant Tripathy
Coder, Blogger, YouTuber

A passionate developer keep focus on learning and working on new technology.

Leave a Reply

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