How to Connect EC2 | AWS Using git bash

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
today we are going to learn something very new how to connect an AWS each C2 instance using a git Bash application so the first option we would go ahead and download the git Bash from a Google so once a download is done we're going to create an easy to instance in AWS and create a new Pam key and we will download it to our downloads so once the installation of git bash is over we will open the git Bash from the desktop so once the desktop installation is completed we're going to use the ec2 instance URL to connect to our git Bash so quickly we will go ahead and try to download and get Bash so I'm going to connect to my Google page so google.com and and I'll just type git Bash circuit bash for Windows is the one that I'm planning to use today and I'll just go ahead and click on a downloading package kit so since I'm using here a 64-bit operating system Windows so I'm going to download git windows so if we are using uh apart from Windows you can you have other options download here so I'll just click on download So once I click on download it will download it to my downloads so I have just gone ahead and downloaded my downloads now so I have my git already downloaded I'll just double click on the download button I'm in the downloads and I'll just click on next until I get the Finish button so I'm just clicking and installing now the installation process will take a little longer so meanwhile we will go ahead and try to open a easy to instance so I have my AWS console here I'll just refresh my console okay it's trying to refresh my console now yeah all right so it's taking its own time to refresh the account and let me just quickly check uh the installation process see we could see that the git is getting installed in my desktop okay it's in the process of installation and I'll just click on my ec2 dashboard here and try to launch a new uh ec2 instance so let me just click on launch instance okay so I'm just clicking on launch instance it's trying to open the launch instance page now okay so I'm just giving a name here for my server that is I will say it would this use for git so I'll just say git scrver I guess my internet is really slow here let's wait for the application to update the information okay git server all right so I have my git server application is update the name has been updated I'm going to use and uh Red Hat uh Linux operating system I'll just wait for the information to get update so here I have the red hat I'm going to select that I'd had now okay it has been selected so it's a free tier I'm going to use and uh instance types again it's going to be a free tire instance since I'm using it for the test purpose okay it's also verified the provider okay it's a T2 micro a free eligible tier I'm going to use if we are using a new keypad we can just click on create a new key pair and it will get automatically downloaded to your downloads so I have my test01 that I've currently using for this one and I've downloaded that keypad.bam file to my downloads and I'll just go ahead and click on okay let me before I just go ahead and I'll just say I've just giving a low access only to SSH connection so I would say click on launch instance and it will go ahead and install launch an easy to instance all right so it's the right time we got a message setting that completely completing the kit setup insert that means we already in the process of installation of gitis git bash is already done and yes so I'll just click on connect to instance so when I click on connect to instance it should give me an option uh to copy the URL so meanwhile I'll on my search search tab I'll just say git Bash I'm going to open my git bash application from my desktop okay it's going to show me different options here uh so let's get okay so I have my git pass application the logos menu okay so I have my black screen it's open my bit Bash and I'm gonna copy this particular command SSH minus I test m01 this is the key that I'm trying to uh there's a command I'm using used to connect to my uh ec2 instance so I'm just going to open my git Bash So currently the dollar sign it shows me that I'm actually in my Windows operating system I have to promote serious backslash and enter and see the download okay okay this is not the right command CD slash enter CD Down downloads I've just have to type here down okay let me just remove this it's going to be CD downloads let me just see if it is trying to connect says too many arguments so CD so let me just check if LS list of commands so it's my I have to go to CD document CD space down downloads okay so we are right now in the downloads where we have actually downloaded RPM key and I'm gonna use my um comment that we have actually copied down from my ec2 instance and we are trying to connect and it says okay so we have right now connected to my ec2 instance 0 minus I and let me just speed up your D it's a root user or iam who am I who am I it also show me that it's a producer and since we have installed Red X so let me just see if I'm able to create a directory m k t i r space one two three and if I hit enter Then LS minus LTR yes I'm able to create a small directory in my ec2 instance so what we are trying to achieve as using our git Dash we are trying to connect to our ec2 instance we installed the kit bash application and using the ec2 SSH URL we are able to connect to our ec2 instance I hope you are able to understand um some of the topics related to in connecting with the ec2 instance hope you have a great ahead and bye for now
Info
Channel: Affordable Web App
Views: 6,484
Rating: undefined out of 5
Keywords:
Id: pZAgaWLL5Ns
Channel Id: undefined
Length: 10min 41sec (641 seconds)
Published: Wed Feb 08 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.