azure for developers - codecinella · 2020. 2. 17. · • azure virtual machines: use when the app...

23
Azure for Developers Codecinella – February 12 th , 2020 1

Upload: others

Post on 03-Jan-2021

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

Azure for Developers

Codecinella – February 12th, 2020

1

Page 2: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Naveen VK – Technical Director, NVISIA

•20 years of professional experience•Full stack developer in both Java and .NET•Enjoys sharing knowledge through tech talks at various meetups•One of the organizers at Codecinella•Fun fact

Page 3: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Azure for Developers• What is Cloud Computing?

• Types of Cloud Computing

• Cloud Computing Service Classification

• IaaS

• PaaS

• SaaS

• Advantages/Disadvantages of Cloud Computing

• What is Azure?• Azure Terminology

• Azure Demo

• Usecase

Page 4: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

Cloud Computing

Page 5: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

What is Cloud Computing?

•Computing services available over the internet (“the cloud”)• Storage• Databases• Virtualization – VMs, Containers• Software Analytics• Security Services• Networking Services

•Pay to play• Charges based on usage of services

The Cloud

Page 6: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Types of Cloud Computing

• Public• Owned and operated by third party companies/providers

• All hardware, software and infrastructure is managed by the provider

• Users create accounts to access services via browser/interface

• Private• Services and infrastructure managed exclusively for a company on a private network

• Could be hosted at the company’s data center (on-site)

• Some companies pay third party providers to host their private cloud

• Hybrid

Page 7: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Cloud Computing Services Classification

IAAS – INFRASTRUCTURE AS A SERVICE

PAAS – PLATFORM AS A SERVICE

SAAS – SOFTWARE AS A SERVICE

Page 8: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

IaaS – Infrastructure as a Service• Most basic type of cloud

computing service

• Provider manages infrastructure and scaling based on demand and availability

• Servers, virtualization, storage

• Networking, firewalls, security

• Data center

Page 9: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

PaaS – Platform as a Service

• Services to develop, test, deploy and manage applications

• Includes underlying IaaS

• Provider manages

• Infrastructure

• Middleware

• Operating System

• Databases

• Software licenses

• Container managers

• DevOps tools, Analytics

Page 10: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

SaaS – Software as a Service

• Complete software solution services

• Includes underlying PaaS which in turn includes underlying IaaS

• Provider manages

• Hardware, software, middleware

• Service agreements

• Application data

• Security and availability

Page 11: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

IaaS/PaaS/SaaS vs On-Prem

• http://robertgreiner.com/2014/03/windows-azure-iaas-paas-saas-overview/

Page 12: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Advantages of Cloud Computing• Cost savings

• Eliminate cost of hardware, software, licenses

• No IT services needed to manage infrastructure

• Removes cost of heating/cooling of all hardware

• Scalability/Flexiblity• Truly global – variety of geographic

locations/zones• Use more or less computing services as

needed• Computing services can be provisioned

with just a few clicks

• High availability/reliability• Failover, disaster recovery, backup,

redundancy are all services• Available on-demand

Disadvantages of Cloud Computing• Completely dependent on the availability of a

network connection• Outage due to natural disasters cannot be

avoided• Invest in a fast connection

• Learning curve• Everything is a service and with ease of

use comes ease of errors

• Loss of control• Completely dependent on the provider for

ensuring security/compliance/accessibility of your data

• In case of technical issues, completely dependent on the provider to fix this

• Cost savings?• Since it’s easy to provision services, if not

managed properly can increase cost

Page 13: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Azure for Developers• What is Cloud Computing?

• Types of Cloud Computing

• Cloud Computing Service Classification

• IaaS

• PaaS

• SaaS

• Advantages/Disadvantages of Cloud Computing

• What is Azure?• Azure Terminology

• Azure Demo

• Usecase

Page 14: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

Azure

Page 15: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Azure

Microsoft’s cloud platform

Pay to play

Charges based on usage

Services to develop, test, deploy and manage applications

Offers scalability, reliability, high availability

Manage services using Azure Portal

Server specific APIs

Templates

Page 16: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Azure Terminology

• Azure Account: Account to access and manage a subscription

• Azure Portal: Secure web portal to deploy and manage services

• Azure CLI: Command line interface to manage services from Windows, Macs or Linux machines

• Azure PowerShell: CLI for Windows machines only

Page 17: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Azure Terminology

• Azure Region: Area within a country that contains one/more datacenters

• Regions do not cross national borders

• Geography/Geo: Contains 2 or more regions• Geos may cross national borders

Page 18: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Azure Terminology• Azure Resource: Anything managed by Azure is

a resource• Database, VMs, Server, Cluster

• Azure Resource Group: Logical grouping of resources• Allows for provisioning, monitoring,

control, cost management

• Azure Resource Manager: Azure resource deployment and managing service that handles requests through the portal, CLI or PowerShell

• Role: Used for controlling access and actions on resources

Page 19: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Azure - Demo

• https://portal.azure.com/#home

Page 20: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Usecase: Hosting an application

• Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem to Azure without any changes

• Azure Service Fabric: Use when creating/rewriting an app with microservices

• Azure App Service: Use to expose APIs in an existing app or when migrating existing web applications

• Azure Functions: For serverless apps/services or when app/service is triggered by other services

Page 21: Azure for Developers - Codecinella · 2020. 2. 17. · • Azure Virtual Machines: Use when the app needs full control of the infrastructure or when migrating the app from on-prem

NVISIA - Confidential and Proprietary 

Azure for Developers• What is Cloud Computing?

• Types of Cloud Computing

• Cloud Computing Service Classification

• IaaS

• PaaS

• SaaS

• Advantages/Disadvantages of Cloud Computing

• What is Azure?• Azure Terminology

• Azure Demo

• Usecase