Lightsail和EC2有什么区别? [关闭]

本文翻译自:What is difference between Lightsail and EC2? [closed]

Recently Amazon launched Lightsail . 亚马逊最近推出了Lightsail Is there any difference between them? 它们之间有什么区别吗? If yes, then what's the difference? 如果是,那有什么区别? Are Lightsail instances more powerful than EC2? Lightsail实例比EC2更强大吗?


#1楼

参考:https://stackoom.com/question/2lj1x/Lightsail和EC-有什么区别-关闭


#2楼

In lightsail a virtual machine, SSD-based storage, data transfer, DNS management, and a static IP are all offered as a package. 在虚拟机中,基于SSD的存储,数据传输,DNS管理和静态IP都作为一个包提供。 Whereas in normal case you provision an EC2 instance and then setup the rest of these things.Also Bandwidth included in the price, no security groups to set up, no need to worry about EBS volumes sizing. 在正常情况下,您可以配置EC2实例,然后设置其余的这些东西。还有价格中包含的带宽,无需设置安全组,无需担心EBS卷大小。


#3楼

Testing¹ reveals that Lightsail instances in fact are EC2 instances, from the t2 class of burstable instances. Testing¹显示Lightsail实例实际上是来自t2 burstable实例的EC2实例。

EC2, of course, has many more instance families and classes other than the t2, almost all of which are more "powerful" (or better equipped for certain tasks) than these, but also much more expensive. 当然,EC2除了t2之外还有更多的实例系列和类,几乎所有实例系列和类都比这些更“强大”(或者更适合某些任务),但也更昂贵。 But for meaningful comparisons, the 512 MiB Lightsail instance appears to be completely equivalent in specifications to the similarly-priced t2.nano, the 1GiB is a t2.micro, the 2 GiB is a t2.small, etc. 但是为了进行有意义的比较,512 MiB Lightsail实例在规格上与同等价格的t2.nano完全相同,1GiB是t2.micro,2 GiB是t2.small等。

Lightsail is a lightweight, simplified product offering -- hard disks are fixed size EBS SSD volumes, instances are still billable when stopped, security group rules are much less flexible, and only a very limited subset of EC2 features and options are accessible. Lightsail是一种轻量级,简化的产品 - 硬盘是固定大小的EBS SSD卷,实例在停止时仍然可计费,安全组规则灵活性低得多,并且只能访问非常有限的EC2功能和选项子集。

It also has a dramatically simplified console, and even though the machines run in EC2, you can't see them in the EC2 section of the AWS console. 它还有一个大大简化的控制台,即使机器在EC2中运行,您也无法在AWS控制台的EC2部分看到它们。 The instances run in a special VPC, but this aspect is also provisioned automatically, and invisible in the console. 实例在特殊的VPC中运行,但此方面也是自动配置的,并且在控制台中不可见。 Lightsail supports optionally peering this hidden VPC with your default VPC in the same AWS region, allowing Lightsail instances to access services like EC2 and RDS in the default VPC within the same AWS account.² Lightsail支持在同一AWS区域中使用您的默认VPC选择对等隐藏的VPC,允许Lightsail实例在同一AWS账户内的默认VPC中访问EC2和RDS等服务.²

Bandwidth is unlimited, but of course free bandwidth is not -- however, Lightsail instances do include a significant monthly bandwidth allowance before any bandwidth-related charges apply.³ Lightsail also has a simplified interface to Route 53 with limited functionality. 带宽是无限的,但当然没有带宽 - 但是,在任何与带宽相关的费用适用之前,Lightsail实例确实包含了显着的每月带宽限制.³Lightail还具有Route 53的简化接口,功能有限。

But if those sound like drawbacks, they aren't. 但如果这些听起来像缺点,那么它们就不是。 The point of Lightsail seems to be simplicity. Lightsail的观点似乎很简单。 The flexibility of EC2 (and much of AWS) leads inevitably to complexity. EC2(以及AWS的大部分)的灵活性不可避免地导致复杂性。 The target market for Lightsail appears to be those who "just want a simple VPS" without having to navigate the myriad options available in AWS services like EC2, EBS, VPC, and Route 53. There is virtually no learning curve, here. Lightsail的目标市场似乎是那些“只想要一个简单的VPS”的人,而无需浏览EC2,EBS,VPC和Route 53等AWS服务中的各种选项。这里几乎没有学习曲线。 You don't even technically need to know how to use SSH with a private key -- the Lightsail console even has a built-in SSH client -- but there is no requirement that you use it. 您甚至在技术上都不需要知道如何使用SSH和私钥 - Lightsail控制台甚至有一个内置的SSH客户端 - 但是没有要求您使用它。 You can access these instances normally, with a standard SSH client. 您可以使用标准SSH客户端正常访问这些实例。


¹Lightsail instances, just like "regular" EC2 (VPC and Classic) instances, have access to the instance metadata service , which allows an instance to discover things about itself, such as its instance type and availability zone. ¹Lightail实例,就像“常规”EC2(VPC和Classic)实例一样,可以访问实例元数据服务 ,该服务允许实例发现自身的内容,例如实例类型和可用区。 Lightsail instances are identified in the instance metadata as t2 machines. Lightsail实例在实例元数据中标识为t2计算机。

²The Lightsail docs are not explicit about the fact that peering only works with your Default VPC , but this appears to be the case. ²Lightail文档并未明确指出对等仅适用于您的默认VPC ,但似乎是这种情况。 If your AWS account was created in 2013 or before, then you may not actually have a VPC with the "Default VPC" designation. 如果您的AWS账户是在2013年或之前创建的,那么您实际上可能没有具有“默认VPC”标识的VPC。 This can be resolved by submitting a support request, as I explained in Can't establish VPC peering connection from Amazon Lightsail (at Server Fault). 这可以通过提交支持请求来解决,正如我在无法从Amazon Lightsail建立VPC对等连接 (在服务器故障中)中所解释的那样。

³The bandwidth allowance applies to both inbound and outbound traffic; ³带宽限额适用于入站和出站流量; after this total amount of traffic is exceeded, inbound traffic continues to be free, but outbound traffic becomes billable. 超过此总流量后,入站流量将继续免费,但出站流量将变为可计费。 See "What does data transfer cost?" 请参阅“数据传输费用是多少?” in the Lightsail FAQ . Lightsail FAQ中


#4楼

Lightsail VPSs are bundles of existing AWS products, offered through a significantly simplified interface. Lightsail VPS是现有AWS产品的捆绑产品,通过显着简化的界面提供。 The difference is that Lightsail offers you a limited and fixed menu of options but with much greater ease of use. 不同之处在于Lightsail为您提供有限且固定的选项菜单,但更易于使用。 Other than the narrower scope of Lightsail in order to meet the requirements for simplicity and low cost, the underlying technology is the same. 除了Lightsail较窄的范围,以满足简单和低成本的要求,底层技术是相同的。

The pre-defined bundles can be described: 可以描述预定义的包:

% aws lightsail --region us-east-1 get-bundles
{
    "bundles": [
        {
            "name": "Nano",
            "power": 300,
            "price": 5.0,
            "ramSizeInGb": 0.5,
            "diskSizeInGb": 20,
            "transferPerMonthInGb": 1000,
            "cpuCount": 1,
            "instanceType": "t2.nano",
            "isActive": true,
            "bundleId": "nano_1_0"
        },
        ...
    ]
}

It's worth reading through the Amazon EC2 T2 Instances documentation, particularly the CPU Credits section which describes the base and burst performance characteristics of the underlying instances. 值得一读的是Amazon EC2 T2 Instances文档,特别是CPU Credits部分,它描述了底层实例的基本和突发性能特征。

Importantly, since your Lightsail instances run in VPC, you still have access to the full spectrum of AWS services, eg S3, RDS, and so on, as you would from any EC2 instance. 重要的是,由于您的Lightsail实例在VPC中运行,您仍然可以访问所有AWS服务,例如S3,RDS等,就像您从任何EC2实例那样。


#5楼

Amazon Lightsail – The Power of AWS, the Simplicity of a VPS https://aws.amazon.com/blogs/aws/amazon-lightsail-the-power-of-aws-the-simplicity-of-a-vps/ Amazon Lightsail - AWS的强大功能,VPS的简单性https://aws.amazon.com/blogs/aws/amazon-lightsail-the-power-of-aws-the-simplicity-of-a-vps/

Amazon EC2 vs Amazon Lightsail (comparison on point ) - Web Performances - Plans - Features and Usability Amazon EC2与Amazon Lightsail(点对点) - 网络性能 - 计划 - 功能和可用性 在此输入图像描述

Source : https://www.vpsbenchmarks.com/compare/features/ec2_vs_lightsail 资料来源: https//www.vpsbenchmarks.com/compare/features/ec2_vs_lightsail


#6楼

I think the lightsail as the name suggest is light weight and meant for initial development. 我认为正如名称所示,灯具重量轻,适合初步开发。 For production sites and apps with high volume it simply becomes unavailable and hangs....It is just a sandbox to play with things. 对于具有高容量的生产站点和应用程序,它只是变得不可用并且挂起......它只是一个玩沙子的东西。 Further lack of support reduces its reliability. 进一步缺乏支持会降低其可靠性。 There should be an option to migrate to EC2, when u fully develop your apps or sites..So that with same minimum configuration you can migrate to scalable EC2.. 当您完全开发应用程序或站点时,应该有一个迁移到EC2的选项。因此,使用相同的最低配置,您可以迁移到可扩展的EC2 ..

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值