请解释什么是 Amazon EC2,以及我可以将其用作 Web 托管服务吗?

发布于 2024-07-23 04:50:24 字数 1542 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

忘年祭陌 2024-07-30 04:50:24

EC2 是一种云计算服务。 本质上,您启动一​​个在亚马逊云中的节点计算机上激活的映像。

我想购买 Amazon EC2 实例,是否可以将其用作 Web 主机? 就像其他标准网络主机所做的那样。 是否推荐用于网络托管?

对的,这是可能的。 可以推荐用于网络托管,但我相信对于小型网站来说,这是多余的。

它真的比其他托管服务商提供的便宜吗?

它属于高端产品,最低费用为每月 50 美元。 虽然它在高端应该是经济的。

还有其他几种类似于 EC2 的产品。 您可能想尝试 Google AppEngine 和其他一些在线应用。

EC2 is a cloud computing service. Essentially, you boot up an image which is activated at a node computer in the Amazon cloud.

I want to buy an Amazon EC2 instance, is it possible to use it as a web host? Like what other standard web host do. Is it recommended for web hosting?

Yes it is possible. It could be recommended for web hosting, but I believe for small sites, it is overkill.

Is it really cheaper than what other hosters provide?

Its on the high end with a minimum cost of $50/month. Though it is supposed to be economical on the high-end.

There are several other offerings similar to EC2. You may want to try Google AppEngine, and some others online.

卖梦商人 2024-07-30 04:50:24

它的功能与任何其他网络主机类似,只是它是暂时的。 如果您关闭实例(或实例崩溃),您的数据就会消失。 但是,如果您将数据保留在云端或使用 Amazon 的持久性选项之一,则这不是问题。 研究一下 EC2+EBS。

您按使用量付费,因此成本的答案是它可能更便宜,但这完全取决于您的应用程序。 AWS 成本有详细记录。

云计算的真正优势是能够根据应用程序的实时需求扩展和收缩基础设施。 小型或非常动态的基础设施在云中可能更便宜,而大型稳定的基础设施在传统数据中心可能更便宜。

It functions like any other web host except that it is transient. If you shut down the instance (or it crashes), your data is gone. However, this isn't a problem if you persist data off-cloud or use one of Amazons persistence options. Look into EC2+EBS.

You pay for what you use, so the answer to cost is that it is probably cheaper, but it depends entirely on your application. The AWS costs are well documented.

The real advantage of cloud computing is the ability to expand and contract infrastructure based on the real-time demands of your application. A small or very dynamic infrastructure is probably cheaper in the cloud whereas a large stable infrastructure is probably cheaper in a traditional data center.

淡墨 2024-07-30 04:50:24

据我所知,它本质上就像一个提供虚拟机的主机,只不过它在一些方面得到了增强......

而不是按月计费,而是按机器运行的小时计费。 如果您始终运行一台小型服务器,但在流量高峰时打开辅助服务器,那么这非常有用。

他们还拥有某种“弹性 IP”技术,其中您的服务器出现在同一 IP 上,即使它可能在不同时间在不同的数据中心上运行。 我想象这就像他们根据需要将您的 VMWare 映像通过网络发送到各个数据中心。

据我所知,设置每台机器与任何标准虚拟服务器非常相似,神奇的部分在于它们将虚拟机映像从在特定主机上运行的情况中抽象出来。

还要记住,它们不仅仅是 EC2,例如,couchDB 是一个面向文档的数据库,您可以访问它,对于大多数人的目的来说,它具有“无限的可扩展性”,但请记住,它与关系数据库不同。

From what I can tell it is essentially like a host that provides virtual machines except it is enhanced in a few areas...

Instead of being billed per month you are billed per hour the machine is on. This is great if you always have a small server running but turn on a secondary one if you have a traffic spike.

They also have some sort of "elastic ip" tech wherein your server appears on the same ip even though it could be running on different datacenters at different times. I imagine it like them throwing your VMWare images around the net to various datacenters as needed.

From what I can tell setting up each machine is very similar to any standard virtual server, the magic part comes by them abstracting your VM image from running on a specific host.

Also keep in mind they have more than juts EC2, couchDB for example is a document oriented DB you can access that for most peoples purposes has "unlimited scalability" but keep in mind its not the same as a relational DB.

美人迟暮 2024-07-30 04:50:24

AWS EC2 旨在以云服务模式取代企业数据中心硬件。 它的规模使 GoDaddy 或 WPengine 等网络托管公司能够在该平台上托管其整个业务,包括所有客户网站。 当小型企业和小型企业时,优势就会显现出来。 初创企业能够使用为最大的网站提供支持的尖端开发工具,而成本只是独立构建软件所需成本的一小部分。 需要扩展到一台服务器之外并在硬件配置中对网络流量进行弹性响应的公司能够在 AWS EC2 或 Kubernetes 上高效地构建应用程序,其中较小的发布商或多域组合开发人员更适合在平台上享受折扣的共享托管计划服务与 对系统管理的要求较少。

AWS EC2 is designed to replace enterprise data center hardware on the cloud service model. It has scale that enables web hosting companies like GoDaddy or WPengine to host their entire business, including all of their customer sites, on the platform. The advantage comes when small businesses & start-ups are able to use the cutting edge development tools that power the largest websites at a fraction of the cost of what it would take to build the software independently. Companies that need to scale beyond one server with elastic response to web traffic in hardware provisioning are able to build apps on AWS EC2 or Kubernetes efficiently, where smaller publishers or multi-domain portfolio developers are better suited with shared hosting plans with discount rates on platform services & less requirements for systems administration.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文