简体   繁体   English

如何将图像文件从amazon s3移动到amazon ec2并使用java运行实例

[英]How to move an image file from amazon s3 to amazon ec2 and run the instance using java

I am a newbie to cloud computing technology and want to move an image file from amazon s3 to amazon ec2 and run it. 我是云计算技术的新手,想要将图像文件从亚马逊s3移动到亚马逊ec2并运行它。 I will be using JAVA. 我将使用JAVA。

Please help me. 请帮我。

Thanks in advance. 提前致谢。

best regards, Nil 最好的问候,没有

You don't move an image from S3 to an existing EC2 instance and run it. 您不会将图像从S3移动到现有EC2实例并运行它。 Instead you can use the Amazon EC2 API to start and stop your instances. 相反,您可以使用Amazon EC2 API来启动和停止实例。 See RunInstances or StartInstances in the docs. 请参阅文档中的RunInstancesStartInstances

You can also perform these functions using the AWS SDK for Java 您还可以使用AWS SDK for Java执行这些功能

There are a lot of Amazon services available but they are well documented online. 有很多亚马逊服务可用,但它们在网上有很好的文档。 You need to give these a good read to understand how they all play together. 你需要给他们一个很好的阅读,以了解他们如何一起玩。

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

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