- Mais recentes
- Mais votos
- Mais comentários
Hello,
As you are uploading data to an EC2 server, you can then transfer this data located on the EC2 server to an S3 bucket.
The aws s3 cp command is similar to the Unix cp command. You can copy files from Amazon S3 to your instance, copy files from your instance to Amazon S3, and copy files from one Amazon S3 location to another [1] [2].
[1] Use Amazon S3 with Amazon EC2 - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonS3.html#S3UsageScenarios
[2] CLI command - https://docs.aws.amazon.com/cli/latest/reference/s3/cp.html
Use the following command to copy an object from your instance into Amazon S3.
[ec2-user ~]$ aws s3 cp my_copied_file.ext s3://my_bucket/my_folder/my_file.ext
In case you have queries with respect to your use-case and the best ways to achieve it, you can open a technical support case with AWS Support using the link [3]. AWS Premium Support engineers will assist you accordingly.
[3] AWS Support Center - https://console.aws.amazon.com/support
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 meses
- AWS OFICIALAtualizada há 2 anos