云片php
Google Compute Engine is a computing service in cloud where you can run large workloads at Google speed. You can spawn virtual machines, network them together and store and access data from variety of alternatives. The offering is ideal for high performance computing, processing large volumes of data and anything that needs raw computing power. In this edition of Cloud Slice we will check out what infrastructure is offered as of today and basic concepts of Google Compute Engine.
Google Compute Engine是云中的一项计算服务,您可以在其中以Google的速度运行大型工作负载。 您可以生成虚拟机,将它们联网在一起,并存储和访问来自各种替代方案的数据。 该产品非常适合高性能计算,处理大量数据以及任何需要原始计算能力的应用。 在此版本的Cloud Slice中,我们将检查到目前为止提供的基础架构以及Google Compute Engine的基本概念。
Google Compute Engine:您会获得什么引擎 (Google Compute Engine: What engines you get)
计算:虚拟机 (Computing: Virtual Machines)
Right now Google offers virtual machines of 1,2,4 and 8 cores on CentOS or Ubuntu platform. Each core has a maximum of 3.75GB memory. The OS and software on virtual machines can be customized as per your needs and you have root access on every virtual machine that you start.
目前,Google在CentOS或Ubuntu平台上提供1、2、4和8核的虚拟机。 每个内核最多具有3.75GB的内存。 可以根据需要自定义虚拟机上的OS和软件,并且您在启动的每个虚拟机上都具有root访问权限。
存储 (Storage)
Google Compute engine comes with some choices for storage which you can choose based on level of persistence you need. For data that is temporary in nature, you can store ephemerel disk on VM, this data will vanish with VM. If you would like to persist data for future use, your first choice is a persistent disk which is network connected to VM. The data is encrypted and replicated across multiple disks. The last option is to use Google Cloud Storage buckets to store your data. Overhead of maintaining keys on VM does not exist due to seamless authentication provided by Google.
Google Compute引擎提供了一些存储选择,您可以根据所需的持久性级别进行选择。 对于本质上是临时的数据,您可以将星历盘存储在VM上,该数据将随VM消失。 如果您要保留数据以备将来使用,则首选是永久性磁盘,该磁盘通过网络连接到VM。 数据被加密并跨多个磁盘复制。 最后一个选择是使用Google Cloud Storage存储桶来存储您的数据。 由于Google提供了无缝身份验证,因此不存在在VM上维护密钥的开销。
联网 (Networking)
A fully configurable network can be set up to connect multiple VMs to each other and static or dynamic IPs can be used to connect the VM or cluster to internet. Firewall is attached to network, which hosts all the rules with respect to access. Firewall can restrict or allow access based on rules that you set.
可以设置一个完全可配置的网络,以将多个VM相互连接,并且可以使用静态或动态IP将VM或群集连接到Internet。 防火墙连接到网络,该网络托管有关访问的所有规则。 防火墙可以根据您设置的规则限制或允许访问。
Google Compute Engine:基本概念 (Google Compute Engine: Basic Concepts)
Every virtual machine, network – firewall configuration and storage belongs to a project. Any of the resources from one project can not communicate with resources in other project. When you create any resource like a virtual machine or firewall, it is linked to a project that you specify while creating the resource. Within a project you can control access on resources by assigning roles to team members. Roles like viewer, editor and owner give various levels of access on resource.
每个虚拟机,网络–防火墙配置和存储都属于一个项目。 一个项目中的任何资源都无法与其他项目中的资源进行通信。 当您创建任何资源(如虚拟机或防火墙)时,它会链接到您在创建资源时指定的项目。 在项目内,您可以通过为团队成员分配角色来控制对资源的访问。 诸如查看者,编辑者和所有者之类的角色提供了对资源的各种访问级别。
访问 (Access)
Google Compute Engine provides a command line tool to access functionality as well a console. REST APIs is also exposed for programmatic access to various functions.
Google Compute Engine提供了一个命令行工具来访问功能以及一个控制台。 还公开了REST API,以编程方式访问各种功能。
结论 (Conclusion)
Google Compute Engine is a robust platform to create powerful virtual machines and get raw computing power to get things done. Although it is in beta, some of case studies have shown positive results. This would be an interesting space to watch and develop cool stuff around.
Google Compute Engine是一个强大的平台,可以创建功能强大的虚拟机并获得原始的计算能力来完成任务。 尽管它处于测试阶段,但一些案例研究显示出了积极的结果。 这将是一个有趣的空间,可用于观察和开发有趣的东西。
翻译自: https://www.sitepoint.com/cloud-slice-googlecomputeengine/
云片php