在AWS2019技术峰会上,亚马逊中国总裁、AWS全球副总裁兼大中华区执行董事张文翊在介绍AWS时表示,AWS是技术领导者的云,每年都会推出多项新服务和功能来满足客户需求,其中2018年AWS就推出1957项新服务和功能。可见亚马逊成为主导的云平台是有原因的。
尽管亚马逊占据主导地位,但它也有强大的竞争对手,Azure和谷歌云就是其中的佼佼者。他们不仅在商品产品上与AWS竞争,实际上也是做得很好。然而,亚马逊凭着技术上的不断进取,仍然保持了全球公有云领导者的地位。
那么,又是哪些技术使得AWS立于不败之地的呢?2018年Info World发布了彼得·韦恩的论文: 11 ways AWS beats Azure and Google Cloud,文中论述了AWS击败Azure和谷歌云的11种方式。做为一个云从业者,笔者对该文中提及的8个服务产品更有兴趣,特将其挑选出来,介绍给大家。
1、EC2 SPOT 实例
如果你想要一个新实例,而且现在就想要,AWS会提供一个列表价格。但如果你想尽量少花钱,工作又不紧急,你可以在亚马逊的SPOT市场出价,那里的价格会根据需求上下浮动。是的,这个是有点痛苦,你必须确保有一个足够高的出价,但如果你愿意投入时间,可以放心,你将得到市场的出清价格。其他云服务提供商会为大量使用提供折扣,但亚马逊让市场找到了真正的底部。在假期的某个深夜,价格可能会比以往任何时候都低,你的应用将从SPOT上获得巨大利益。
2、Amazon Aurora
对于程序员来说,Amazon Aurora看起来就像是MySQL或PostgreSQL。您可以选择语法,在底层,Aurora将把数据存储在一个快速的、基于SSD的虚拟存储层中。这本身就是一个聪明的想法,可以让程序员使用他们喜欢的开源SQL版本。
还有更神奇的,因为Aurora将您的数据分布在多个区域的多台机器上。您的数据被分散在三个不同区域的数百个存储节点之间,以确保可靠性和访问速度。现在,Aurora可以在所有的存储节点上执行并行查询,以加快访问速度,有时速度会非常快。
3、AWS Cost Explorer
云变得如此流行,以至于许多第三方供应商都提供了审计和优化AWS使用的工具。他们会浏览你的云库存,把每个月累积起来的足够多的脂肪切掉,以证明他们的存在。亚马逊意识到这一切变得多么复杂,公司正在推动更新更好的界面来理解账单。AWS Cost Explorer提供了一个仪表板,可以跟踪您过去的使用情况,甚至可以尝试预测您未来的账单。
4、Snowmobile
如果"大数据"中的"大"对你来说意味着接近100PB,那么互联网将不是你移动数据的选择。对于发送一封电子邮件,甚至上传一个只有几M字节数据的zip文件,它可能工作得很好,但主干不适合移动一些巨大的数据集,因为它们太大了。
亚马逊推出Snowmobile是因为,在带宽方面,没有什么能比得上装满磁盘驱动器的集装箱。Amazon将驱动Snowmobile到您的数据中心,这样您就可以开始以本地网络的速度导入数据。当它满了以后,亚马逊会把它带到全国各地的数据中心,同时用GPS跟踪它的移动,以确保它不会迷路。在另一端,它将把信息导入S3或Glacier。
如果你只需要移动1PB左右,亚马逊还会制作一个更小的盒子,叫做"雪球"(Snowball),公司会把这个盒子寄给你,就像你从亚马逊买的那个装满书籍、衣服或其他东西的盒子一样。
5、免费的游戏引擎
你在开发游戏吗?你可以与一个著名的独立游戏引擎签订合同,也可以选择亚马逊自己的Lumberyard,一个免费的游戏引擎。如果这听起来好得让人难以置信,亚马逊在Lumberyard的FAQ中回答了你的质疑:"当你使用其他AWS服务来推动你的游戏时,我们便能够赚钱。"换句话说,只有当你的用户出现并开始增加AWS机器的负载时,你才需要付费。目前还不清楚这是不是一笔好生意,因为成本都隐藏在每毫秒机器时间的费用中,但是你总可以合理地说,无论如何你都需要服务器时间。
6、AWS Lambda
AWS Lambda最初是一个可爱的想法,它是一种简单的shell脚本,可以将云中的所有操作粘合在一起。用户很快转向Lambda的无服务器函数来处理偶尔出现的计算任务,因为它比为偶尔到来的工作分配一台机器要高效得多。它可以是一个每晚运行一次的后台进程,可以是您的微服务体系结构的一个不常使用的角落,也可以只是一个博客,上面满是您的抱怨,但还没有找到它的受众。
最终,人们意识到Lambda对于更复杂的后台处理是理想的,特别是那些偶尔运行的后台处理。如果服务器闲置的时间比工作的时间长,那么切换到没有服务器的模式可以节省大量的金钱。如果您的处理是零星的,Lambda可能是在云中托管一些重要作业的最便宜的方式。
7、Alexa的业务
Alexa是一个有趣的玩具。这是一份很棒的礼物,尤其是对于那些不懂技术的人来说。Alexa 为用户提供了一种自然而直观的方式来与他们每天使用的技术进行交互。Alexa Skills 创建了个性化的体验,并且允许 Alexa 执行更多功能,现在已为用户提供了数以万计的技能。Alexa for Business 可以为用户提供各种工具来管理工作中的 Alexa 设备、注册用户,以及大规模分配技能。
亚马逊一直在建设办公管理的基础设施,比如预订会议室。即使是精通技术的人也会喜欢发出命令,而不是试图找出正确的URL并登录以获得正确的权限来做任何事情。Alexa for Business将是你安静的办公室助理,倾听你在办公室里说的每一句话。
8、基于浏览器的开发
虽然Amazon继续支持许多开发人员仍然喜欢的命令行开发,但它也在探索将浏览器转换为AWS云的IDE的方法。Amazon购买了Cloud9,这是一个基于浏览器的代码编辑器,并将它放在一个工具集群中,用于管理您使用它编写的所有代码的部署。当您构建Lambda函数时,您可以在浏览器中直接执行,而无需下载任何内容。还有一些所谓的"无代码"选项,比如GraphQL API builder,它允许您只需单击几下就可以构建API。很快你就可以在看猫咪视频的浏览器里做几乎所有的事情了。
这些产品是不是很有趣?AWS的服务总是给人耳目一新的感觉,不断的创新给AWS注入了活力,这也是其保持不败地位的主要原因。同时,这也是我们在不断学习AWS的主要原因,您是不是也开始有了一些兴趣?
At the AWS 2019 Technical Summit, Zhang Wenyi, President of Amazon China, AWS Global Vice President and Executive Director of Greater China, stated when introducing AWS that AWS is the cloud for technology leaders, launching multiple new services and features every year to meet customer needs. In 2018 alone, AWS launched 1,957 new services and features. It's clear that Amazon has become the dominant cloud platform for good reasons.
Despite Amazon's dominant position, it has strong competitors, with Azure and Google Cloud being among the leaders. They not only compete with AWS on commodity products but actually do quite well. However, Amazon has maintained its position as the global public cloud leader through continuous technological advancement.
So what technologies make AWS invincible? In 2018, Info World published Peter Wayner's paper: "11 ways AWS beats Azure and Google Cloud," which discussed 11 ways AWS beats Azure and Google Cloud. As a cloud practitioner, I am more interested in the 8 service products mentioned in the article, so I have selected them to introduce to you.
1. EC2 SPOT Instances
If you want a new instance and want it now, AWS offers a list price. But if you want to spend as little as possible and the work isn't urgent, you can bid on Amazon's SPOT market, where prices fluctuate based on demand. Yes, this is a bit painful - you have to ensure a high enough bid, but if you're willing to invest time, you can rest assured you'll get the market clearing price. Other cloud providers offer discounts for high-volume use, but Amazon lets the market find the true bottom. Late at night during the holidays, prices might be lower than ever, and your application will benefit greatly from SPOT.
2. Amazon Aurora
For programmers, Amazon Aurora looks just like MySQL or PostgreSQL. You can choose your syntax, and underneath, Aurora stores data in a fast, SSD-based virtual storage layer. This in itself is a clever idea that lets programmers use their preferred open-source SQL version.
Even more amazing, Aurora distributes your data across multiple machines in multiple regions. Your data is spread across hundreds of storage nodes in three different regions to ensure reliability and access speed. Now, Aurora can execute parallel queries on all storage nodes to speed up access, sometimes very fast.
3. AWS Cost Explorer
Cloud has become so popular that many third-party vendors offer tools to audit and optimize AWS usage. They'll browse your cloud inventory and cut enough accumulated fat each month to justify their existence. Amazon realized how complex this has become, and the company is pushing for newer and better interfaces to understand billing. AWS Cost Explorer provides a dashboard that tracks your past usage and even attempts to predict your future bills.
4. Snowmobile
If "big" in "big data" means close to 100PB for you, then the internet is not your choice for moving data. For sending an email or even uploading a zip file with just a few megabytes of data, it might work fine, but the backbone isn't suitable for moving some huge datasets because they're too large.
Amazon launched Snowmobile because, in terms of bandwidth, nothing beats a shipping container full of disk drives. Amazon will drive the Snowmobile to your data center so you can start importing data at local network speeds. When it's full, Amazon will take it to data centers across the country, tracking its movement with GPS to ensure it doesn't get lost. At the other end, it will import the information into S3 or Glacier.
If you only need to move about 1PB, Amazon also makes a smaller box called "Snowball," which the company will ship to you just like the box full of books, clothes, or other things you bought from Amazon.
5. Free Game Engine
Are you developing a game? You can sign a contract with a famous independent game engine or choose Amazon's own Lumberyard, a free game engine. If this sounds too good to be true, Amazon answered your doubts in Lumberyard's FAQ: "We make money when you use other AWS services to power your game." In other words, you only pay when your users show up and start adding load to AWS machines. It's not clear if this is a good deal because costs are hidden in the per-millisecond machine time charges, but you can reasonably argue that you need server time anyway.
6. AWS Lambda
AWS Lambda started as a cute idea - a simple shell script that could glue together all operations in the cloud. Users quickly turned to Lambda's serverless functions to handle occasional computing tasks because it was much more efficient than allocating a machine for occasionally arriving work. It could be a background process that runs once a night, an infrequently used corner of your microservices architecture, or just a blog full of your complaints that hasn't found its audience yet.
Eventually, people realized that Lambda is ideal for more complex background processing, especially those that run occasionally. If the server sits idle longer than it works, switching to serverless mode can save a lot of money. If your processing is sporadic, Lambda might be the cheapest way to host some important jobs in the cloud.
7. Alexa for Business
Alexa is an interesting toy. It's a great gift, especially for those who aren't tech-savvy. Alexa provides users with a natural and intuitive way to interact with the technology they use every day. Alexa Skills create personalized experiences and allow Alexa to perform more functions, with tens of thousands of skills now available to users. Alexa for Business provides various tools for users to manage Alexa devices at work, register users, and distribute skills at scale.
Amazon has been building office management infrastructure, such as booking conference rooms. Even tech-savvy people will appreciate giving commands rather than trying to find the right URL and log in to get the right permissions to do anything. Alexa for Business will be your quiet office assistant, listening to everything you say in the office.
8. Browser-based Development
While Amazon continues to support command-line development that many developers still prefer, it's also exploring ways to transform browsers into an IDE for the AWS cloud. Amazon purchased Cloud9, a browser-based code editor, and placed it in a tool cluster to manage the deployment of all the code you write with it. When you build Lambda functions, you can execute them directly in the browser without downloading anything. There are also so-called "no-code" options, like the GraphQL API builder, which lets you build APIs with just a few clicks. Soon you'll be able to do almost everything in the browser while watching cat videos.
Are these products interesting? AWS services always feel fresh, and continuous innovation injects vitality into AWS, which is the main reason it maintains its undefeated position. This is also the main reason we keep learning about AWS. Have you started to become interested too?