0

I have 5 years of Stock market data, and strategies which I regularly run on my local machine, but I felt that my local machine takes so much time for processing that data. so I decided to process my data in was server. So I did little research about EC2 instances. So I found that I can store my raw stock market data in Ec2 Instance and install Jupyter notebook and python modules in EC2 instances. and run/process my data on multiple Spot Instances. which take less time for processing data, and as well as it will cost me efficiency. but I don't understand How can I access data and connect Ec2 instances and spot instances to each other.

so please someone can help me?

Krishna Gupta
  • 166
  • 1
  • 10
  • 1
    "connect Ec2 instances and spot instances to each other" - what do you mean by that? Sadly your question is not clear. – Marcin Apr 08 '22 at 06:45
  • @Marcin I just want to use that data which is stored in EC2 instance, and process that data with the help of python code on Spot Instances. – Krishna Gupta Apr 08 '22 at 08:06
  • 1
    If you are using multiple Amazon EC2 instances, then a good approach would be to store the data in Amazon S3. Then, when it is needed on an EC2 instance, it can be downloaded from S3. This way, data will not be lost of the Spot Instance is terminated. – John Rotenstein Apr 08 '22 at 08:38
  • As @JohnRotenstein said, use S3. You could also use EFS. – Marcin Apr 08 '22 at 09:05

0 Answers0