[英]How do I copy a file from my AWS EC2 Ubuntu linux instance
I have a linux ubuntu instance and a S3 bucket I did 我有一个Linux ubuntu实例和一个S3存储桶
sudo apt-get install s3cmd
then tried 然后尝试
s3cmd put datafile.xml s3://jthink/datafile.xml
where jthink is my bucket name jthink是我的存储桶名称
but it says 但它说
ERROR: /home/ubuntu/.s3cfg: No such file or directory
ERROR: Configuration file not available.
ERROR: Consider using --configure parameter to create one
so i ran 所以我跑了
s3 --configure
and it asks for access keys, secret keys ectera I cannot find them, when I look at my S3 bucket in Amazon Web Console there seems to be no such thing 它要求访问密钥,私有密钥ectera我找不到它们,当我在Amazon Web Console中查看我的S3存储桶时,似乎没有这种东西
Access Key and Secret Key credentials are required for AWS API access and are used by many tools. 访问密钥和秘密密钥凭证对于AWS API访问是必需的,并且由许多工具使用。 Using the web management console you can find and create these credentials using the "Security Credentials" screen under your name on the top right.
使用Web管理控制台,您可以使用右上角您的名字下方的“安全凭据”屏幕找到并创建这些凭据。
But as your root account can not be restricted, it is very recommended that, when using third-party software, you create an IAM user with restricted privileges and/or different credentials. 但是由于您的根帐户不受限制,因此强烈建议您在使用第三方软件时创建具有受限特权和/或不同凭据的IAM用户。 You can learn how to do that here: http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_SettingUpUser.html
您可以在此处了解如何执行此操作: http : //docs.aws.amazon.com/IAM/latest/UserGuide/Using_SettingUpUser.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.