The following cloud infrastructure mechanisms are described in this chapter:
--Logical Network Perimeter 逻辑网络边界
--Virtual Server 虚拟服务器
--Cloud Storage Device 云存储设备
--Cloud Usage Monitor 云使用监控
--Resource Replication 资源复制
--Ready-Made Environment 已就绪环境
they should be viewed as core components that are common to cloud platforms.
Defined as the isolation of ①a network environment from the rest of a communications network, ②the logical network perimeter establishes a virtual network boundary that can encompass and ③isolate a group of related cloud-based IT resources that may be physically distributed
逻辑网络边界被定义为将一个网络环境与通信网络的其他部分隔离开来。(逻辑网络是指一个单独的网络或一个子网)
成一个虚拟网络边界,包含并隔离了一组相关的基于云的IT资源(物理上可能是分布式的)
This mechanism can be implemented to:
1.isolate IT resources in a cloud from non-authorized users
与非授权用户隔离
2.isolate IT resources in a cloud from non-users
与非用户隔离
3.isolate IT resources in a cloud from cloud consumers
与云用户隔离
4.control the bandwidth that is available to isolated IT resources
控制被隔离IT资源的可用带宽(从 通讯路径角度)
Logical network perimeters are typically established via network devices that supply and control the connectivity of a data center
通常由提供和控制数据中心连接的网络设备来建立。
commonly deployed as virtualized IT environments that include:
Virtual Firewall(虚拟防火墙) – An IT resource that actively filters (过滤)network traffic to and from the isolated network while controlling its interactions with the Internet.
可以主动过滤被隔离网络的网络流量,并控制其与Internet的交互
Virtual Network (虚拟网络) – Usually acquired(形成) through VLANs, this IT resource isolates the network environment within the data center infrastructure.
用来隔离数据中心基础设施内的网络环境
A virtual server is a form of virtualization software that emulates a physical server.
虚拟服务器是一种模拟物理服务器的虚拟化软件。
As a commodity mechanism, the virtual server represents the most foundational building block of cloud environments. Each virtual server can host numerous IT resources, cloud-based solutions, and various other cloud computing mechanisms.
The number of instances a given physical server can share is limited by its capacity.
The cloud storage device mechanism
represents storage devices that are designed specifically for cloud-based provisioning.
云存储机制是指专门为基于云配置所设计的存储设备
1.Instances of these devices can be virtualized
可以被虚拟化
2.Cloud storage devices can be exposed for remote access via cloud storage services.通过云存储服务可以远程访问云存储设备
3.A primary concern related to cloud storage is the security, integrity, and confidentiality of data
4.LANs provide locally stored data with network reliability and latency levels that are superior to those of WANs.
Cloud storage device mechanisms provide common logical units of data storage:常见的数据存储逻辑单元
.Files (文件)– Collections of data are grouped into files that are located in folders.
2.Blocks(块) – The lowest level of storage and the closest to the hardware, a block is the smallest unit of data that is still individually accessible.
3.Datasets(数据集) – Sets of data are organized into a table-based, delimited, or record format.
4.Objects(对象) – Data and its associated metadata(元数据) are organized as Web-based resources.
Each of these data storage levels is commonly associated with a certain type of technical interface which corresponds to a particular type of cloud storage device and cloud storage service used to expose its API
每个数据存储等级通常都与某种类型的技术接口相关联,这个技术接口不仅与特定的云存储设备对应,还与显示其API的云存储服务对应。
Legacy(传统) network storage most commonly falls under the category of network storage interfaces. It includes storage devices in compliance(遵守)with industry standard protocols.
1.SCSI -- storage blocks and the server message block (SMB),
2.common Internet file system (CIFS) --用于网络设备间文件共享
3.network file system (NFS)-- for file and network storage.网络上与他人共享目录和文件
object storage---Various types of data can be referenced and stored as① Web resources. which is ②based on technologies that can support a range of data and media types.
- Object Storage Interfaces can is typically be accessed via REST or Web service-based cloud services using HTTP as the prime protocol.
通常可以通过以HTTP为主要协议的REST或者基于Web服务的云服务来访问
- The Storage Networking Industry Association’s Cloud Data Management Interface (SNIA’s CDMI) supports the use of object storage interfaces.
Cloud storage device mechanisms based on database storage interfaces typically support a query language in addition to basic storage operations.
除了支持基本存储操作外,通常还支持查询语言
Storage management is carried out using ①a standard API or ②an administrative user-interface.
通过标准API或管理用户接口来实现存储管理
This classification of storage interface is divided into two main categories according to storage structure:
Relational Data Storage 关系数据存储
Non-Relational Data Storage 非关系数据存储
1.Relational Data Storage 关系数据存储
Relational databases (or relational storage devices) rely on tables to organize similar data into rows and columns.
关系数据库依靠表格,将相似的数据组织为行列形式
Working with relational storage commonly involves the use of the industry standard Structured Query Language (SQL).
通常也要用到工业标准结构化查询语言SQL
A cloud storage device mechanism implemented using relational data storage could be based on any number of commercially available database products, such as IBM DB2, Oracle Database, Microsoft SQL Server, and MySQL.
可以以许多可用的商业数据库产品为基础
Challenges with cloud-based relational databases commonly pertain to scaling and performance.
基于云的关系数据库的挑战主要来自扩展和性能
2.Non-Relational Data Storage 非关系数据存储
it establishes a “looser” structure for stored data with less emphasis on defining relationships and realizing data normalization (数据规范).
The primary motivation for using non-relational storage is to avoid the potential complexity(复杂性)and processing overhead(负担) that can be imposed by relational databases.
non-relational storage can be more horizontally scalable than relational storage.
The cloud usage monitor mechanism is a lightweight and autonomous(自治的)software program responsible for collecting and processing IT resource usage data.
Three common agent-based implementation formats:
Monitoring Agent 监控代理
Resource Agent 资源代理
Polling Agent 轮询代理
一个中间的事件驱动程序,它作为服务代理驻留在已有通信路径上,对数据流进行透明的监控和分析。
This type of cloud usage monitor is commonly used to measure network traffic and message metrics(指标)
A cloud service consumer sends a request message to a cloud service (1).
The monitoring agent intercepts the message to collect relevant usage data (2) before allowing it to continue to the cloud service (3a). The monitoring agent stores the collected usage data in a log database (3b). The cloud service replies with a response message (4) that is sent back to the cloud service consumer without being intercepted by the monitoring agent (5).
This module is used to monitor usage metrics based on pre-defined, observable events at the resource software level, such as initiating, suspending, resuming, and vertical scaling.
它在资源软件级上,监控预定义的且可观测事件的使用指标,比如:启动、暂停、恢复和垂直扩展。
The resource agent is actively monitoring a virtual server and detects an increase in usage (1). The resource agent receives a notification from the underlying resource management program that the virtual server is being scaled up and stores the collected usage data in a log database, as per its monitoring metrics (2).
This type of cloud service monitor is commonly used to periodically monitor IT resource status, such as uptime and downtime .
它通常被用于周期性地监控IT资源状态,比如正常运行时间与停机时间。
A polling agent monitors the status of a cloud service hosted by a virtual server by sending periodic polling request messages and receiving polling response messages that report usage status “A” after a number of polling cycles, until it receives a usage status of “B” (1), upon which the polling agent records the new usage status in the log database (2).
被定义为对同一个IT资源创建多个实例。通常在需要加强IT资源的可用性和性能时执行。
Virtualization technology is used to implement the resource replication mechanism to replicate(复制 ) cloud-based IT resources .
These environments are utilized by cloud consumers to remotely develop and deploy their own services and applications within a cloud.
Typical ready-made environments include pre-installed IT resources, such as databases, middleware, development tools, and governance tools.
典型的已就绪环境包括预安装的IT资源,如数据库、中间件、开发工具和管理工具。
A ready-made environment is generally equipped with a complete software development kit (SDK)
已就绪环境通常配备一套完整的软件开发工具包。
Middleware is available for multitenant platforms to support the development and deployment of Web applications.
中间件用于多租户平台,支持开发和部署Web应用程序。
个人博客本文地址:https://kohler19.gitee.io/2022/03/31/cloud-computing5/
欢迎关注公众号“愚生浅末”
这里是Ruby新手。完成一些练习后碰壁了。练习:计算一系列成绩的字母等级创建一个方法get_grade来接受测试分数数组。数组中的每个分数应介于0和100之间,其中100是最大分数。计算平均分并将字母等级作为字符串返回,即“A”、“B”、“C”、“D”、“E”或“F”。我一直返回错误:avg.rb:1:syntaxerror,unexpectedtLBRACK,expecting')'defget_grade([100,90,80])^avg.rb:1:syntaxerror,unexpected')',expecting$end这是我目前所拥有的。我想坚持使用下面的方法或.join,
项目介绍随着我国经济迅速发展,人们对手机的需求越来越大,各种手机软件也都在被广泛应用,但是对于手机进行数据信息管理,对于手机的各种软件也是备受用户的喜爱小学生兴趣延时班预约小程序的设计与开发被用户普遍使用,为方便用户能够可以随时进行小学生兴趣延时班预约小程序的设计与开发的数据信息管理,特开发了小程序的设计与开发的管理系统。小学生兴趣延时班预约小程序的设计与开发的开发利用现有的成熟技术参考,以源代码为模板,分析功能调整与小学生兴趣延时班预约小程序的设计与开发的实际需求相结合,讨论了小学生兴趣延时班预约小程序的设计与开发的使用。开发环境开发说明:前端使用微信微信小程序开发工具:后端使用ssm:VU
我对如何计算通过{%assignvar=0%}赋值的变量加一完全感到困惑。这应该是最简单的任务。到目前为止,这是我尝试过的:{%assignamount=0%}{%forvariantinproduct.variants%}{%assignamount=amount+1%}{%endfor%}Amount:{{amount}}结果总是0。也许我忽略了一些明显的东西。也许有更好的方法。我想要存档的只是获取运行的迭代次数。 最佳答案 因为{{incrementamount}}将输出您的变量值并且不会影响{%assign%}定义的变量,我
给定一个nxmbool数组:[[true,true,false],[false,true,true],[false,true,true]]有什么简单的方法可以返回“该列中有多少个true?”结果应该是[1,3,2] 最佳答案 使用转置得到一个数组,其中每个子数组代表一列,然后将每一列映射到其中的true数:arr.transpose.map{|subarr|subarr.count(true)}这是一个带有inject的版本,应该在1.8.6上运行,没有任何依赖:arr.transpose.map{|subarr|subarr.in
给定两个大小相等的数组,如何找到不考虑位置的匹配元素的数量?例如:[0,0,5]和[0,5,5]将返回2的匹配项,因为有一个0和一个5共同;[1,0,0,3]和[0,0,1,4]将返回3的匹配项,因为0有两场,1有一场;[1,2,2,3]和[1,2,3,4]将返回3的匹配项。我尝试了很多想法,但它们都变得相当粗糙和令人费解。我猜想有一些不错的Ruby习惯用法,或者可能是一个正则表达式,可以很好地回答这个解决方案。 最佳答案 您可以使用count完成它:a.count{|e|index=b.index(e)andb.delete_at
Ruby中如何“一般地”计算以下格式(有根、无根)的JSON对象的数量?一般来说,我的意思是元素可能不同(例如“标题”被称为其他东西)。没有根:{[{"title":"Post1","body":"Hello!"},{"title":"Post2","body":"Goodbye!"}]}根包裹:{"posts":[{"title":"Post1","body":"Hello!"},{"title":"Post2","body":"Goodbye!"}]} 最佳答案 首先,withoutroot代码不是有效的json格式。它将没有包
目标我正在尝试计算自给定日期以来周的距离,而无需跳过任何步骤。我更喜欢用普通的Ruby来做,但ActiveSupport无疑是一个可以接受的选择。我的代码我写了以下内容,这似乎可行,但对我来说似乎还有很长的路要走。require'date'DAYS_IN_WEEK=7.0defweeks_sincedate_stringdate=Date.parsedate_stringdays=Date.today-dateweeks=days/DAYS_IN_WEEKweeks.round2endweeks_since'2015-06-15'#=>32.57ActiveSupport的#weeks
技术选型1,前端小程序原生MINA框架cssJavaScriptWxml2,管理后台云开发Cms内容管理系统web网页3,数据后台小程序云开发云函数云开发数据库(基于MongoDB)云存储4,人脸识别算法基于百度智能云实现人脸识别一,用户端效果图预览老规矩我们先来看效果图,如果效果图符合你的需求,就继续往下看,如果不符合你的需求,可以跳过。1-1,登录注册页可以看到登录页有注册入口,注册页如下我们的注册,需要管理员审核,审核通过后才可以正常登录使用小程序1-2,个人中心页登录成功以后,我们会进入个人中心页我们在个人中心页可以注册人脸,因为我们做人脸识别签到,需要先注册人脸才可以进行人脸比对,进
如何计算两个字符串之间的字符交集?例如(假设我们有一个名为String.intersection的方法):"abc".intersection("ab")=2"hello".intersection("hallo")=4好的,男孩女孩们,感谢你们的大量反馈。更多示例:"aaa".intersection("a")=1"foo".intersection("bar")=0"abc".intersection("bc")=2"abc".intersection("ac")=2"abba".intersection("aa")=2一些补充说明:维基百科定义intersection如下:Int
给定一个包含各种语言字符的UTF-8文件,我如何计算它包含的唯一字符的数量,同时排除选定数量的符号(例如:“!”、“@”、"#",".")从这个算起? 最佳答案 这是一个bash解决方案。:)bash$perl-CSD-ne'BEGIN{$s{$_}++forsplit//,q(!@#.)}$s{$_}++||$c++forsplit//;END{print"$c\n"}'*.utf8 关于python-如何计算文件中唯一字符的数量?,我们在StackOverflow上找到一个类似的问题