How to Integrate Visual Studio With AWS

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello and welcome back to another lecture in this lecture i'll show you how to use visual studio to interact with your aws environment programmatically up to this point we have been using the aws management console to create resources in our aws environment in this lecture we are going to install visual studio on our computer and once we have installed visual studio on our computer we are going to create resources in our aws environment from our local computer without signing in into the management console to start the first thing we are going to do is create an iem user and we are going to give that iem user programmatic access i'm going to select services and i'm going to come down to security identity and compliance and i'm going to select iem in the iam dashboard select users and add a user we are going to give our user a name and under select aws access type i'm going to give this user programmatic access this part is very important i am also going to give this user the aws management console access for this particular lecture giving the user aws management console access is optional i'm going to continue using this user after this lecture that's why i'm giving this user the aws management console access next i'm going to create a custom password and i'm not going to reset my password when i sign in for the first time so i'm going to uncheck this box then i'm going to click next for permissions and under permissions we are going to attach an existing policy directly to this user so i'll select that option and under your aws manage policy down here the first policy we are going to attach to this user is the administrator access policy i'm going to select it we are going to attach another policy to this user under the filter policy in the search box type iam and once you've typed iam under the search results select the iem self manage service specific credentials i'm going to select it then i'm going to click next for tag i'm not going to add any type click next to review and review everything i'm going to select create user and we have successfully created our user when we create a user for the first time because we gave this user programmatic access this user is going to have an access key id and secret access key so what you need to do is select download csv and once you select download csv it is going to download the user's credentials which is the access key id and secret access key to this excel file and save it on your computer so make sure you download the csv file that's very important then once you've downloaded the csv file we are going to close this page and i have created my user and you can see the user here while we are still in the iem console there is one more thing we need to do we want this user to be able to interact with code commit and create repository using visual studio so to do that we need to generate a gate credentials for this user so i'm going to select this user and once you select the user under the security credentials tab i'm going to scroll down under https git credentials for aws code commit i'm going to select generate credentials and once you've generated that credentials make sure you download the credentials i'm going to select download credentials and once you select download credentials it is going to download the code commit credentials to your computer in my case it has downloaded this user's code commit credentials and you can see it here another thing i want to mention is if you want to interact with code commit in your aws environment using visual studio make sure you install git on your computer we installed git on our computer in the last lecture and i'll leave a link in the description i'm going to close this and that's all we need to do in iam i'm going to go back to the home page next we are going to install visual studio on our computer i'm going to open a new tab and in google type visual studio under your search results select downloads and on the downloads page you can see the free download here if you are using windows you are going to use the windows option and if you are using mac you can find the free download here so based on which computer you are using you can download the version you want since i'm using windows computer under visual studio 2019 community i'm going to select free download and it is going to download the exe file on my computer you can see it right here once it has downloaded the exa file i'm going to double click to open it i'm going to select yes and i'm going to click continue once these options comes up under web and cloud we are going to select the asp.net i'll select it and i'm going to click install i'm not going to take this survey i'm just going to say not now and i'm going to wait for it to complete installing visual studio on my computer once you have installed visual studio on your computer it is going to open it and just in case if it doesn't open visual studio select the start menu and under recently added you say visual studio 2019 select it and it is going to open it the next thing you are going to do is you are going to sign in with your microsoft account visual studio is made by microsoft so to use it you need to have a microsoft account and if you don't have a microsoft account you can create one here but since i have a microsoft account i'm going to sign it and once you sign in it is going to open this page for you if you are signing into visual studio for the first time it may also ask you to select the type of color theme you want but because i i've used visual studio before it has select this dark template for me and this is my preference from my last install so what we are going to do now is i'm just going to minimize this too and i'm going to close this page because i don't need it anymore and let's open another google page and in the search box let's type aws.amazon.com forward slash visual studio and once you type it press enter and it is going to bring you to this page and on this page we want to download and install aws toolkit for visual studio we just installed visual studio 2019 on our computer so i'm going to select this option to download it i'll just click it on this page select download and it has now downloaded on my computer here i'm going to double click it to open it and the installer is now opening i'm going to select yes and on this option it is asking you to select the products you want to install this extension to and the product is visual studio 2019 so make sure that is checked and click install to install this extension we have to close visual studio so let me open it back up and i'm going to close it and once you close it it should start installing the extension there you go so i'm going to wait for the extension to be installed and it has successfully installed the toolkit for visual studio 2019 you can see the check mark here so all i'm going to do is close it and we can close this page as well and now select the start menu and open visual studio 2019 and i'm going to maximize it to connect visual studio to our aws environment the first thing we are going to do is select continue with our code if you are opening visual studio for the first time after you've installed the aws 2 key you may get this get started option and on this page all you have to do is enter the access key and secret key of the user you created to make it easier for you to enter the credentials you can select import from csv file then browse to the location where you save the csv file for that user remember it is the one with the access key and secret key not the code commit credentials select the credentials for the new user then once you've import everything you are going to select save and close but if you are on this page and that page didn't pop up a good way to get it is select the view tab and come down and select aws explorer and it is going to open the aws explorer if you want to add a new user you will select this add new account profile the second one is if you want to edit a profile you already have in here and the third one is if you want to delete a profile since we are trying to add a new profile for our user we'll select new account profile and it is going to open this menu under profile name i'm going to enter the name of my user and under access key id and secret access key i'm going to select import from csv file then browse to the location where i save the file i'm going to select the new user credentials not the code commit the new user credentials select open and it is going to import in your access key id and secret access key then select ok and there you go it has created a profile for my user and i can now use this user profile to interact with my aws environment from visual studio also remember that this user will only be able to interact with your aws environment based on the iem policy that you give this user in the case of this user i give this user an administrator access so that means that this user can interact with all the services in my aws account except for the billing so for example if i select ec2 you can see i have iems elastic ips instances i can right click on the easy2 and launch new instance and also i can create an s3 bucket so if i go on that s3 you can see all the buckets i currently have in my account you can see them here i can right click again and i can create a bucket from visual studio in my aws account and also you have all these other services here that you can interact with this is how you install visual studio and connect it to your aws account let's test it now and see if it is working i'm going to create a bucket in my ews account using visual studio so i'm going to right click on amazon s3 and i'm going to select create bucket i'm going to give the bucket a name and once you enter the name click ok and you can see it has created the bucket in my aws environment it is the username visual studio bucket now let's go to our aws account to see if the bucket is there i'm going to minimize this and in the aws management console i'll select services and i'll select s3 under storage and under my bucket name you can see the bucket i just created in visual studio the user name visual studio bucket you can see it in my aws account and i can click it to open it and you can see the blockage here so this is how you install visual studio and connect it to your aws account in the next lecture we are going to be connecting visual studio to code commit and we are going to test whether we can create a repository using visual studio if you like this lecture please don't forget to like subscribe and share thank you and i'll see you in the next lecture
Info
Channel: AOS Notes
Views: 8,659
Rating: undefined out of 5
Keywords: AWS, awsnotes, How to Integrate Visual Studio With AWS, aws, amazon web services, cloud, cloud computing, aws cloud, visual studio, .net, devops, aws lambda, codecommit, microsoft, ec2, amazon, c# aws lambda, c# lambda, c# aws, c#, programming, aws toolkit, webinar, aws codestar, aws codebuild, .net on aws, ci/cd, aws codecommit, new york summit, visual studio code, vs code, aws toolkit for intellij, visual studio team services, sdk, plugin, toolkit, manage, deploy, visualstudio2017, lambda
Id: e45DkxfDACM
Channel Id: undefined
Length: 14min 4sec (844 seconds)
Published: Mon Mar 15 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.