0% found this document useful (0 votes)
9 views46 pages

Rohit Adf

The document outlines a series of experiments conducted by a student named Rohit Majumder as part of the Azure Data Fundamentals course at Manav Rachna International Institute of Research and Studies. The experiments cover various aspects of Azure cloud services, including creating virtual machines, connecting to them via RDP and SSH, installing web servers, and exploring Azure SQL Database and Azure Cosmos DB. Each experiment includes aims, tasks, and results, demonstrating practical applications of Azure technologies.

Uploaded by

gameamazono10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views46 pages

Rohit Adf

The document outlines a series of experiments conducted by a student named Rohit Majumder as part of the Azure Data Fundamentals course at Manav Rachna International Institute of Research and Studies. The experiments cover various aspects of Azure cloud services, including creating virtual machines, connecting to them via RDP and SSH, installing web servers, and exploring Azure SQL Database and Azure Cosmos DB. Each experiment includes aims, tasks, and results, demonstrating practical applications of Azure technologies.

Uploaded by

gameamazono10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 46

AZURE DATA FUNDAMENTALS

BCA-DS-376

Manav Rachna International Institute of Research and


Studies

School of Computer Applications


Department of Computer Applications

Submitted By
Student Name Rohit Majumder
Roll No 22/FCA/BCA(AIML)/042
Program Bachelor of Computer Applications
Semester 3rd Semester
Section D
Department Computer Applications
Batch 2022-25
Submitted To
Faculty Name Mr. Ranjeet Kumar

SCHOOL OF COMPUTER APPLICATIONS


Signature/
S. No. Date Aim of the Experiment Date Grade
1 Get familiar with Azure cloud web interface/services
using Sign in to the Azure portal using the same account
you used to activate the sandbox or new personal Gmail
ID (Create an Azure account) or login using [Link]
MRIIRS students campus ID.
2 Create a new Windows virtual machine(Server), Create a
resource Configure the VM settings, Finish configuring the
VM and create the image.(Review + create)
3 Create a new LINUX(Ubuntu, Fedora, RED Hat), Create a
resource Configure the VM settings, Finish configuring the
VM and create the image.(Review + create)
4 Connect to virtual machine Windows - Use RDP and Azure
VM with an RDP client to connect to Windows Azure
virtual machines, install custom software, initialize data
disks (disk management), dxdiag, control, ipconfig,
tracert, ping etc).
5 Connect to virtual machine LINUX, Create an SSH
connection with the VM.
6 Install web server (NGINX web server) From your SSH
session, update your package sources and then install the
latest NGINX package. View the web server in action.
7 Install Web server IIS(INETMGR),FTP and configure in
Windows. View the IIS welcome page
8 Explore Azure SQL Database (Single database) Database
name: Adventure Works, Use SQL authentication,
Networking, Network connectivity, Public endpoint,
Firewall rules, Enable Microsoft Defender for SQL, Review
+ Create
9 Explore Azure Cosmos DB/Azure Cosmos DB for NoSQL
Create an Azure Cosmos DB account , Review + Create,
Create a sample database, Sample DB, Sample Container
EXPERIMENT 1
Experiment 1:- Get familiar with Azure cloud web services using
Sign in to the Azure portal using the same account you used to
activate the sandbox or new personal Gmail ID (Create an Azure
account) or login using [Link] MRIIRS students’ campus ID.
Student Name: Rohit Majumder
Roll No: 22/FCA/BCA(AIML)/042
Date of performance:

Aim/Overview of the practical:


Get familiar with Azure cloud web interface and services. Create an Azure account and
login to using MRIIRS student campus id.
Task to be done:
 Sign-in to Microsoft Azure Portal using MRIIRS student id.
 Create a free student version of Azure worth 100$.
Result/Output/Writing Summary:
Create a new account at [Link] and enroll for a free students
account to get extra features.
Create a strong password and sign in. After creating a Microsoft account GO

Microsoft Azure offers Students to sign up for a free $100 worth that takes no
credit or debit card transactions. It is totally free!
EXPERIMENT 2
Experiment 2:- Create a new Windows virtual machine (Server),
Create a resource Configure the VM settings, Finish configuring the
VM and create the image (Review + create)
Student Name: Rohit Majumder
Roll No: 22/FCA/BCA(AIML)/042
Date of performance:
Aim/Overview of the practical:
Create a new Windows VM (Server)
Task to be done:
 Create a Windows virtual (Server) and Configure the VM settings.
 Create a resource (During VM settings).
 Edit Network preferences.
Result/Output/Writing Summary:
Sign in to Microsoft azure portal and go to “Virtual Machines”
Select create and click on Azure virtual machines.

Create a new resource group and add/change other necessary details(Name


of vm, username+password, region, image, size, ports, Network
preferences etc).
Click on create after editing your Virtual machine settings.
EXPERIMENT 3
Experiment 3:- Create a new LINUX (Ubuntu, Fedora, RED Hat),
Create a resource Configure the VM settings, Finish configuring the
VM and create the image (Review+create)
Student Name: Rohit Majumder
Roll No: 22/FCA/BCA(AIML)/042
Date of performance:
Aim/Overview of the practical:
To Create a new LINUX Virtual Machine
Task to be done:
 Create a LINUX Virtual Machine and Configuring the settings.
 Create a resource (During VM settings).
5. Result/Output/Writing Summary
At Microsoft azure portal and go to “Virtual Machines”
Select create and click on Azure virtual machines.

Create a new resource group and add other necessary details(User preference.
Inbound ports Https, http, ssh (Recommended)). Then click on create.
Wait for few minutes. Then click on Go to resources.
EXPERIMENT 4
Experiment 4:- Connect to virtual machine Windows - Use RDP and
Azure VM with an RDP client to connect to Windows Azure virtual
machines, install custom software, initialize data disks (disk
management), dxdiag, control, ipconfig, tracert, ping etc)
Student Name: Rohit Majumder
Roll No: 22/FCA/BCA(AIML)/042
Date of performance:
Aim/Overview of the practical:
To Create a RemoteDesktopConnection to the Windows Azure virtual machine.
Task to be done:
 Download RDP file to create a remote connection
 Configure Azure virtual machine network settings
 Use dxdiag, ipconfig, tracert and ping.
Result/Output/Writing Summary:
Go to resources after deploying the Virtual Machine.
Go to the connect section on the left tab pane and copy the Public Ip address.
Press home button on keyboard type Remote Desktop Connection and
enter the Ip address, then press connect.

Click on Use a different user account and enter the username and password.
Click on yes and wait for few minutes, depending upon your server network
connectivity varies.

Wait for few seconds, a new windows screen should boot up.
After successfully establishing connection to the Ip address, Virtual machine
should boot up.

Easily check windows specifications using dxdiag in the run window.


Open cmd and type ipconfig.
Open cmd and type tracert, ping.

Open cmd and type CONTROL

.
EXPERIMENT 5
Experiment 5:- Connect to virtual machine LINUX, Create an SSH
connection with the VM, on a Windows machine, open a PowerShell
prompt. Method example:
1. Type on Console example ssh -i ~/Downloads/[Link]
azureuser@[Link] to establish connection.
2. Using PuTTY SSH client to establish connection.

Student Name: Rohit Majumder


Roll No: 22/FCA/BCA(AIML)/042
Date of performance:
Aim/Overview of the practical:
 To connect to virtual machine LINUX using an SSH connection with the VM.
 Also create a VM to connect it using PuTTY SSH client
2. Task to be done:
 Download RDP file to create a remote connection
 Configure Azure virtual machine network settings
 Use dxdiag, ipconfig, tracert and ping.
5. Result/Output/Writing Summary:
In the Virtual machines page, select Create and then Virtual machine.
The Create a virtual machine page opens
Under Instance details, enter “newredlinux” for the Virtual machine name,
and choose Linux (redhat 7.4) for your Image. Leave the other defaults

Under Administrator account, select SSH public key.


In Username enter azureuser.

For SSH public key source, leave the default of Generate new key pair, and
then enter newredlinux_key for the Key pair name. Under Inbound port
rules > Public inbound ports, choose Allow selected ports and then
select SSH (22) and HTTP (80) from the drop-down.
Select storage and create

Create an SSH connection with the VM. Enter Windows PowerShell and enter
ssh -i ~/Downloads/newredlinux_key.pem azureuser@[Link]
Establishing connection using PuTTY
Before Installing PuTTY SSH client software. Create a new VM and add other
necessary details(User preference. Inbound ports Https, http, ssh
(Recommended)). Make sure to user authentication type: adminLogin and
password Then click on create.

Enter PuTTy client software and enter Public Ip address and port no.22
After successfully connected, enter the credentials which were created during
VM creation and perform commands to verify release version.
EXPERIMENT 6
Experiment 6:- Install web server (NGINX web server) From your
SSH session, update your package sources and then install the latest
NGINX package. View the web server in action.
Student Name: Rohit Majumder
Roll No: 22/FCA/BCA(AIML)/042
Date of performance:
Aim/Overview of the practical:
To install NGINX in the current SSH session created for Linux VM
Task to be done:
 Install NGINX in the shell
 Update all necessary files
 View the web server in action.
5. Result/Output/Writing Summary

Install web server


Sudo dnf update

To see your VM in action, install the NGINX web server. From your SSH
session, update your package sources and then install the latest NGINX
package.
sudo dnf install nginx
sudo systemctl start nginx

View the web server in action

Use a web browser of your choice to view the default NGINX welcome page.
Type the public IP address of the VM as the web address. The public IP
address can be found on the VM overview page or as part of the SSH
connection string you used earlier.
EXPERIMENT 7
Experiment 7:- Install Web server IIS(INETMGR), FTP and
configure in Windows. View the IIS welcome page.
Student Name: Rohit Majumder
Roll No: 22/FCA/BCA(AIML)/042
Date of performance:
Aim/Overview of the practical:
To install Web server (IIS) and FTP. View IIS welcome page
Task to be done:
 Using windows roles and features to locate IIS server
 Install IIS
 Install FTp
 View the IIS welcome page using “inetmgr”.
 Create a FTP root server using the device manager.
Result/Output/Writing Summary
Go to the server manager. Go to Add roles and features.
Proceed with installation (Role-based or feature-based installation)

Make sure to check Web server (IIS)


 Add FTP.
 FTP Service
 FTP Extensibility

Finish installing the features.


Checking if inetmgr works after enabling WebServer IIS And viewing Windows
configuration using dxdiag
Go to computer manager from either the tools tab. Add new group (“ftp”) by
right clicking groups tab under local users and groups.

Add new user by right clicking users and create a user.


After creating a user, open groups, right click ftp, add object names : “test”
and click on “check names” it should show the current vm name

After editing ftp properties create an empty test folder to the desktop and
open “advance sharing” under properties. Enter object name : ftp, click check
names. Save the settings and go back.
Click on share and add test (user account) and set its permission level to
Read. Click on share.

You will be prompted with message after sharing the folder.


On the server manager go to web server IIS or simply type inetmgr on the
RUN window. On the left panel, right click sites and click on add ftp site.

Set Authentication to Basic, Authorization to: Specified roles or user


groups, ftp, and permission to Read.
Open internet explorer and type [Link] and enter the credentials of
the user that was created in computer manager.

After successfully entering the username and password FTP server should
show up. We can files in the shared folder and can access them in the web
browser.
EXPERIMENT 8
Experiment 8:- Explore Azure SQL Database (Single database)
Database name: Adventure Works, Use SQL authentication,
Networking, Network connectivity, public endpoint, Firewall rules,
Enable Microsoft Defender for SQL, Review + Create
Student Name: Rohit Majumder
Roll No: 22/FCA/BCA(AIML)/042
Date of performance:
Aim/Overview of the practical:
To create Azure SQL database using SQL authentication.
Task to be done:
 Create SQL database
 Use SQL authentication
 Configure Networking, Network connectivity, public endpoint, Firewall
rules, Enable Microsoft Defender for SQL,
Result/Output/Writing Summary

Go to azure homepage and look for SQL database, click on create .


Enter basic details such as:- (resource group, Database name etc). click on
networking tab to create a server.

Enter Server name, location, Use sql authentication, and create admin login
details.
Perform additional settings as needed.

In the Additional settings Tab use an existing sample database


Click on review button to check the SQL database configuration and create

Deployement should take few minutes depending upon server.


While the server is being deployed. Download Microsoft SQL Server
Management Studio with Azure data studio 19.

After deployment go to resources and copy the server name.


Enter ther server in the server name, set authentication to SQL Server
Authentication and enter the admin login details and press connect

You should see the sample Database created to the left panel.
Click sqldemo and press new query to create new queries. Using the
software we can create, manipulate and delete data easily by performing SQl.

We can also use Azure’s built in query editor to perform SQL operations.
Simply go to Query editor and enter administrator login info. Sign in.

After a few seconds a new query editing window should introduce. We can
perform all the queries on the go using the editor with all the capabilities of a
well-built SQL software .
EXPERIMENT 9
Experiment 9:- Explore Azure Cosmos DB/Azure Cosmos DB for
NoSQL Create an Azure Cosmos DB account, Review + Create, Create
a sample database, Sample DB, Sample Container
Student Name: Rohit Majumder
Roll No: 22/FCA/BCA(AIML)/042
Date of performance:
1. Aim/Overview of the practical:
To create Azure Cosmos DB/Azure cosmos DB for NoSQL.
Task to be done:
 Create Cosmos DB for NoSQL
 Use SQL authentication
 Configure Networking, Network connectivity, public endpoint, Firewall
rules, Enable Microsoft Defender for SQL,
5. Result/Output/Writing Summary

In the Azure portal, select + Create a resource at the top left, and search
for Azure Cosmos DB. In the results, select Azure Cosmos DB and
select Create.

Select your Azure subscription


In the Azure Cosmos DB for NoSQL tile, select Create

When the configuration has been validated, select Create.


Wait for deployment to complete. Then go to the deployed resource.

On the page for your new Cosmos DB account, in the pane on the left,
select Data Explorer.
Create a sample database

In the Data Explorer page, select Launch quick start.

In the New container tab, review the pre-populated settings for the sample
database, and then select OK.

At the top of the page, select New Item to create a new blank item.
Modify the JSON for the new item as follows, and then select Save
{
"name": "Road Helmet,45",
"id": "123456789",
"categoryID": "123456789",
"SKU": "AB-1234-56",
"description": "The product called \"Road Helmet,45\" ",
"price": 48.74
}
After saving the new item, notice that additional metadata properties are
added automatically.

In the Data Explorer page, select the New SQL Query icon
Modify the query as follows:
1. SELECT *
2. FROM c
3. WHERE CONTAINS([Link],"Helmet")

You might also like