阅读背景:

从Amazon AWS转换到其他主机提供商

来源:互联网 

This task fell on my lap and I have no experience with Amazon aws. We run a simple informational site along with redmine (as a subdomain) using amazon aws and want to switch to simple helix. I have researched how to switch providers and I haven't found any posts that show how to do this step by step. Is there a simple way to move from Amazon aws to another provider? I think it would be best to create a duplicate of what we have on amazon aws on the simple helix server before totally dropping amazon aws. As far as I know I only have log in details to EC2 Console, no ssh log in details or FTP for amazon aws.

这项任务落在我的膝盖上,我没有使用亚马逊aws的经验。我们使用amazon aws运行一个简单的信息站点以及redmine(作为子域),并希望切换到简单的螺旋。我已经研究过如何切换提供商,我还没有发现任何帖子,说明如何逐步完成此操作。有没有一种简单的方法从亚马逊aws转移到另一个提供商?我认为最好在完全删除amazon aws之前在简单的helix服务器上创建我们在amazon aws上的副本。据我所知,我只有登录EC2控制台的详细信息,没有ssh登录详情或FTP for amazon aws。

1 个解决方案

#1


When an AWS instance is launched a public/private key pair is specified and installed in the running instance. You can find the name of the key-pair by looking at details of the instance in the console. Check for "Key pair name".

启动AWS实例时,会在正在运行的实例中指定并安装公钥/私钥对。您可以通过在控制台中查看实例的详细信息来查找密钥对的名称。检查“密钥对名称”。

Hopefully, you'll have the private key of that pair somewhere at hand. If it's lost I'm not sure how to recover it without tech support from Amazon.

希望你手头有这个对的私钥。如果它丢失了,我不知道如果没有亚马逊的技术支持如何恢复它。

If you have the private key then ssh is simple, just type:

如果你有私钥,那么ssh很简单,只需输入:

ssh -i my.private.key -l ubuntu servername

or something similar and you're in.

或类似的东西,你在。

FTP access might require opening up a port in the firewall. Look at the security group settings for the server to see what ports are open. Secure ftp is available if you can ssh into the machine using the same private key.

FTP访问可能需要在防火墙中打开端口。查看服务器的安全组设置以查看打开的端口。如果您可以使用相同的私钥ssh进入计算机,则可以使用安全ftp。


分享到: