为什么人们在 AWS 存在时使用 Heroku?Heroku 与 AWS 的区别是什么? [英] Why do people use Heroku when AWS is present? What distinguishes Heroku from AWS?

查看:22
本文介绍了为什么人们在 AWS 存在时使用 Heroku?Heroku 与 AWS 的区别是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名 RoR 初学者,计划使用 Heroku 部署我的应用程序.我的其他顾问朋友说,Heroku 真的很简单,很好用.唯一的问题是我仍然不知道 Heroku 是做什么的...

I'm a beginner RoR programmer who's planning to deploy my app using Heroku. Word from my other advisor friends says that Heroku is really easy, good to use. The only problem is that I still have no idea what Heroku does...

我看过他们的网站,简而言之,Heroku 所做的就是帮助缩放但是......为什么这很重要?Heroku 如何提供帮助:

I've looked at their website and in a nutshell, what Heroku does is help with scaling but... why does that even matter? How does Heroku help with:

  1. 速度 - 我的研究表明,如果我的目标是美国/亚洲的受众,那么在美国东海岸部署 AWS 将是最快的.

  1. Speed - My research implied that deploying AWS on the US East Coast would be the fastest if I am targeting a US/Asia-based audience.

安全性 - 它们有多安全?

Security - How secure are they?

缩放 - 它实际上是如何工作的?

Scaling - How does it actually work?

成本效率 - 有一种类似于 dyno 的东西可以轻松扩展.

Cost efficiency - There's something like a dyno that makes it easy to scale.

他们如何与竞争对手竞争?例如,Engine Yardbluebox?

How do they fare against their competitors? For example, Engine Yard and bluebox?

请用通俗的英语术语来解释...我是一个初学者程序员.

Please use layman English terms to explain... I'm a beginner programmer.

推荐答案

AWS/Heroku 对于小型业余项目(开始)都是免费的.

AWS / Heroku are both free for small hobby projects (to start with).

如果您想立即启动应用程序,而无需对架构进行太多自定义,请选择 Heroku.

If you want to start an app right away, without much customization of the architecture, then choose Heroku.

如果您想专注于架构并能够使用不同的 Web 服务器,请选择 AWS.根据您选择的服务/产品,AWS 更耗时,但值得.AWS 还附带了许多插件服务和产品.

If you want to focus on the architecture and to be able to use different web servers, then choose AWS. AWS is more time-consuming based on what service/product you choose, but can be worth it. AWS also comes with many plugin services and products.

Heroku

  • 平台即服务 (PAAS)
  • 良好的文档
  • 具有内置工具和架构.
  • 在设计应用时对架构的控制有限.
  • 负责部署(通过 GitHub 自动执行或通过 git 命令或 CLI 手动执行).
  • 不费时间.

AWS

  • 基础设施即服务 (IAAS)
  • 多功能 - 拥有多种产品,例如 EC2、LAMBDA、EMR 等.
  • 可以使用专用实例对架构进行更多控制,例如选择操作系统、软件版本等.后端层不止一个.
  • Elastic Beanstalk 是一个类似于 Heroku 的 PAAS 的功能.
  • 可以使用自动部署,也可以自行部署.

这篇关于为什么人们在 AWS 存在时使用 Heroku?Heroku 与 AWS 的区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆