阅读背景:

有没有亚马逊网络服务(aws)模拟/仿真?

来源:互联网 

I am new to AWS development and want to use python interface boto for the development. I am currently using Google App Engine and it has simulation platform included in its SDK that I am using for development. I am wondering, if there is such simulation/emulation platform exists for AWS also. If there is no such platform then How can I as developer test my web apps before going to actual AWS servers.

我是AWS开发的新手,想要使用python接口boto进行开发。我目前正在使用Google App Engine,它的SDK中包含了我用于开发的模拟平台。我想知道,如果AWS还存在这样的模拟/仿真平台。如果没有这样的平台,那么在开始实际的AWS服务器之前,我如何作为开发人员测试我的网络应用程序。

3 个解决方案

#1


9  

The Open-source project Eucalyptus implements Amazon's APIs over your own hardware. This provides a way to implement your own 'private cloud', but doesn't provide you with a local simulation of the EC2 cloud (though possibly you could rig it up as such).

开源项目Eucalyptus通过您自己的硬件实现亚马逊的API。这提供了一种实现您自己的“私有云”的方法,但是没有为您提供EC2云的本地模拟(尽管您可能会这样设置它)。

Such a 'local testing' environment would be tough, since an EC2 instance is an entire virtual machine, and as such would consume a lot of resources on your development machine (let alone if you needed to emulate multiple of them). EC2 is fundamentally different from App Engine - with EC2 you're renting virtual machines, and you can test on them just as easily as on a local VM.

这样的“本地测试”环境很难,因为EC2实例是一个完整的虚拟机,因此会占用开发机器上的大量资源(更不用说如果需要模拟其中的多个)。 EC2与App Engine根本不同 - 使用EC2租用虚拟机,您可以像在本地VM上一样轻松地对它们进行测试。

#2


6  

There are some pretty sophisticated Cloud service mocking frameworks out there, like kinesalite, dynalite, or moto.

有一些非常复杂的云服务模拟框架,如kinesalite,dynalite或moto。

You could also take a look at LocalStack, a framework which combines existing best-of-breed tools and provides a fully functional local cloud environment that can be used for integration testing. This allows you to test your applications offline, without connectivity and without paying for any of the cloud services.

您还可以查看LocalStack,这是一个结合了现有最佳工具的框架,并提供可用于集成测试的全功能本地云环境。这使您可以离线测试应用程序,无需连接,也无需支付任何云服务费用。

(Apologies for answering an old question, but it might help people who are discovering this thread)

(回答旧问题的道歉,但它可能会帮助发现这个问题的人)

#3


4  

Amazon offers a "Free Tier" that provides limited free usage to all off their cloud stack. This is perfect for testing, and even production hosting of low volume sites/applications.

亚马逊提供“免费套餐”,可为所有云堆提供有限的免费使用。这非常适合测试,甚至是低容量站点/应用程序的生产托管。

https://aws.amazon.com/free/

https://aws.amazon.com/free/

There are some third party emulations to some parts of the AWS stack, but there is no official emulation tool from Amazon, and none of the third-party offerings are complete...

AWS堆栈的某些部分有一些第三方仿真,但亚马逊没有官方仿真工具,也没有第三方产品完整......


分享到: