MongoDB Basic Tutorial Part 4.1 : Configure EC2 server of AWS to install MongoDB

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so hello guys welcome to today's and mongodb so in the previous videos you have learned what is Funko DB right after that you have installed MongoDB into your local server after that you've learned about the basic operations MongoDB so now in this tutorial you will get to know about how to install that no booty bean into the cloud specifically in AWS cloud using ec2 instance and how to access that thing from your local server don't worry creating a AWS account for one year is free and whatever we will do here it will not it will not be charged for you ok and you can even delete the edibles account after using 11 months or tool with 11 wins 29 days also because it won't worry about all those things please create a level circle ok so I hope you guys have already created AWS account after creating the AWS account now you will need to go to your browser ok and log it into your browser from by using your login ID and password ok after login to your account if you are not seeing seeing this kind of window just press on AWS you will come back to the same kind of window here you need to price the press EC to EC to is a server that we weren't easy to is it but if you are not finding it here then just try it easy to hit easy to so easy to easy virtual server I will press on it then a pin 2 like this will come that is quite easy to dashboard here you can see how many servers are there how many servers that you have created here you need to press launch instance to get go down and press launch instance it will take some time now here you just need to click please don't forget here if you click free turn they will use selection that you will select later on what it will be free popper near okay so what I will do here is I will select this server Amazon lie next to a am server why I will select a server there is no specific reason but yeah it is free so it is the first server so I will just select this one now this is the free tire t2 micro this is it different classifications of what is should be the size for that server so just select whatever the default is coming press on next configuration here okay don't change anything here okay don't change anything here press on add a storage in add storage here also don't change anything okay so these are if you want to add some storage for use over 10 but KGB is enough for us at tags if you want to add tags suppose this is demo for MongoDB right so I will just write here theater is using easy to easy to no need to write but it still you can write okay so in here you need to provide the port number using which you want to connect to your ec2 instance so what I will do is I will add a custom TCP port which port on which port MongoDB should be there code number is two seven zero one seven right so two seven zero one seven is the custom for which you should use so security group name I'm not eating it just let it be by default and over it is so we want to connect with you ec2 instance so I will write from anywhere I wanted to connect it to our ec2 instance because your when you are connected from your local system if you are not having any static IP then your eyepiece changing right if he will not write a 0 dot 0 dot 0 dot 0 till here in subnet mask then you need to again I can change your IP so there are different options anywhere I IEP and custom so I've just given you a custom okay so review and launch so you can see all the values here whichever it is there much about whatever you have said will present launched so this is a very very important step okay one of the most important step while creating the ec2 instance here you need to do create a new key pair okay what it will do is it will create a password kate will create a password to log into it ec2 instance and it can be done only once if you will not do it correctly here then what you to do is you need to delete your ec2 instance and do all these steps again to be very careful what I did I just pressed on create a new key pair then I will right here suppose when you keep your key name DB key okay I will just download this key pair I will create a desktop I will create a folder sorry in this stuff I will create a folder named DB instance I will save that Pam fight this can creation of the pile is pin so I will save it here now I will do launch instance don't td's this file this file is very important so now server is there on to your cloud right so congratulation your partial work is done now if you will go to your ec2 instance what you will see here is you one instance is running it will take some time it will take some time to show here the instance is running so here your instance is working so I will just change the name here I will just write here suppose it is not necessary but I really like to write those names and suppose if you have multiple instances running it is easy to detect which instance is what like so it will take some time to initialize so what is happening right now is you instances being set up into the cloud instance means what your server is being set up at club okay so this is the IP for my instance sorry so this is the IP for my instance okay so now in next video I will tell you how to connect with your ec2 instance using part okay so thank you
Info
Channel: atquil
Views: 7,601
Rating: undefined out of 5
Keywords: mongodb, mongo on aws, configure aws, configure ec2 for mongodb, connect ec2 using putty, putty for ec2, mongo in ec2
Id: cRfpac-UDTc
Channel Id: undefined
Length: 7min 50sec (470 seconds)
Published: Sun Apr 26 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.