AWS EC2 Instance Setup and Run MongoDB in EC2 | Install MongoDB in EC2 Server

Опубликовано: 19 Август 2024
на канале: Cloud Guru
941
20

In this video we will learn amazon EC2 server setup from beginning. Also, install NoSQL MongoDB in EC2 sever.

Join WhatsApp: https://www.whatsapp.com/channel/0029...

👉Get CloudWays ➜https://platform.cloudways.com/signup...
💥Save big with 30% for 4 months + 10 free migrations. Offer valid till 31st August, 2024
☝️☝️ USE THE EXCLUSIVE COUPON CODE ABOVE TO GET 40% OFF FOR 4 MONTHS💥along with 40 FREE migrations handled by our expert engineers (valid till 1st December, 2023).

👉Get Digital Ocean ➜ digitalocean.pxf.io/ZQERvQ
💥Get $200 FREE Credits for signup. So, hurry up!💥

╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝

1. Creating aws linux EC2 instance from AWS management console.
2. Adding firewall rule in the security group to open mongodb port.
3. Login to EC2 instance from local terminal using secret key pair.
4. Download mongo database in EC2 instance.
5. Install Mongo database in EC2 instance.
6. Update mongodb configuration to accept connection from remote machines.
7. Create user in mongodb.
8. Connect mongo compass tool in local machine to mongodb in EC2 instance.
9. Insert data in mongo database using mongo compass.

** Introduction of AWS EC2 Instance **
Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) Cloud. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster. You can use Amazon EC2 to launch as many or as few virtual servers as you need, configure security and networking, and manage storage. Amazon EC2 enables you to scale up or down to handle changes in requirements or spikes in popularity, reducing your need to forecast traffic.

** Benefits of AWS EC2 Instance **
AWS enables you to select the operating system, programming language, web application platform, database, and other services you need. With AWS, you receive a virtual environment that lets you load the software and services your application requires. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster. You can use Amazon EC2 to launch as many or as few virtual servers as you need, configure security and networking, and manage storage.

** NoSQL MongoDB **
MongoDB is an open-source document database and leading NoSQL database. This video will give you complete understanding of running the MongoDB in docker container. Mongo Database - Database is a physical container for collections. Each database gets its own set of files on the file system. A single MongoDB server typically has multiple databases. Mongo DB Collection - Collection is a group of MongoDB documents. It is the equivalent of an RDBMS table. A collection exists within a single database. Collections do not enforce a schema. MongoDB Compass - MongoDB Compass is a powerful GUI for querying, aggregating, and analyzing your MongoDB data in a visual environment. Compass is free to use and can be run on macOS, Windows, and Linux.

#mongodb #mongodbtutorialforbeginners #mongodbtutorial #awsec2 #ec2instance #installmongodb