我需要将 EC2 与 DynamoDB 一起使用吗? [英] Do I need to use EC2 with DynamoDB?

查看:17
本文介绍了我需要将 EC2 与 DynamoDB 一起使用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在 Amazon 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:

我可以从自己的 Web 服务器访问 DynamoDB,还是需要使用 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?

推荐答案

您可以使用 Amazon DynamoDB不受任何地方的限制 - 一个很好且有用的演示是适用于 EclipseVisual Studio 例如,它允许您创建表、插入和编辑数据、启动表扫描等 直接来自您的本地开发环境(请参阅介绍性帖子 AWS Toolkits for 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 Identity and Access Management (IAM) 也是如此,强烈建议为您的用户(即您的 Web 服务器)安全地控制对 AWS 服务和资源的访问,而不是简单地使用您的主要 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.

根据您的服务器位置,您可能希望最终选择一个合适的低延迟端点 - Regions and Endpoints 部分中列出了当前可用的端点,Amazon 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.

这篇关于我需要将 EC2 与 DynamoDB 一起使用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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