Creating a Azure Cloud Server: A Step-by-Step Tutorial (IaaS)

anandrpatel
28 Jan 202327:43

Summary

TLDRThe video tutorial guides viewers through setting up an Azure account and creating a virtual machine for hosting a website. It covers selecting an IaaS server, choosing a Windows Server 2019 image, configuring network settings, and managing security. The instructor demonstrates creating a Resource Group, selecting a VM size, and setting up networking. After deploying the VM, the video shows installing IIS to host a simple HTML website, which is then accessed via a public IP address, completing the server setup.

Takeaways

  • 🌐 **Azure Account Setup**: The session begins with the assumption that everyone has already created an Azure account from a previous session.
  • 💻 **Server Creation**: The focus is on creating servers, starting with Infrastructure as a Service (IaaS) and then looking at Platform as a Service (PaaS).
  • 📑 **Service Overview**: Upon logging in, users are presented with a list of services, including popular and recently used services.
  • 🔍 **Service Navigation**: Services can be browsed via a left-hand menu, and 'All services' provides an extensive list of what Azure offers.
  • 🖥️ **Compute Service Interest**: The session is particularly interested in the compute service for creating servers.
  • 🛠️ **Virtual Machine Scale Set**: Introduced as a feature that automatically creates additional servers to distribute workload when one server is overloaded.
  • 🌐 **Virtual Machine Creation**: A step-by-step guide is provided for creating a virtual machine, including selecting a subscription and resource group.
  • 📍 **Region Selection**: The importance of selecting a region for the server is discussed, with U.S. Central chosen as an example.
  • 🔐 **Security and Availability**: The script covers options like infrastructure redundancy and security types, emphasizing the test environment setup.
  • 🖼️ **Image Selection**: The process of choosing an image for the server, specifically selecting a Windows Server 2019 image, is detailed.
  • 💽 **Server Size and Disk Type**: The selection of server size (B2ms) and disk type (Standard HDD) is explained, catering to the demonstration needs.
  • 🔑 **Administrator Account Setup**: Instructions are given for setting up an administrator account with a complex password requirement.
  • 🚪 **Port Configuration**: The configuration of ports, allowing RDP and HTTP for website hosting, is covered.
  • 🔗 **Networking and Security**: The setup of networking, including virtual networks, subnets, and network security groups, is discussed.
  • 🔒 **Key Management**: The decision to use platform-managed keys for encryption is highlighted.
  • 📊 **Management and Monitoring**: The script touches on enabling basic management plans, monitoring, and alert configurations.
  • 🏷️ **Tagging Importance**: The use of tags for organization, policy adherence, and billing analysis is emphasized.
  • 🔄 **Review and Deployment**: A final review of configurations before deploying the server is advised.
  • 🔌 **Post-Deployment Connection**: Instructions are provided for connecting to the deployed server using RDP.
  • 🛠️ **Server Configuration**: Post-connection, the server is configured by installing roles and features, specifically Internet Information Services (IIS).
  • 🌐 **Website Hosting**: The final steps include creating a test website, adding HTML content, and making it accessible via the server's public IP.

Q & A

  • What are the two types of cloud services discussed in the script?

    -The script discusses Infrastructure as a Service (IaaS) and Platform as a Service (PaaS).

  • What is the purpose of creating a virtual machine in the context of the script?

    -The purpose of creating a virtual machine is to host a server, which can be used to deploy and manage applications or websites.

  • What is a Resource Group in Azure as mentioned in the script?

    -A Resource Group in Azure is a logical container that groups together resources that have the same lifecycle, permissions, and policies, making it easier to manage and organize them.

  • Why is the U.S. Central region chosen for the virtual machine deployment in the script?

    -The U.S. Central region is chosen for the virtual machine deployment because the script's presenter does not have a U.S. Central region listed, so they opt for U.S. East 2 as an alternative.

  • What does VMSS stand for and what is its function as described in the script?

    -VMSS stands for Virtual Machine Scale Set. Its function is to automatically create additional servers and distribute workload when the demand on a single server increases.

  • What is the significance of the 'availability Zone' option in the context of server deployment?

    -The 'availability Zone' option ensures that there is a physical copy of the server in a different region, providing redundancy and backup in case the primary data center goes down.

  • Why is the 'standard' security type chosen for the virtual machine in the script?

    -The 'standard' security type is chosen for the virtual machine because it is the default option and sufficient for the test system being set up in the script.

  • What is the role of the 'image' selection in creating a virtual machine in Azure?

    -The 'image' selection determines the operating system and pre-configured settings for the virtual machine, which in the script is a Windows Server 2019 Datacenter edition.

  • What does the 'B2ms' size refer to in the context of virtual machine sizes?

    -The 'B2ms' size refers to a specific type of virtual machine offering in Azure, which provides a balance of compute capabilities suitable for the script's demonstration.

  • What is the purpose of the 'administrator account' settings during the virtual machine creation process?

    -The 'administrator account' settings are used to define the username and password required for logging into the server, allowing the user to manage and access the virtual machine post-deployment.

Outlines

00:00

💻 Setting Up Azure Infrastructure

The paragraph introduces the process of setting up an Azure account and creating a server. It explains the difference between Infrastructure as a Service (IaaS) and Platform as a Service (PaaS). The user is guided through the Azure portal to create a virtual machine, which is a type of compute service. The process involves selecting a subscription, creating a resource group for organizational and billing purposes, and choosing a virtual machine name and region. The paragraph also discusses the concept of virtual machine scale sets, which automatically distribute workload across multiple servers.

05:02

🌐 Choosing Server Configurations

This paragraph delves into the specifics of configuring a virtual machine on Azure. It covers the selection of the server's region, availability zone, and the decision on infrastructure redundancy. The paragraph explains the importance of choosing the right image for the server, opting for a Windows Server 2019 in this case. It also touches on the customization of the virtual machine, including VM generation, processor architecture, and server size. The paragraph further discusses the setup of administrator accounts, the selection of ports to be opened, and the choice of disk types and sizes.

10:15

🔐 Managing Security and Networking

The focus of this paragraph is on the security and networking aspects of setting up a virtual machine on Azure. It discusses key management for data encryption, the decision to let the platform manage the keys, and the configuration of networking. This includes the setup of a virtual network, subnet, and the assignment of a public IP address. The paragraph also covers the creation of a network security group to manage inbound and outbound traffic, and the consideration of additional security measures like load balancers and application gateways for DDOS protection.

15:15

📝 Assigning Tags and Reviewing Configurations

Here, the paragraph emphasizes the importance of using tags for organizational and billing purposes. It provides an example of how to assign tags such as agency, creator, purpose, and environment to a virtual machine. The paragraph also guides through the review process of the server configurations before the final creation. It ensures that all settings, including storage, redundancy, and server size, are correct and as intended before proceeding with the deployment.

20:16

🖥️ Accessing and Configuring the Server

The paragraph describes the process of accessing the newly created virtual machine using Remote Desktop Protocol (RDP). It provides instructions on connecting to the server using an IP address and the correct credentials. Once connected, the paragraph outlines the steps to install Internet Information Services (IIS), which is necessary for hosting a website. The process includes adding roles and features, configuring the web server, and setting up the website directory.

25:16

🌐 Deploying and Testing the Website

The final paragraph demonstrates the deployment of a basic website on the Azure server. It covers the creation of an HTML file, configuring the IIS to host the website, and testing the website's accessibility via the internet using the server's public IP address. The paragraph concludes with a successful website deployment and a prompt for viewers to subscribe for more content.

Mindmap

Keywords

💡Azure

Azure is Microsoft's cloud computing service that provides a variety of resources for building, testing, and managing applications through Microsoft-managed data centers. In the video, Azure is the platform being used to create virtual servers and services like infrastructure as a service (IaaS) and platform as a service (PaaS), showcasing its broad capabilities in cloud computing.

💡Virtual Machine (VM)

A virtual machine is a software-based simulation of a physical computer that runs an operating system and applications just like a physical computer. In the video, the instructor demonstrates how to create a virtual machine in Azure as part of the infrastructure as a service (IaaS) model, allowing users to deploy and manage computing power on the cloud.

💡Infrastructure as a Service (IaaS)

IaaS is a cloud computing service where businesses rent or lease servers for computing and storage in the cloud. The infrastructure is maintained by the cloud provider. In the video, the instructor explains how to set up a virtual machine using Azure's IaaS service, which is ideal for running custom servers in the cloud.

💡Resource Group

A resource group is a container in Azure that holds related resources for an Azure solution. It helps organize and manage resources like virtual machines, networks, and storage. The video highlights creating a resource group to manage different virtual machines together for billing and organizational purposes.

💡Compute Service

Azure's Compute Service provides virtualized computing resources like virtual machines, containers, and app services. The video focuses on Azure's compute service when the instructor creates a virtual machine to serve as a server for various applications, illustrating how compute resources are essential for running cloud-based workloads.

💡Region

In Azure, a region refers to a set of data centers deployed within a specific geographical location that provides services. The instructor chooses a region (like 'US Central') to deploy the virtual machine, explaining that the region affects the location and latency of the service.

💡Virtual Network (VNet)

A virtual network in Azure allows communication between different resources like virtual machines and services securely. In the video, a VNet is created automatically when deploying the virtual machine to ensure the server has the necessary networking infrastructure to communicate with other services and the internet.

💡Network Security Group (NSG)

A Network Security Group (NSG) in Azure contains security rules that control the inbound and outbound traffic to network interfaces, virtual machines, and other Azure resources. In the video, an NSG is configured to define which traffic can reach the virtual machine, like allowing HTTP and RDP connections for web hosting and remote access.

💡Windows Server

Windows Server is a Microsoft operating system used for running server applications. In the video, the instructor selects a Windows Server 2019 image for the virtual machine to demonstrate the deployment of a common OS for cloud servers, which will later host a web application.

💡Internet Information Services (IIS)

IIS is a web server software created by Microsoft used to host and provide internet-based services. In the video, IIS is installed on the virtual machine to host a simple website, showing how the virtual machine can serve web content to users after the server setup.

Highlights

Introduction to creating Azure accounts and starting the process of creating servers.

First task is to create an Infrastructure as a Service (IaaS) server.

Explanation of the 'All Services' section in Azure and how to access the 'Compute' services.

Detailed overview of Virtual Machines (VM) and the difference between a simple VM and a Virtual Machine Scale Set.

Creating a virtual machine: Steps to select a free subscription, resource groups, and setting up a test environment.

Explanation of resource groups and their benefits for billing and organization.

Configuring virtual machine with a Windows Server image, choosing region and other setup steps.

Understanding different VM sizes, including B-series and D-series for different workloads.

Setting up administrator accounts, choosing port options (RDP, HTTP) and managing disk types.

Basic overview of encryption and key management options for server security.

Configuring network infrastructure, including public IP, subnets, and Network Security Groups (NSGs).

Details on enabling monitoring, backup, and alert systems to detect issues with virtual machines.

Introduction to tagging system for better organization and billing in Azure projects.

Final review of all configurations before creating the virtual machine.

Successful creation of the virtual machine and logging in via Remote Desktop Protocol (RDP).

Setting up Internet Information Services (IIS) on the VM to host a simple website.

Basic steps to create an HTML file and deploy it using IIS to see a live website hosted on Azure.

Transcripts

play00:00

all right so everyone I had created

play00:03

their Azure account in our last session

play00:05

uh so what we are going to do over here

play00:08

today is to go ahead and create a few

play00:12

servers the first server that we would

play00:14

create is gonna be an infrastructure as

play00:17

a service

play00:18

um and then we're gonna look at a

play00:20

platform as a service so

play00:23

um as you once you log in you'll be able

play00:25

to see a screen that is similar to this

play00:27

it's going to list all the services

play00:29

popular Services uh or anything that you

play00:33

might have

play00:34

um are used in past or click through the

play00:38

website and it would show you that your

play00:41

recent searches or or things along those

play00:43

lines so over here on the left hand side

play00:47

top when you click on uh the icon it's

play00:51

going to give you the list of services

play00:52

uh a brief Services a popular services

play00:56

so now when we click on all services

play00:59

you'll be able to see see a list a very

play01:04

big list of all the services that

play01:06

Microsoft Azure provides

play01:09

as you can see there are hundreds and

play01:11

hundreds of services that they provide

play01:13

but the one that we are interested in is

play01:15

the compute service because we want to

play01:18

create a a server so that's a compute

play01:21

service but there are several different

play01:23

categories that you can choose to and

play01:26

then you can play around with that a bit

play01:29

later

play01:29

so over here what we are going to do is

play01:32

create a virtual machine but as you can

play01:35

see there are other kind of compute

play01:38

services like app services like

play01:40

container instances or virtual machine

play01:44

machine scale set so what does the

play01:47

virtual machine skill set means is if

play01:51

there is a too much workload on a one

play01:53

server it will create another server and

play01:56

distribute the workload between the two

play01:59

servers and it does that automatically

play02:01

but for the demonstration of this class

play02:04

we are going to do the virtual machine

play02:07

only so we will click on virtual machine

play02:11

and then it will you'll be able to see

play02:14

this kind of a screen so what do we want

play02:16

to do is create a virtual machine so we

play02:20

could click on this and create Azure

play02:23

virtual machine

play02:26

uh once you click on it it should

play02:29

redirect you to creating a virtual

play02:31

machine so over here what you are saying

play02:34

is what subscription would you like to

play02:37

use we're going to use the free uh

play02:40

subscription that Microsoft had provided

play02:44

us so I'm going to keep it at keep it as

play02:47

Azure subscription one and then a

play02:50

resource Group a resource Group is uh it

play02:53

helps you to organize different

play02:55

resources

play02:58

um together so let's say if you had a

play03:01

virtual machine just for an app server

play03:03

and then you would have another virtual

play03:05

machine for a database server you can

play03:07

group them together because they are

play03:10

going to be

play03:11

um working together and used for the

play03:14

same or similar uh use cases the

play03:17

resource groups also helps you to

play03:20

understand the billing side of things uh

play03:23

let's say the resource you have 10

play03:26

different clients and for each client

play03:28

you have individual Resource Group

play03:31

um that way it will allow you to see

play03:34

what resources uh are consuming like

play03:37

let's say a client ABC uses a thousand

play03:41

dollar in resources per month but there

play03:43

is this other client that uses hundred

play03:46

dollars so you can charge your clients

play03:48

accordingly

play03:49

um also there are other benefits of

play03:51

resource groups such as from your

play03:53

organizational standpoint of things like

play03:56

okay you have a production environment

play03:58

you have a test environment and such and

play04:01

so forth so over here we're going to

play04:03

create a new Resource Group let's click

play04:06

on Create and give it a name of test

play04:10

iaas

play04:13

um so that's test infrastructure as a

play04:16

service we'll click on OK and uh that's

play04:20

fine so now over here the next thing you

play04:23

will see this is a virtual machine name

play04:24

which region do we want to host this

play04:28

um server uh and then the the region

play04:33

there are several different regions as

play04:35

you can see they have their data centers

play04:37

across the world so let's go with the

play04:41

first uh virtual machine uh let's try to

play04:44

put your first name followed by server

play04:49

um and that's going to be your first uh

play04:52

virtual Cloud Server that you'll deploy

play04:55

for the region we're gonna select a U.S

play04:59

Central uh the reason we are selecting

play05:01

the U.S Central is uh

play05:05

we don't have a U.S Central over here so

play05:08

let's go ahead and we'll create a Us

play05:10

East 2.

play05:13

and then what what is the availability

play05:16

Zone option do we want to do no

play05:19

infrastructure redundancy required we're

play05:22

going to select that because this is our

play05:23

test system but if you had a a scenario

play05:28

where uh you want to have a physical

play05:30

copy of the server because in our

play05:32

previous class one of the person

play05:33

mentioned that what if one of the the

play05:37

data centers that we have hosted over

play05:39

server goes down uh this is the option

play05:41

that allows you to make sure that you

play05:45

um you have it replicated you have your

play05:48

server completely backed up into a

play05:50

different region uh we're gonna say no

play05:52

infrastructure redundancy required at

play05:54

this moment but if you wanted to choose

play05:56

otherwise you can see security type

play05:59

standard you can have several different

play06:03

security type you're going to leave it

play06:05

at standard at this moment and then for

play06:08

image we're going to select a different

play06:10

image because we want to create a

play06:12

Windows server

play06:14

now over here you will be able to see

play06:16

that we have several different types of

play06:19

server you can click on select all

play06:21

images and it will give you the list of

play06:23

all the images

play06:25

um

play06:26

and we're going to wait for a second for

play06:28

it to load up okay there you go so it

play06:30

gives you all the different operating

play06:32

system that are available uh and that

play06:35

could that are pre-configured so let's

play06:37

say we want to create a Windows server

play06:40

and then

play06:42

um

play06:45

if you want to say okay what plans do we

play06:47

have and it depends on on the other

play06:50

stuff so you can click around and play

play06:52

with it and to see what what's actually

play06:54

out there so we go back to create server

play06:57

we click on

play06:58

this and we would select a Windows

play07:01

Server 2019 uh data center we can select

play07:05

2022 version but let's say go with the

play07:08

2019 version at this moment so we will

play07:11

click on this

play07:12

and then it will do all the

play07:15

configurations that is required but

play07:17

let's say if you want to do a custom

play07:18

configuration then we can click on

play07:21

configure VM and we can uh uh VM

play07:26

generation and then we can select which

play07:28

generation do we want to use

play07:31

um VM architecture which what kind of

play07:34

processing processor do we want to use

play07:37

do we want to use 64 or arm processor at

play07:41

this point with Windows we have on the

play07:43

64 version available

play07:46

um now as we are scrolling down we get

play07:50

um

play07:51

we get other options like what is the

play07:54

size of the server that you want to

play07:55

select so over here uh as you can see

play07:58

they are showing us few sizes but we

play08:00

would click on select all sizes

play08:03

and from there you would be able to see

play08:05

several different type of uh server

play08:08

sizes you have a dedicated you have

play08:12

um adseries F-series E-Series but there

play08:16

are those series means different things

play08:18

and they could be used for several

play08:20

different use cases but for the

play08:22

demonstration of our

play08:24

uh of uh our class we're gonna select

play08:28

b2ms

play08:30

um if you wanted to have a dedicated

play08:32

server you can select any D series

play08:34

server but we're gonna stick with b2ms

play08:36

right now we'll if you uh if needed we

play08:39

can go into the details of what are the

play08:41

different types of servers and uh which

play08:45

do we need

play08:46

so

play08:48

um as we can go along there are other

play08:51

information uh fields that that is

play08:53

needed so over here you can see

play08:55

administrator account so we're gonna

play08:58

make sure if you uh have some other

play09:02

whatever

play09:04

username you give and password you give

play09:07

will need that to log into the server so

play09:09

over here I'm gonna select as end-to-end

play09:12

admin

play09:14

and then I'm gonna give it a password

play09:24

okay so it needs uh there are some

play09:27

requirements over here it needs a 12

play09:30

character long password and stuff like

play09:32

that so I'm gonna say and

play09:38

and two and

play09:44

two three four

play09:47

dollar

play09:49

and two and bang two three four dollar

play09:57

okay

play09:59

and two

play10:01

and one two three four dollars

play10:14

so

play10:16

um make sure you remember your username

play10:18

and password

play10:20

and then as we go uh down what ports do

play10:24

we want to allow we would say RDP and

play10:27

HTTP Port as we're going to be hosting

play10:29

our website there and then uh we would

play10:34

go on to the disks

play10:35

what's the disk size and what the this

play10:39

type do we want to

play10:41

have so over here as you can see uh

play10:44

there are several different options for

play10:46

uh disks OS Disk type you're going to

play10:50

say uh standard

play10:53

HDD hard drive you don't need a faster

play10:57

disk at this moment so we're going to

play11:00

say standard HDD but there is an option

play11:02

for premium sdd that are much faster for

play11:05

read and write operation standard s SSD

play11:09

is again a little bit faster than a

play11:12

regular hard drive but we're going to

play11:14

stick with the standard hard drive at

play11:16

this moment it's a magnetic disc so it

play11:19

takes a little bit uh to read and write

play11:21

to perform a read and write operation

play11:24

so as we go along on Key Management so

play11:29

all your data uh uh all your data is

play11:33

encrypted and if someone stores the

play11:36

server physical server they won't be

play11:39

able to access

play11:40

any of the data that's on there because

play11:45

it is everything is encrypted so with

play11:47

key management

play11:49

how do we want to manage the key we're

play11:51

going to say platform manage so

play11:53

Microsoft takes care of that rather than

play11:55

we trying to manage it

play11:57

so that's everything let's go to the

play11:59

networking side because when you have a

play12:01

server you need the networking

play12:04

infrastructure over here it provides you

play12:07

all pre-filled infrastructure virtual

play12:09

Network it's going to create a virtual

play12:11

Network it's going to create a subnet

play12:13

and it's going to assign a public IP to

play12:16

the virtual machine that we are creating

play12:19

and then Network Security Group uh what

play12:24

kind of uh Security Group configurations

play12:26

do we want we're going to keep it basic

play12:28

we're going to allow public inbound and

play12:32

outboard traffic

play12:33

and we select which ports do we allow as

play12:36

we did it on our first screen we would

play12:40

choose if there is a load balancer or

play12:42

application Gateway added those are

play12:45

added for traffic monitoring or traffic

play12:47

dividing or

play12:51

we can use application gateway to

play12:53

protect any attack

play12:56

against our server like DDOS attack so

play13:00

if we go next into the management

play13:03

we would see several different thing

play13:06

enable basic plan for free yes uh like

play13:10

Windows Defender we want a basic free

play13:13

plan if you wanted to have uh other

play13:16

configurations that we wanted to add

play13:18

like login through Azure ad we don't

play13:21

have that at this moment so we are not

play13:22

going to do that unable system assigned

play13:25

managed identities

play13:27

um like if uh your services your

play13:30

different Azure services are talking

play13:33

together then we can do that enable

play13:36

backing up site recovery in an event if

play13:39

a virtual machine fails in an Eastern

play13:42

region we want to we might if we have

play13:44

enabled backing up or did a site

play13:46

recovery then we can recover that side

play13:49

in a western region with a minimum to no

play13:52

loss of data

play13:54

so those are the configurations that we

play13:56

we can see over here we will click on

play13:59

next monitoring

play14:01

over here we're gonna

play14:04

have the default one enabled with manage

play14:07

storage account uh so if there are any

play14:10

diagnosis like a server fail if there

play14:12

are any errors in the server then it

play14:15

will generate a log file and we would be

play14:17

able to access that we can create alerts

play14:21

like if a virtual machine is down for

play14:23

let's say 10 15 minutes it sends out an

play14:26

email and a text message those are the

play14:29

configurations that we can do with

play14:32

alerts enabling alerts and then

play14:34

configuring those alerts

play14:36

but at this moment it's out of our scope

play14:40

we go into the advanced if there are any

play14:43

scripts that you want to run during uh

play14:45

the initial boot of uh of the of the

play14:49

server or if there are any other regular

play14:52

tasks that you want to perform so this

play14:55

section would be used for that for again

play14:58

for our

play14:59

purposes we're gonna keep going to the

play15:02

tags

play15:04

this is very very important one

play15:07

um

play15:08

so tags allows you again like we did

play15:11

with the resource Group it allows us to

play15:15

um do mapping and do certain things so

play15:18

some of the tags that we like in our

play15:21

company is what and what uh first of all

play15:24

which agency is this for so we would say

play15:26

agency is end to end or you can put your

play15:30

own name

play15:31

um

play15:32

and then created by

play15:36

created by I would say Andy Patel and

play15:40

then

play15:41

um okay uh what's your purpose

play15:46

purpose of this it's a test system

play15:50

or we can say Tech Academy

play15:55

and then we would select the environment

play15:58

of the server EnV we would say test

play16:02

system and that's it so you can add your

play16:06

tags you can create certain policies

play16:08

that says you need to have certain tags

play16:10

in in your in this you can technically

play16:13

skip this but it will allow you to do

play16:17

much better analysis on your billing

play16:20

side of things so

play16:22

here is agency created by purpose and

play16:25

environment we'll click on next and it

play16:29

will give us an entire thing to review

play16:31

hey this is uh this is how much it's

play16:34

going to cost these are the

play16:35

configurations that you have selected if

play16:37

there are any changes that we would uh

play16:40

like to make then we can do it right now

play16:43

before we click on the create button

play16:45

here but before we do that it's just

play16:49

taking a few seconds to go ahead and

play16:51

make sure everything is configured so

play16:53

over here as you can see everything

play16:56

is the test passed so we can click on

play17:00

create let's make sure we scroll down

play17:03

through this and see all the

play17:05

configurations that we did are correct

play17:06

we did the hard drive local redundant

play17:09

storage no

play17:10

relevancy required we selected our uh we

play17:14

change the size to b2ms initially it was

play17:17

B1

play17:18

so that's everything over here now we're

play17:21

gonna click on Create and it will take

play17:24

few minutes to go ahead and create the

play17:27

server

play17:28

so once we have created the server we're

play17:31

going to try to log into the system and

play17:34

configure that for our uh

play17:38

you know for our need we're going to

play17:40

install and IIs internet

play17:46

um Services uh enter IIs internet

play17:49

Information Services I believe that's

play17:51

what it's called

play17:53

um and then we would

play17:55

we would host our first website

play17:59

so I'm gonna pause this video for a

play18:01

second and we'll continue once uh a

play18:04

complete deployment is done

play18:08

okay so

play18:10

um as you can see our resource is

play18:12

created and we can go to our Resource

play18:15

Group and it's going to list out all the

play18:17

resources that we have here is the ND

play18:19

server that we created now what we are

play18:23

going to do over here is let's go back

play18:26

to our our ears

play18:28

let's go to the resource Group and

play18:33

in the resource Group you see several

play18:35

different things that are created

play18:38

and that is that is exactly what other

play18:41

things you would need so you have the

play18:43

virtual machine that's what initially we

play18:46

plan to create we got a public IP

play18:48

address to which we would be able to

play18:50

reach and reach our website then you

play18:54

have a network security group on which

play18:56

you put the rules who can or which codes

play19:00

could be connected and from where it

play19:02

could be connected and then we have a

play19:04

network interface

play19:06

so the network interface allows us to

play19:10

allows the server to communicate to the

play19:14

network and then we have a disk that's a

play19:18

disk you need to have

play19:22

storage and then we have the virtual

play19:24

Network so virtual network is connected

play19:27

to the network interface is connected to

play19:30

the virtual machine so now what we're

play19:32

going to do is we are going to do a

play19:34

connection to the server I hope you

play19:38

remember your

play19:40

uh username and password and we're gonna

play19:44

use that to connect to the server so I

play19:49

want you to go to

play19:51

RDP on your Surface Book and you can

play19:57

click on that

play19:58

and then you would put an IPA address

play20:02

over here and then you will click on

play20:04

connect

play20:06

so as you click on connect it's going to

play20:08

try to make a connection request to our

play20:11

server and it's going to ask for a

play20:13

username and password so we're going to

play20:15

click on more choices and use a

play20:18

different account and then we would what

play20:22

we would do over here is put

play20:26

put the

play20:27

server name

play20:29

slash the username so we're going to say

play20:32

ND server followed by N2 and admin

play20:37

and then we're gonna enter the password

play20:46

and then click on OK

play20:48

and it's going to make ask you that you

play20:51

want to verify this and we're going to

play20:53

say yes and it it's going to connect you

play20:56

to the server

play20:59

all right so

play21:02

here is what you'll see

play21:07

okay

play21:09

this is not exactly

play21:15

okay

play21:16

so we are getting connected to the

play21:18

server at this point

play21:20

um and we're gonna do certain

play21:22

configurations that allows us to host

play21:25

the website this might take a few

play21:27

seconds to get connected up as it is the

play21:30

first time we are connect getting

play21:31

connected to the server

play21:34

so there we go that's our server

play21:38

and uh it doesn't do anything at this

play21:41

point it's just

play21:43

a piece of uh uh it is

play21:48

it is a computer hosted in Azure

play21:52

infrastructure

play21:54

so we're gonna

play21:55

install and information

play21:58

uh service

play22:01

internet information service IIs

play22:05

and that IIs is gonna

play22:10

allow us to use

play22:15

our website

play22:17

on the server so let's go ahead and say

play22:20

add role and feature you'll see the

play22:24

server manager and we're going to say

play22:25

add role and feature

play22:28

okay

play22:31

the server is collecting the inventory

play22:33

of data the visual art will available

play22:35

after the data collection as well so

play22:37

it's starting up so it's taking a few

play22:39

seconds

play22:41

to to load up the server and do

play22:44

everything on the background

play22:46

so I believe it should be done by now

play22:48

okay there we go so we should uh click

play22:52

on that click on next

play22:54

uh click on next

play22:58

and then you're gonna say this is the

play22:59

server click on next and what do we want

play23:02

to enable over here uh as you can see uh

play23:06

we we have an entire list of things that

play23:09

we can enable but we are interested in

play23:11

web server IIs

play23:14

and then we're going to say add a

play23:15

feature and click on next

play23:18

and it does all the auto configuration

play23:21

we are not gonna change anything on this

play23:25

and we're gonna say Okay click on next

play23:28

click on next

play23:31

um here are the basic configuration we

play23:33

are not going to make any changes to

play23:35

this but let's go ahead and keep

play23:37

clicking on next

play23:38

and then install

play23:41

so it's going to take few seconds to go

play23:43

ahead and go through the installation

play23:45

process of uh web IIs a web server

play23:49

and then once we are done with the

play23:53

um installation of that we would be able

play23:56

to host our first website

play24:02

okay so uh we have gone through the

play24:05

installation process of uh IIs web

play24:08

server and then we're gonna click on

play24:10

close and we should be able to see our

play24:14

IIs server

play24:17

so

play24:19

what we're going to do is go into the

play24:21

files

play24:24

and from there we'll go into this PC

play24:29

Drive

play24:31

and then you will see an inet Pub

play24:34

and we would go into WWE root

play24:37

in WWE root we are going to create a new

play24:40

folder

play24:43

test website

play24:46

and we're gonna add

play24:51

we're going to add a new file

play24:54

text document at this point we're going

play24:56

to say index.html

play25:01

uh let's double click on it and then I'm

play25:06

going to write a little bit of an HTML

play25:08

code some of you might have seen this uh

play25:12

nothing nothing too usual

play25:16

nothing unusual about HTML over here

play25:19

that's what I meant to say

play25:21

so we got the body tag HTML tag and then

play25:26

we're gonna say H1

play25:28

slash H1 and then I'm gonna have

play25:34

Tech

play25:36

Academy

play25:40

uh week two

play25:44

so

play25:45

that's what we have I'm gonna click on

play25:48

file save as and that as the previous

play25:51

file was saved as a text I'm going to

play25:53

save this as HTML

play25:56

and it's saved you see two files over

play26:00

here now we're gonna open up the IIs

play26:06

and that should give us an internet

play26:10

information service

play26:15

over here we're gonna

play26:18

create

play26:22

and

play26:24

default site so

play26:27

let's

play26:31

remove

play26:33

and then we're going to say add a

play26:35

website

play26:36

uh what's the site name we're gonna say

play26:39

test

play26:41

uh test website let's say test website

play26:46

we're gonna choose the path at where the

play26:50

site is saved so we're going to say C

play26:52

drive inet Pub root and test website

play26:55

click on OK

play26:57

and that's it we're gonna click on OK

play27:01

and now

play27:02

on the right side over here you see

play27:05

browse option that will take you to the

play27:09

website but we want to see if we can

play27:12

connect to the website from

play27:15

um internet so I'm gonna copy this IP

play27:19

address open up a new tab and then paste

play27:22

it over here and I should be able to see

play27:26

our website cool so that is so good now

play27:30

that's your first deployment of a web

play27:33

server thank you guys for watching this

play27:36

video if you like the video please go

play27:39

ahead and click on the Subscribe button

Rate This

5.0 / 5 (0 votes)

Etiquetas Relacionadas
Azure DeploymentIaaS TutorialWeb HostingServer SetupCloud ComputingTech AcademyVM CreationWebsite DeploymentMicrosoft AzureIIS Installation
¿Necesitas un resumen en inglés?