我需要使用EC2与DynamoDB?DynamoDB

2023-09-11 11:11:49 作者:柠檬草的味道

我一直没能找到答案,亚马逊DynamoDB文档中的这个问题,所以我的道歉问这样一个基本的问题在这里:

I haven't been able to find the answer to this question in the Amazon DynamoDB documentation, so my apologies for asking such a basic question here:

我可以访问DynamoDB从我自己的Web服务器,或者我需要使用一个EC2实例?

Can I access DynamoDB from my own web server, or do I need to use an EC2 instance?

除了明显的高延迟,是否有任何安全或性能方面的考虑使用自己的服务器时?

Other than the obvious higher latency, are there any security or performance considerations when using my own server?

推荐答案

您可以使用亚马逊DynamoDB 未经无处不在的限制 - 一个很好的和有益的示范是AWS工具包的Eclipse 和的 Visual Studio中例如,它允许您的创建表,插入和编辑数据,启动表扫描,多的直接从您的本地开发环境(见的介绍后 AWS工具包Eclipse和Visual Studio现在支持DynamoDB )。

You can use Amazon DynamoDB without restrictions from about everywhere - a nice and helpful demonstration are the AWS Toolkits for Eclipse and Visual Studio for example, which allow you to create tables, insert and edit data, initiate table scans, and more straight from your local development environment (see the introductory post AWS Toolkits for Eclipse and Visual Studio Now Support DynamoDB).

除了明显的高延迟,是否有任何安全或   用我自己的服务器时,性能方面的考虑?

Other than the obvious higher latency, are there any security or performance considerations when using my own server?

不是真的,不是通过HTTPS端点促进SSL等,如果你的使用情况,需要相应的安全性。

Not really, other than facilitating SSL via the HTTPS endpoint, if your use case requires respective security.

如果你不使用它了,你应该看看 AWS身份和访问管理(IAM)还有,这是强烈推荐的安全地控制访问AWS服务和资源,为用户的(即你的Web服务器在这里),而不是简单地用你的主要的AWS帐号凭据。

In case you are not using it already, you should check out AWS Identity and Access Management (IAM) as well, which is highly recommended to securely control access to AWS services and resources for your users (i.e. your web server here), rather than simply using your main AWS account credentials.

根据您的服务器的位置,你可能想选择一个合适的较低的延迟,最终终点 - 目前可用的那些列在区域和端点的,部分的亚马逊DynamoDB 。

Depending on your server location, you might want to select an appropriate lower latency endpoint eventually - the currently available ones are listed in Regions and Endpoints, section Amazon DynamoDB.