Skip to content

Install and Configure AWS Toolkit for Visual Studio 2017

Purpose & Background

The purpose of this lab is to install and configure AWS Toolkit for Visual Studio 2017 and configure by adding your profile in order to start accessing and consuming AWS services

Lab Exercises

The following exercises should be completed in order for this lab:

  1. Install AWS Toolkit for Visual Studio 2017
  2. Configure your Profile
  3. Verify the Installation

Prerequisites

The following are the prerequisites required in order to complete the lab:

  1. Microsoft Visual Studio 2017 or above installed on your computer
  2. AWS Account
  3. Internet connection

Part 1 – Install AWS Toolkit for Visual Studio 2017

Follow the steps described here to get AWS Toolkit installed

  1. In Visual Studio Tools menu, click on Extensions and Update Picture 1
  2. Make sure to select “Online” node on the left side
  3. Type in the search textbox “AWS Toolkit” Picture 2
  4. You will see “AWS Toolkit for Visual Studio 2017” in the search result, select it and click on “Download” button Picture 3
  5. In order complete the installation, you need to close Visual Studio 2017, after you close it the installation process will kick in. Picture 4

    Picture 5 6. Once it’s done, run Visual Studio 2017 again, and you will see “AWS Getting Started” page. Picture 6 7. Go to the “View” menu and select “AWS Explorer” Picture 7 8. Click on the icon that has “+” sign on the right of “Profile” dropdown.

In the next section you will create an IAM user that you will use to configure AWS Toolkit.

Part 2 – Configure your Profile

In this part you will create IAM user and get the credentials that you will need to setup AWS Toolkit and start using it.

  1. Sing in to AWS Console, go to IAM (Under Security, Identity & Compliance).
  2. Select “Users” on the left navigation bar
  3. Click on “Add User” button Picture 8
  4. Enter user name and make sure to select both access type, especially “Programmatic access” then click “Next: Permissions” button Picture 9
  5. Select the admin policy as you can see in this screenshot Picture 10
  6. Review the info and click “Create User” button Picture 11
  7. In the final page, you should see “Success” message, it is very important here to either copy the “Access Key ID” and “Secret Access Key” (after you click on the “Show” button) or you click on “Download .csv” button. Picture 12
  8. Now you go to Visual Studio and use the “.csv” file that you downloaded to create SDK profile. Click on “Import from csv file…” and select the file Picture 13
  9. Click on “Save and Close”

Part 3 – Verify the Installation

After you create the SDK profile, you will be able to see “AWS Explorer” as shown in the following screenshot

Picture 14

Now you have successfully installed AWS Toolkit for Visual Studio 2017 and you are ready to start building AWS projects in Visual Studio 2017.