当前位置 : 主页 > 编程语言 > 其它开发 >

Azure 基础知识简介

来源:互联网 收集:自由互联 发布时间:2022-05-30
开篇 - Azure 基础知识简介 目录 开篇 - Azure 基础知识简介 1. 背景介绍 2. 题外话 3. 思维导图 4. 什么是云计算 4.1 为什么云通常使用起来更便宜? 4.2 为什么要使用云计算? 5. 什么是 Azu
开篇 - Azure 基础知识简介

目录
  • 开篇 - Azure 基础知识简介
    • 1. 背景介绍
    • 2. 题外话
    • 3. 思维导图
    • 4. 什么是云计算
      • 4.1 为什么云通常使用起来更便宜?
      • 4.2 为什么要使用云计算?
    • 5. 什么是 Azure
      • 5.1 Azure 提供了什么样的能力
      • 5.2 Azure 是如何工作的
        • 虚拟化技术与 Hypervisor
        • 数据中心
        • Fabric Controller 与 Orchestrator
        • 响应用户的请求
    • 6. Azure 服务分类
    • 7. Azure 账户
    • 8. 文章小结
    • 9. 英文短语总结

1. 背景介绍

在当下的技术体系中,云计算早已经成了实实在在的基础设施。如同家庭里面每个月会收到水电费账单一样,云计算也具化成了按服务时长收费的一张张“云账单”,计入到各个企业的 IT 成本中。国外三朵云(AWS, Microsoft Azure, Google Cloud)开拓市场多年,站稳了云市场的头三把交椅,国内阿里云、腾讯云、华为云也迎头赶上,热闹非凡,甚至每年还参与双十一大促这样的活动。

作为一个开发者,或多或少可能会接触到公司里面的一些云服务。但是基于云计算推出的各种服务让人应接不暇,似乎很难去理清楚云计算的本质或者全貌到底是什么。本着对云计算有一个全面而系统的认识的目的,也为了更贴近以后的云原生开发的趋势,我想到了要去从零开始了解下云计算的全貌。

而了解云计算全貌最好的办法就是选一个合适的云平台,从基础概念到实践一步步往下走。国外的云平台里面,AWS 是市场领导者,技术实力也很雄厚,同时提供了丰富的 Tutorial,是很好的学习对象。Google Cloud 需要 Surfing Internet Scientifically,对国内的用户不太友好。微软的 Azure 平台是 AWS 的有力竞争者,不少Fortune 500 公司将他们的服务跑在了 Azure 上。此外,Microsoft Learn 提供了关于 Azure 的系列教程,以及备考 Azure Solutions Architect Expert 的课程,个人感觉从基础概念到实战都很全面,所以目前选择了 Microsoft Azure 作为学习云计算的基础平台。

Microsoft Learn 里面由不同的 Path,每个 Path 都由相应的一些 Module 构成。这样模块化的拆分比较容易建立完整的认知和知识体系。

我开始 Azure 之旅的第一个学习路径是《Azure 基础知识》,它由六个部分组成:

  • 第一部分:介绍 Azure 核心概念
  • 第二部分:介绍 Azure 核心服务
  • 第三部分:介绍 Azure 上的核心解决方案和管理工具
  • 第四部分:介绍常见安全性和网络安全功能
  • 第五部分:介绍标识、治理、隐私和合规性功能
  • 第六部分:介绍 Azure 成本管理和服务级别协议

本文是零基础学习微软 Azure 的第一篇,主要回顾了《第一部分:介绍 Azure 核心概念》中的 Azure 基础知识简介 模块。本篇内容的学习网址 Introduction to Azure fundamentals - Learn | Microsoft Docs

2. 题外话

Microsoft Learn 可以选择不同的语言,鉴于学习内容本身就是用英语完成的,同时中文翻译可能存在机器翻译不通讯的问题,更推荐使用英文来学习

我自己学完英文的第一个模块,感觉不是那种干巴巴的技术文档,而是很用心的学习指南,里面有很多案例和 native 表达方式,对提升英语也是极好的。

随便举个栗子:如何用短语表达很多?

可能很多人第一想到的是 a lot of, many,再多可能就想不起来了。。。

看看人家为了形容 Azure 提供的服务之多,是怎么说的:

  • Microsoft Azure has such an extensive array of services and features, how can you wrap your head around them all?

  • Microsoft Azure offers a wide array of Cloud Computing services.

  • You can create virtual machines from scratch, upload your own virtual hard drive, or choose from an array of templates that Azure provides.

这里多次用到的 an array of 用来形容大量的,是比 a lot of 更高级的表达。时间久了,你可能记不住这三个句子说了啥,但至少你的字典里多了 an array of 这个词儿。所以我在每篇文章的最后也会尝试去总结一些地道的短语或句子,积少成多嘛。

  • 英文链接 英文 Microsoft Learn | Microsoft Docs

  • 中文链接 中文 Microsoft Learn | Microsoft Docs

3. 思维导图

image

4. 什么是云计算

简单来说,云计算就是通过互联网来提供的计算服务,这些服务包括了服务器、存储、网络、软件、分析、智能。

4.1 为什么云通常使用起来更便宜?

跟自建IT基础设施相比,云计算有如下优势:

  • 降低了运营成本
  • 更高效地运行基础设置
  • 根据企业的需求扩缩容

云计算是一种从其他人的数据中心租用计算能力和存储的方法,通常你只需要为你使用的资源付费。

4.2 为什么要使用云计算?

目前的数字化社会呈现出的两大趋势

  • 团队以越来越快的速度向用户推出新功能,这意味着软件的发布周期越来越短

  • 在使用设备和软件时,用户期望越来越丰富和沉浸式的体验,这在过去很难做到

传统的 IT 解决方案越来越难以应对这样的趋势,而云计算使得上述改变称为可能。

5. 什么是 Azure

Azure 是微软云计算平台,提供了一系列的云服务(100+),包括云上的虚拟机服务、网站和数据库托管服务、以及人工智能、机器学习和IoT等高级计算服务。

Azure 同时支持公有云和私有云,也支持 IAAS,PAAS,SAAS 基础设施。

5.1 Azure 提供了什么样的能力

image

  • 虚拟机云托管 (Azure allows you to host virtual machines in the cloud)
  • 云存储 (Cloud-based storage, which allows you to store your application or backup data safely and securely.)
  • Azure Web Services 托管Web服务 (Azure Web Services provide a scalable hosting platform where developers can create web-based applications using popular development frameworks.)
  • Azure 函数,用于可创建基于事件的无服务应用 (With Azure Functions, you can create event-driven, serverless applications with no coding required.)
  • Azure Container Instances and Azure Kubernetes Service,用于部署容器化服务 (Azure Container Instances and Azure Kubernetes Service allow you to deploy containerized applications with fully managed services.)
  • 全托管的数据库 (Azure offers a choice of fully managed relational and in-memory databases, spanning proprietary and open-source engines. Microsoft Cosmos DB provides support for several NoSQL APIs.)
  • Azure 人工智能和机器学习服务,用于快速创建,训练、部署模型 (Azure's artificial intelligence and machine learning services empower developers and data scientists with a wide range of productive environments for building, training and deploying machine learning models faster.)
  • Azure 门户,提供了基于统一管理入口 (The Azure Portal lets you create, configure and control all your services and resources from a single, easy to use web-based interface.)
  • 基础设施管理、可伸缩性、可用性和安全性的管理 (Microsoft Azure offers a wide array of cloud computing services where infrastructure management, scalability, availability, and security are handled for you.)
5.2 Azure 是如何工作的

How does Azure work? - Cloud Adoption Framework | Microsoft Docs

虚拟化技术与 Hypervisor
  • Azure 使用了虚拟化技术 (Azure uses a technology known as virtualization)

    image

  • 虚拟化技术通过添加一层 Hypervisor 的抽象,来解耦计算机的硬件和操作系统 (Virtualization separates the tight coupling between a computer's hardware and its operating system. using an abstraction layer called a hypervisor.)

    image

  • 在虚拟机里面,Hypervisor 模拟了真实计算机的功能和CPU (The hypervisor emulates all the functions of a real computer and its CPU in a virtual machine, optimizing the capacity of the obstructed hardware. )

    image

数据中心
  • Azure 将虚拟化技术用到了微软全球的数据中心里面 (Azure takes this virtualization technology and repeats it on a massive scale in Microsoft data centers throughout the world.)

image

  • 每个数据中心都是有一个小型机架,机架由多个服务器所构成。每个服务器都安装了 Hypervisor 可运行多个虚拟机。 (Each data center has a mini racks filled with servers, and each server includes a hypervisor to run multiple virtual machines.)

    image

Fabric Controller 与 Orchestrator
  • 网络交换机提供了各个服务器之间的连通性。 (A network switch provides connectivity to all those servers. )

  • 每个机架上都运行了一个叫做 Fabric Controller 的软件 (One server in each rack runs a special piece of software called a fabric controller. )

  • 每个 Fabric Controller 连接了一个 Orchestrator 的软件,它负责管理 Azure 中的所有事务 (Each fabric controller is connected to another special piece of software known as the Orchestrator. The Orchestrator is responsible for managing everything that happens in Azure, including responding to user requests.)

    image

响应用户的请求
  • 用户一般通过 Orchestrator 的 Web API 建立请求 (Users make requests using the Orchestrator's Web API.)

  • 通常用户是在 Azure Portal 里面来调用 Web API 的 (The Web API can be called by many tools, including the user interface of the Azure Portal.)

  • Orchestrator 收到了用户创建虚拟机的请求,打包好请求数据后,选出了最适合的机架,将请求和数据包发给 fabric controller (When a user makes a request to create a virtual machine, the orchestrator packages everything that's needed. Picks the best server rack and then sends the package and request to the fabric controller. )

    image

  • fabric controller 负责创建虚拟机,一旦创建完成,用户便可以去连接。 (Once the fabric controller has created the virtual machine, the user can connect to it. )

image

6. Azure 服务分类

image

Azure 服务可以分为10大类

  • Compute: 计算服务通常是一些公司迁移到 Azure 云平台的主要原因。主要包括 Azure Virtual Machines, Azure Virtual Machine Scale Sets, Azure Kubernetes Service, Azure Service Fabric, Azure Batch, Azure Container Instances, Azure Functions.
  • Networking: 用于连接计算资源以及提供应用访问功能。主要包括 Azure Virtual Network, Azure Load Balancer, Azure Application Gateway, Azure VPN Gateway, Azure DNS, Azure Content Delivery Network, Azure DDoS Protection, Azure Traffic Manager, Azure ExpressRoute, Azure Network Watcher, Azure Firewall, Azure Virtual WAN.
  • Storage: 存储服务,主要包括:Azure Blob storage, Azure File storage, Azure Queue storage, Azure Table storage
  • Mobile: 用于创建移动端后端服务。
  • Databases: 数据库服务,主要包括:Azure Cosmos DB, Azure SQL Database, Azure Database for MySQL, Azure Database for PostgreSQL, SQL Server on Azure Virtual Machines, Azure Synapse Analytics, Azure Database Migration Service, Azure Cache for Redis, Azure Database for MariaDB
  • Web: 创建和托管 web 应用于服务,包含了Azure App Service, Azure Notification Hubs, Azure API Management, Azure Cognitive Search, Web Apps feature of Azure App Service, Azure SignalR Service
  • IoT: 包括了 IoT Central, Azure IoT Hub, IoT Edge. Now the internet allows any item that's online-capable to access valuable information. This ability for devices to garner and then relay information for data analysis is referred to as IoT.
  • Big Data: Azure supports a broad range of technologies and services to provide big data and analytic solutions. 包含了 Azure Synapse Analytics, Azure HDInsight, Azure Databricks
  • AI: 云计算场景下的 AI 主要围绕机器学习服务,包含了 Azure Machine Learning Service, Azure ML Studio, Cognitive Services (Vision, Speech, Knowledge Mapping, Bing Search, Natural Language Processing)
  • DevOps: 包括了 Azure DevOps, Azure DevTest Labs
7. Azure 账户

在处理自己的应用程序和业务需求时,需要创建一个 Azure 帐户。同时,系统会创建一个订阅。

创建 Azure 帐户后,可以创建其他订阅。

image

一般有以下三种方式来创建免费账户

  • 可以创建免费账户 Azure free account
  • 可以创建学生免费账户 Free account for Students
  • Microsoft Learn 临时账户 Create an Azure account module on Learn.
8. 文章小结

本篇文章首先介绍了什么是云计算以及使用云计算的动因。

接着描述了微软的 Azure 云计算平台及其提供的各种服务能力,同时简要介绍了 Azure 的底层是如何工作的。

最后提到了如何使用免费的账户来体验 Azure 服务。

9. 英文短语总结

用于描述数量很多: a wealth of... 或者 an array of...

  • Azure provides a wealth of cloud-based services.

  • Microsoft Azure has such an extensive array of services and features

  • Microsoft Azure offers a wide array of Cloud Computing services.

  • Choose from an array of templates that Azure provides.

为 ... 打下坚实的基础

  • gain a solid foundation for...

在不断变化的数字世界中,出现了两种趋势

  • In our ever-changing digital world, two trends emerge.

如果让你介绍一下现在的人和电子设备是怎么交互的,该怎么说呢?

  • Think of all the ways you interact with devices that you couldn't do a few years ago.

  • Many devices can recognize your face and respond to voice commands.

  • Augmented reality changes the way you interact with the physical world.

  • Household appliances are even beginning to act intelligently. 家用电器甚至也开始智能化了。

涵盖了... spans ...

The solution catalog spans several industry categories such as ...

网友评论