Integrating Visual Studio with AWS (RDS)- Part 1

Fabio de Paula Carvalho
5 min readNov 22, 2020

Hello everyone! Welcome to my first tutorial of a series of tutorials with focus on developing a new microservices application with .Net Core, VueJS and Amazon AWS

In our first tutorial we will learn how to integrate our Visual Studio with our AWS account. The main ideia is that each tutorial has your specific approach. This means that our first tutorial we will do only the AWS integration.

1 — Well, to start, you should first create your AWS account. The AWS offers a Free Tier account that is a good option for our example. You can create your free tier account here on this link.

2 — After create your account in AWS, open your Visual Studio without create any new project. Click on Continue without code.

3 — Now click in the menu Extensions and then select the option Manage Extensions.

4 — On the new Dialog box that is showed up, go to the menu SEARCH in the top right on the window, and search for AWS Toolkit For Visual Studio.

5 — Select the first option and install on your Visual Studio.

6 — Restart your Visual Studio so that the changes can be applied.

7 — After restart your Visual Studio, go to the menu View and you will see a new menu option available. Called AWS Explorer.

8 — Click in the menu AWS Explorer to show the new window.

9 — Normally after opened this option for the first time, a basic setup will appear for you set your user. If this option do not appear by default you can click on the option New Account Profile.

10 — So, now we need to configure your user to access AWS service with the correct credentials.

11 — For this we can access the AWS IAM (Identity Access Management) from this link and log in with your user as root user.

12 — After the login you will be redirected to a console page on AWS, click in the option IAM in the top menu (or in case this page had been updated you can use the search bar to find the menu).

13 — Click on the users menu, after this you will be redirected to a new page where you can find all of your users registered.

14 — Since that is probably the first time that you are on this page, you will have no users registered.

15 — Well, let’s create our first user. Click in the button Add new User (or Add User).

16 — Set the Username for the new user, and then select the option of Programatic Access. The idea here is that the programatic access allow us to access the servics as AWS API, CLI, SDK and Visual Studio.

17 — Go to the next step. Since we are not developing a solution for production and it is test only, we will set a politic that already exists in AWS. We will gone set our user as a Admin User.

18 — For this, select first the option Attach existing policies directly and in the options that are shown bellow, select the Administrator Access. I believe that I dont need to enter in details to explain what means Administrator Access, right :)?

19 — Go to the next menu. It is the tags menu, we are not going to use that right now.

20 — In the next page, you will have a details page with all the info that we set for our user. Check if it is everything correctly and then click to Create.

21 — You will be redirect to a page that confirm your user creation. Dont close this page yet, first download the .csv file with all the data from the user. We will need this .csv file in our Visual Studio.

22- In our New Account Profile window on Visual Studio, click in the option Import from csv file, and select the new .csv file that we just downloaded.

23 — Now, set up the Profile Name and click OK to finish.

24 — Now your user profile will be showing up in the top center of AWS Explorer window and we can use this profile in our next tutorial.

Well, now we have our Visual Studio all set up and ready to go. But we will continue in our next tutorial, otherwise this tutorial will became to long.

So, if you guys have any question dont mind to ask, I will answer soons as possible.

Thanks everyone for the reading and see you all in the next tutorials! =)

--

--

Fabio de Paula Carvalho

Hello, It is me Fábio! I’m Software Developer Consultant with 5+ years of experience in software development.