简体   繁体   English

如何从AWS ec2实例提取文件?

[英]How to pull files from AWS ec2 instance?

I have created a instance through elastic beanstalk. 我已经通过弹性beantalk创建了一个实例。 I did't link any ssh key while creating. 我在创建时没有链接任何ssh密钥。 SO I cant connect with putty or with sfth. 所以我不能与腻子或SFTH连接。 I can deploy data to the instance by this command -> eb deploy . 我可以通过此命令-> eb deploy将数据部署到实例。

How can I fetch files from the instance. 如何从实例获取文件。 anyone know the solutions? 有人知道解决方案吗?

since you didn't connect any ssl key, you have no access to the web instance. 由于您没有连接任何ssl密钥,因此您无权访问该Web实例。 the only way in is via port 80 (your app). 唯一的方法是通过端口80(您的应用程序)。 Therefore, you can't pull any files. 因此,您不能拉任何文件。 You'll have to recreate the elastic beanstalk environment and this time add a key. 您将不得不重新创建弹性beantalk环境,这次添加一个密钥。

-Login to Aws manage console. -登录到AWS管理控制台。
-Select elastic beanstalk in services. -在服务中选择弹性beantalk。
-Select your application. -选择您的应用程序。
-Download the version. -下载版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM