Cloud Computing Architect

1. Define virtual machine and Describe roles and application of it. Describe functionality of Microsoft azure

In computing, a virtual machine (VM) is the virtualization/emulation of a pc gadget. digital machines are primarily based on laptop architectures and provide capability of a bodily pc. Their implementations may contain specialized hardware, software program, or a aggregate.

A VM affords isolated surroundings for running its very own OS and packages independently from the underlying host machine or from other VMs on that host. The VM’s OS is generally referred to as the guest OS, and it could be the same as or specific from the host OS or the alternative VMs. On this way, a single laptop can host more than one VMs, all walking different OSes and packages, without affecting or interfering with every different. The VM continues to be dependent on the host’s bodily resources, but those sources are virtualized and disbursed across the VMs and may be reassigned as important, making it viable to run unique environments simultaneously, in addition to accommodate fluctuating workloads.

From the person’s attitude, the VM operates much like a bare‐metallic device. In maximum cases, customers connecting to a VM may not be able to tell that it is a digital environment. The guest OS and its programs can be configured and updated as important and new packages hooked up or removed, without affecting the host or different VMs. Sources which include CPUs (significant processing devices), memory and storage seem similar to they do on a physical computer. Despite the fact that users may run into occasional system faults, together with no longer being capable of run an application in digital surroundings, those types of issues tend to be minimal.

A computer that hosts VMs calls for specialized software known as a hypervisor. The hypervisor emulates the computer’s CPU, reminiscence, difficult disk, community and other hardware assets, developing a pool of sources that may be allotted to the person VMs in step with their particular necessities. The hypervisor can assist more than one virtual hardware structures which can be isolated from each different, allowing VMs to run Linux and home windows Server OSes at the equal physical host.

Fig 1.0: Azure Virtual Machine

Companies automatically set up VMs of their records centers to assist a wide variety of use cases and workloads. They use VMs for numerous motives, along with:

  1. VMs assist companies consolidate servers and higher utilize hardware assets. because a single server can run multiple VMs concurrently, groups can use resources on a single server more effectively, lowering the need to unfold workloads across a couple of servers, which frequently function underneath capability. On this way, corporations store capital and operating fees.
  2. VMs provide remoted environments, making it feasible to run distinctive kinds of OSes and applications on a single server. Corporations can install legacy and commercial enterprise programs within the environments they require, while not having to address rivalry issues or needing to buy multiple servers to support distinct environments.
  3. VMs make it smooth to scale packages and accommodate fluctuating workloads, that is one motive virtualization performs such a key role in cloud computing and structures together with hyper‐converged infrastructure (HCI).
  4. Groups additionally turn to VMs due to the extra layer of security they offer in opposition to potential threats. If a VM is compromised, it could be deleted or rolled returned to a recent backup or image. as it’s isolated from the host and other VMs, the hazard is confined to that VM.
  5. VMs make it simpler to manage more than one environment going for walks exclusive OSes. Due to the fact workloads are consolidated on fewer servers, there also are fewer physical structures to installation and hold. Similarly, maximum virtualization platforms make it feasible to manipulate the VMs from a single interface, although the ones VMs are disbursed throughout a couple of hosts.

Corporations frequently install VMs after they need up-to-date run more than one programs simultaneously that require distinctive OS’ and processing power. For instance, a quality assurance (QA) group might need up to more than one net server and small databases on the same time, or it might need up-to date the identical server updated run images-intensive gaming software program and a up-to-date database. DevOps also can take advantage of VMs for his or her non-continuous integration and shipping operations, or an organization may want an environment up-to-date run legacy program alongside other workload.

Azure features is a server less answer that allows you up-to-date much less code, preserve less infrastructure, and save on fees. stressful deploying and maintaining servers about up to date , the cloud infrastructure affords all the resources up-to-date maintain your programs that are running.

You recognition at the portions of code that depend most up to date you, and Azure functions handles the relaxation.

We regularly construct systems updated react up-to-date a chain of vital occasions. whether or not you are constructing a web API, responding up to date database modifications, processing IoT statistics streams, or maybe managing message queues — every utility wishes a manner up to date run a few codes as these activities arise.

to meet this requirement, Azure functions presents “compute on-demand” in massive approaches.

First, Azure functions permits you to execute your system’s logic to already available blocks of code. those code blocks are called “functions”. Various functions can run every time you want to reply to essential activities.

Second, as requests boom, Azure functions meet the demand with as many resources and feature instances as essential — but best whilst wanted. As requests fall, any greater resources and application instances drop off automatically.

Where do all the compute assets come from? Azure capabilities gives as many or as few compute resources as needed to meet your utility’s demand.

Offering compute sources on-call for is the essence of serverless computing in Azure capabilities.

2. Azure Virtual Machine and Load Balancing

Azure Virtual machine will let us create and use virtual machines within the cloud as Infrastructure as a service. We can use an picture provided by means of Azure, or accomplice, or we can use our own to create the virtual system.

Virtual Machines can be created and managed using:
o Azure Portal
o Azure PowerShell and ARM templates
o Azure CLI
o consumer SDK’s
o relaxation APIs

Following are the configuration choices that Azure gives even as creating a virtual machine.

  1. Running machine (home windows and Linux)
  2. VM size, which determines up to date along with processing strength, what number of disks we connect and so forth.
  3. The area in which VM may be hosted
  4. VM extension, which gives additional competencies such as running anti-virus and so on.
  5. Compute, Networking, and storage elements may be created throughout the provisioning of the virtual machine.
Fig 2.0: Azure Load Balancer

Azure Load Balancer operates at layer 4 of the Open systems Interconnection (OSI) version. It is the single point of touch for clients. Load balancer distributes inbound flows that arrive at the load balancer’s the front end to backend pool times. These flows are in step with configured load-balancing regulations and health probes. The backend pool times can be Azure Virtual Machines or instances in a digital device scale set.

A public load balancer can offer outbound connections for digital machines (VMs) inner your digital community. Those connections are accomplished with the aid of translating their public IP addresses. Public Load Balancers are used to load balance net traffic to your VMs.

An inner (or non-public) load balancer is used wherein personal IPs are wanted at the frontend handiest. Internal load balancers are used to load balance traffic in inner virtual network. A load balancer frontend can be accessed from an on-premises network in a hybrid situation.

3. Azure storage and Automation

Fig 3.0: Azure Storage

The Azure garage platform is Microsoft’s cloud storage solution for present day records storage eventualities. core garage services offer a massively scalable object keep for statistics gadgets, disk garage for Azure digital machines (VMs), a record gadget carrier for the cloud, a messaging up to date for reliable messaging, and a NoSQL up-to-date.

The offerings are :-

Durable and highly up to date Redundancy :- It guarantees that your facts is secure inside the occasion of transient hardware failures. You can additionally up-to-date mirror facts throughout datacenters or geographical regions for extra safety from neighborhood disaster or natural catastrophe. Records replicated in this way stays pretty up-to-date in the event of an sudden outage.

Secure:- All information written up-to-date an Azure garage account is encrypted through the carrier. Azure storage offers you with up-to-date-grained manipulate over who has access up to datefor your records.

Scalable :- Azure garage is designed updated be vastly scalable up to date satisfy the facts garage and performance wishes of cutting-edge packages.

Managed :- Azure handles hardware protection, updates, and critical troubles for you.

Availability:- Facts in Azure storage is out there from everywhere within the international over HTTP or HTTPS. Microsoft offers up to date libraries for Azure storage in a spread of languages, which include .internet, Java, Node.js, Python, Hypertext Preprocessor, Ruby, go, and others, built-in a mature relaxation API. Azure garage helps script building integrated Azure PowerShell or Azure CLI, the Azure portal and Azure storage Explorer offer easy visible solutions for building together with your data.

Core Storage Services

The Azure storage platform integrated building built-information services:

  1. Azure Blobs: A massively scalable object shop for textual content and integrated statistics. also built-inbuilt-integrated assist for large statistics analytics through built integrated Lake storage Gen2.
  2. Azure files: controlled record stocks for cloud or on-premises deployments.
  3. Azure Queues: A message building shop for reliable messaging integrated among utility components.
  4. Azure Tables: A NoSQL store for schema less storage of established facts.
  5. Azure Disks: Block-level storage volumes for Azure VMs. Every service is accessed through a garage account.
Fig 3.1: Azure Automation

Azure Automation is wanted built-in 3 wide regions of cloud operations:

  1. Deploy and Manage — Deliver repeatable and constant built-infrastructure as code.
  2. Response — Create event-primarily based automation to diagnose and solve problems.
  3. Orchestrate — Orchestrate and built-in your automation with different Azure or third party products and services.

Azure Automation supplies a cloud-based totally automation, built-in OS updates, and configuration provider that helps regular control throughout your Azure and non-Azure environments. It consists of integrated manner automation, configuration management, replace control, shared skills, and heterogeneous functions.

There are numerous Azure of build integrated which could supply the above necessities, built-integrated every provider built-includes a fixed of skills and serves a role as a programmable platform to build cloud answers. Built-instance, Azure Bicep and resource supervisor provide a language to broaden repeatable and consistent deployment templates for Azure resources. Azure Automation can procedure that template to installation an Azure aid and then method a hard and fast of post-deployment configuration tasks.

Automation gives you entire control build integrated deployment, operations, and decommission integrated of company workloads and assets.

Process Automation built-in Azure Automation permits integrated you to automate common, time-building, and errors-inclined control responsibilities. This provider helps you recognition on paintings that provides built-in build integrated value. Through built-in build integrated errors and boost integrated performance, it also helps to lower your operational expenses. The procedure automation building environment integrated is exact built-in Runbook execution built-in Azure Automation.

Process automation supports built-integration of Azure of build integrated and different third party systems required built-in deploy building, configure building, and building your end-to-end processes. The service built-in you to creator graphical, PowerShell and Python runbooks. To run runbooks directly on the integrated or build integrated or build integrated assets built-in the on-premises or different cloud environment integrated to manage the ones local sources, you could set up a Hybrid Runbook worker to the device.

Webhooks permit you to fulfil requests and built-integrated built in integrated delivery and operations by way of trigger integrated automation from Azure good judgment Apps, Azure feature, ITSM services or products, DevOps, and monitoring systems.

4. SQL Azure

SQL Azure Database is a fully controlled platform as a provider (PaaS) database built-in machine that handles most of the database management features built-includes upgrade building, patch integrated, backups, and tracking with out person built-involvement. Azure SQL Database is usually run build integrated at the cut build integrated solid model of the SQL Server database language build and patched OS with 99% availability. PaaS abilities which might be built integrated to Azure SQL Database permit you to recognition at the built-in Database Management System integrated-particular database integrated and optimization activities that are vital built integrated enterprise.

With Azure SQL Database, you can create a particularly to be had and high-overall performance records garage layer for the programs and solutions built-in Azure SQL Database can be the right choice for a variety of modern cloud packages as it permits you to process both relational built-in integrated and non-relational structures, together with graphs, JSON, spatial, and XML.

Azure SQL Database is based on the built-in stable model of the Microsoft SQL Server database language integrated. You may use advanced query process building capabilities, building excessive-overall performance built-in-reminiscence technology and sensible query process integrated. In reality, the newest abilities of SQL Server are released first to SQL Database, and then to SQL Server itself. You get the most recent SQL Server abilities without an overhead for patch-building or upgrade-building, built-in throughout hundreds of thousands of databases.

Fig 4.0: Azure SQL

SQL Database permits you to effortlessly integrated and scale overall performance built-in two built-in building fashions: a Core-based building integrated model and a DTU-based totally building model. SQL Database is a totally managed provider that has high availability, backups, and other not unusual upkeep operations. Microsoft handles all patch building and update integrated of the SQL and build integrated gadget code. You don’t should manipulate the under build the build-infrastructure.

Automatic backups: SQL Database built-in performs full, differential, and transaction log backups of databases to enable you to restore to any build implicit integrated built-in time. For built-in databases and pooled databases, you could configure SQL Database to keep full database backups to Azure storage for long-time period backup retention. For managed build integrated, you could also carry out reproduction-best backups for long-time period backup retention.

Build integrated-time restores: All SQL Database deployment alternatives assist build integrated to any build integrated time built-in the automated backup retention period for any database.

Active geo-replication: The build-in-integrated database and pooled databases options will let you configure as much as four readable secondary databases integrated both the identical or globally allotted Azure datacentres. For build-in-integrated, if you have a SaaS utility with a catalogue database that has an excessive quantity of concurrent exam built integrated-only transactions, use energetic geo-replication to enable built-in read scale. This built-in bottlenecks at the primary that are because of study integrated workloads. For managed built-intimes, use vehicle-failover groups.

Auto-failover groups: All SQL Database deployment alternatives assist you to use failover organizations to enable excessive availability and load build-in-integrated at global integrated scale. This build-in-integrated transparent geo-replication and failover of massive units of databases, elastic swim built integrated, and controlled built-intimes. Failover built-in plugins permit the advent of globally disbursed SaaS programs, with built-in integrated built-initiation integrated overhead. This leaves all the complex monitoring, route integrated, and failover orchestration to SQL Database.

Zone-redundant databases: SQL Database allows you to provision top rate or enterprise vital databases or elastic swimming pools across more than one availability zones. Since, these databases and elastic pools have multiple redundant replicas for high availability, setting these replicas into a couple of availability zones provides better resilience. This includes the potential to recover mechanically from the datacenter scale disasters, without records loss.

5. Steps of creating website using visible studio

In this introduction on the way to use visible Studio, you may create an easy “Hello World” web app via the usage of an ASP.NET assignment template and the C# programming language.

If you haven’t already mounted Visual Studio, visit the visual Studio downloads page to install it totally free.

To start, you’ll create an ASP.NET Core web application project. The project kind comes with all template files to create a web app, earlier than you’ve got even introduced anything!

  1. In the begin window, select Create a new project.
  2. Within the Create a new project window, select C# from the Language list. Subsequently, select Windows from the Platform list, and internet from the project type list. After you observe the language, platform, and mission kind filters, pick out the ASP.net core internet App template, after which pick out next.
  3. Inside the Configure your new venture window, type or enter HelloWorld in the project call box. Then, select next.
  4. Inside the Additional Information window, verify that .NET 6.0 appears in the Framework field. Be aware that you may select to permit Docker assist by using checking the field. You could also add authentication help through selecting a value from the Authentication type drop-down list.

From there you could select from:

• None: no authentication.

• Individual Accounts : those authentications are saved in a nearby or Azure-based database.

• Microsoft identity platform: this feature makes use of lively listing, Azure ad, or Microsoft 365 for authentication.

• Windows: suitable for intranet programs.

Leave the enable Docker box unchecked, and choose None for Authentication kind. Then, click on Create.

Visual Studio will open up your new project.

  1. Within the answer Explorer, enlarge the Pages folder, and then select Index, cshtml. This document corresponds to a page this is named Home inside the web app, which runs in a web browser. Inside the editor, you will see HTML code for the text that appears on the home page.
  2. Alter the “Welcome” text to read “Hello World”.
  3. Pick IIS Express or press Ctrl+F5 to run the app and open it in an internet browser.
  4. Within the web browser, verify that the Home web page consists of your updated text.
  5. Close the web browser.
Fig 5.0: Result of the Above Steps

Reference

  1. https://searchservervirtualization.techtarget.com/definition/virtual-machine
  2. https://en.wikipedia.org/wiki/Virtual_machine
  3. https://docs.microsoft.com/en-us/azure/azure-functions/functions-overview
  4. https://www.javatpoint.com/azure-virtual-machines
  5. https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-overview
  6. https://docs.microsoft.com/en-us/azure/storage/common/storage-introduction?toc=/azure/storage/blobs/toc.json
  7. https://docs.microsoft.com/en-us/azure/automation/overview
  8. https://docs.microsoft.com/en-us/azure/azure-sql/database/sql-database-paas-overview
  9. https://docs.microsoft.com/en-us/visualstudio/ide/quickstart-aspnet-core?view=vs-2022

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

MY FIRST DAY AT OUTBOX

public static void main(String args[]){} - A Complete Story

iOS Push Notifications, but without user authentication!

Learning NoSQL in analogous with SQL within 10 minutes, MongoDB — A Comparative Study

All of us software developers come across one word almost daily-REST

Discover, Design, Develop — An Ideal Path for DDD

Using Azure Event Grid — First Steps

Programming for Non-Professionals: It’s Worth the Effort

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shreya Pai

Shreya Pai

More from Medium

AWS Cloud Experienced Questions & Answers

How to reduce AWS EC2 instance volume EBS — [ root / non-root]

Azure v.s AWS Cloud — 2

Immuta Integration With Snowflake