Thursday, January 16, 2020

Azure Compute Model

old azure compute model till 2015



new model.



It contains:


  • APP SERVICE:
    1. Web Apps
    2. Mobile Apps
    3. Logic Apps
    4. API Apps


Web Apps:(How WebApp looks like in the PAAS model of App Service)
-Shared or dedicated Virtual Machines.
-Managed VM(Managed by Microsoft)
-Any language supported by Azure App Service
-ASP.NET,Node.js, PHP or Python
-SUpports Powershell and other scripts
-Supports Multiple Code Languages
-Continuous Integration
-Global-scale, high availability
-Connect with other platforms, connectors available in the market place to connect with other services/applications.
-Security and Compliance, in Managed VM we don't need to manage this, Microsoft takes care of security and port openings
-Application templates
-Plugins streamlined with Visual Studio.

Mobile Apps:




-No matter the language/platform, you can use Azure SDK to take advantage of Azure Mobile App Services.
-Supports single sign-on with your enterprise (Azure AD FS)
-Build offline ready apps where local storage used.
-Push notifications
-Auto-scaled based on demand.
-Support staging environments.
-The same CD feature like Web Apps.


API Apps:
-Easy migration of existing API
-Set up for easy consumption (CORS)
-Access control features
-Integrated with Visual Studio
-Integration with Logic Apps.

Logic Apps:
-Build workflow logic, based on a trigger
-if this, then that
- (see IFTTT, Zapier)
- Can be designed inside the browser
- Start with some type of trigger or date/time
- Trigger cause some action to happen
- Can start with templates




CLOUD SERVICE:



Web Role:
  • Can have a public endpoint
  • IIS running in a VM
  • Accepts HTTP and HTTPS requests.

Worker Role:
No IIS
No public endpoints, within cloud service VMS can talk each other but not from outside.
Computation and data management
Background jobs
Can accept and perform tasks

Together, Worker and Web Role:
  • Communicate using messages and queues.
  • Can have multiple instances of each role, set by configuration.
  • Can auto-scale; more servers start as needed and stop when no longer needed.
  • Automatically load balanced.

Cloud Service as a whole, we don't create the VM. We just upload the configuration file and Azure creates the machines that we need.
To deploy an update, you load a new instance with the new configuration, and when you publish, the switchover is almost instant.
VM Role:
- laaS 
- You can choose from a number of predefined images 
- Such as Windows Server 2012 R2 
- Looks and acts similar to a hosted physical server 
- Actually a OS image running in a virtual hard disk 
(VHD) 
- The VHD for a VM is stored in a blob storage in your 
Azure account 

https://blogs.technet.microsoft.com/yungchou/2010/12/28/cloud-computing-for-it-pros-36-windows-azure-computing-model/

Choose from hundreds of Virtual Machine options in the 
Azure Marketplace: 

- Oracle Linux 
- Ubuntu 
- 400+ Linux options including operating systems, databases, apache servers, search servers, cache servers, ecommerce shopping carts, CMS, load balancer, email server, and more. 
- Multiple versions of Windows, 2008, 2012, 2016, 
Windows 7, Windows 8.1 , Windows 10, etc 
- Visual Studio environment 
- SQL Server 
- Hundreds of options 


VM SIZES:


- It's important to understand VM sizing options on Azure 
- A, D, DS, DV2, DSV2, G, and GS 

- Hosting tiers: basic vs standard 

- Compute intensive options 

- price is a factor 

A-series compute is general purpose, for websites,testing,POC,etc.
Designed to run on different types of hardware consistently.
Optimized to run at a consistent performance.

D-series

- D-series compute was released after A, and is designed for
performance
- Faster processors, higher memory per core, and a SSD drive
for temporary disk
- DS-series that allows you to use Premium Storage instead of
temporary storage

- Dv2-series compute was a follow up to the D-series, and is
even more powerful
- 35% faster than the D-series
- Same memory and disk configurations, but based on a newer
chip


- DSv2-series that allows you to use Premium Storage instead
of temporary storage

- G-series compute is for memory intensive applications

- Latest Intel Xeon E5 v3 processors and have two times more
memory and four-times more SSD disk space than a D-series.

- GS-series that allows you to use Premium Storage instead of
temporary storage




A series:
• AO-A4range from extra-small to extra-large (general-purpose, everyday applications)

• A5-A7 range is the memory-intensive versions of that (large database)

• A8-A9 range is network optimized (for messaging)
• A1O-A11 range is compute-intensive, with the fastest processors

D series:
• SSD drives and 60% faster processors than A series

DI-D4 range is for websites, general-purpose, everyday applications

• D11 -D14 range is the memory-intensive versions of that (large database)

Dv2 series:
• 2nd generation of D series

• 35% faster than the original D series

• DI _v2-D5_v2 range is for websites, general-purpose, everyday applications

• D11_v2-D15_v2 range is the memory-intensive versions of that (large database)


Pricing details and other is mentioned in below link.
Azure Windows VM Server Sizes - https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-windows-sizes

IaaS and VMS - https://blogs.technet.microsoft.com/yungchou/2010/12/28/cloud-computing-for-it-pros-36-windows-azure-computing-model/




What is an availability set? 

Two or more identical VMS running under a load balancer, 
such that if one fails, the others can pick up the load. 
Assigning VMS to an availability set will spread them across 
Fault Domains and Update Domains to ensure minimum accidental or required downtime. 

What is required in order for Microsoft's 99.95% uptime guarantee to be in place for a Virtual Machine? 
Two or more VMS running in an availability set 

What is a fault domain? 

A Fault Domain (FD) is essentially a rack of servers. If the entire rack fails (such as a power supply issue) 
all servers in that rack are affected. So you will want to spread your application across multiple fault domains. 

What is an update domain? 

A defined grouping of servers that can be updated as a set. 
So whenever you need to do an update to your application 
(or the underlying operating system), you update each update domain 
individually, and it will not bring down the application. 

What is the difference between the A-series VMS and the D—series? 

The A-series is for general purpose while the D-series has faster performance. 

G-series VM has Graphic Processor(GPU)

What does the designation represent in VM options (i.e. DS-series, FS—series, "-series)? 
S stands for "premium storage" which allows faster I/O access 


No comments:

Post a Comment