修改云软件
我们有一个数据库驱动的自定义软件项目 (MySQL),并使用 php 和一些公共和自定义库构建。
它目前托管在 VPS 上,作为实习生,我被分配的任务是研究如何对其进行转换,以便将其托管在云中。
到目前为止,我的研究让我找到了 Amazon EC2 等提供商,但他们并没有过多谈论软件方面的内容。一些文献表明,这不仅仅是将软件迁移到云端的简单问题。看来需要对软件进行修改。我不确定是什么样的(我需要用包装纸包裹它,还是类似的东西)?我需要一些线索才能朝着正确的方向开始。
我计划买一本关于这个主题的书,但我有兴趣听取其他人的意见,我们可能需要为此用例做出哪些标准更改。
We have a custom software project that's database driven (MySQL) and is built with php and some public and custom libraries.
It's currently being hosted on a VPS, and being the intern, I've been assigned the task of researching how we can transition it so it can be hosted in a cloud.
My research so far has led me to providers such as Amazon EC2, but they don't say much about the software side of things. Some of the literature suggests that it's not a simple matter of just moving the software to the cloud. It looks like modifications to the software need to be made. I'm not sure like what (do I need wrappers around it, or something like that)? I need some clues to get started in the right direction.
I'm planning to pick up a book on this topic, but I'm interested in hearing from others what standard changes we're likely to need to make for this use case.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这听起来像是另一个业务案例,这里有一个新技术词,并且很好地说明了我们为什么不这样做?这归结为您希望从迁移到云中获得什么好处?这是什么类型的应用程序?由于您提到 php 和 mysql,我假设这可能是您公司的 Web 应用程序或某种内部网。云的优势在于可扩展性和按需提供的计算资源,以及数据存储冗余的附加功能。
长话短说,对于 Web 应用程序,在迁移到云时您不会太关心这些,因为您的脚本将在云中的实例上运行,并且云将处理资源分配等问题。
This sounds like another case of the business heres a new tech word and says well why are we not doing that? This boils down to what do you want to benefit out of moving to the cloud? What type of application is this? Being you mention php and mysql I am assuming this is possibly your companies web application or intranet of some sort. The benefits of the cloud lie in scalability and computing resources provided on demand with additional abilities for redundancy in your data store.
Long story short though, with a web application you will not be much concerned with any of this when moving to the cloud as your scripts will run on your instance in the cloud and the cloud will handle resource allocation and what not.
“云”是 VPS 的一个奇特词,它具有一些额外的功能,例如无需重新启动即可扩展性能以及从一个硬件设备无缝迁移到另一个硬件设备。如果您的应用程序在 VPS 上运行良好,我不认为您需要更改任何内容。
提供商并没有过多谈论软件方面的内容,因为在 PHP 和 MySQL 这样的高级环境中,无论您在 VPS、裸机还是云中运行它都没有什么区别。
您可能遇到的唯一问题是 MySQL 性能,但同样,如果您喜欢 VPS,那么您也会喜欢云。
"cloud" is a fancy word for VPS with some extra features like performance scaling without reboots and seamless migration from one hardware box to another. If your application works fine on VPS, I would not envision you will need to change anything.
The providers don't say much about the software side of the things, because from such a high-level environment like PHP and MySQL it makes no difference if you run it in VPS, bare iron or the cloud.
The only issue you may have is MySQL performance, but again, if you were fine with VPS you will be fine with the cloud.
除非你的软件写得非常糟糕,否则不必担心它是在 VPS 上运行还是在云中运行。事实上,您的软件可能不知道其中的区别。
您直接进入了有关软件转换的问题,这不是问题。实际上,您的老板可能更感兴趣的是了解迁移到 EC2 是否会影响:安全性(也许)、流程(也许)以及对设备的管理员访问权限(也许)。很难回答这些问题,因为它们通常取决于您的公司政策。
Unless your software is very poorly written, there should be no concern about whether it runs on a VPS or in the cloud. In fact, your software likely wouldn't know the difference.
You've jumped straight into questions about transitioning of software, which won't be an issue. Your boss may actually be more interested in finding out if a move to EC2 will impact: security (maybe), processes (maybe) and admin access to the box (maybe). It's hard to answer these questions, because they're usually dependent on your corporate policies.