Download s3 file to ec2
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow.
Learn more. Asked 5 years ago. Active 2 years, 10 months ago. Viewed 6k times. Unfortunately, the old version wasn't identifiable so the underlying cause was never identified. Perhaps comparing OpenSSL versions on the two machines would be a starting point for you. Hi Michael, I just tried a higher openssl ver. The one in the servers that outside of aws and worked has OpenSSL 1.
I'm wondering if it could be I'm not using the correct host or url? It seems maybe my above code works for centos. I tried another ubuntu server and it doesn't work. Maybe somehow the line for generate the signature not processed properly for ubuntu.
I tried the latest openssl version but seems still not work. Curiosity: change! Add a comment. Active Oldest Votes. John Rotenstein John Rotenstein k 17 17 gold badges silver badges bronze badges. I know there're other options but as I mentioned I need to use curl so I'm hoping answer about what I asked.
I'm using autoscale so I already have image created and there will be alot to do for all regions to set up the CLI. I've chef running so it's easier that I load some bash code through cookbook to run the download without updating the image.
Please answer if you know how to do it through curl instead of suggesting other options. Try this Titi Wangsa bin Damhore Titi Wangsa bin Damhore 6, 4 4 gold badges 28 28 silver badges 35 35 bronze badges. I've been trying to get this work for hours. Thank you for this. I followed aws docs and had no idea what's not working. Those steps apparently necessary, and are not mentioned in the docs — Chen A.
Any idea why sometimes it returns with The request signature we calculated does not match the signature you provided. Check your key and signing method?
Mark Doughty Mark Doughty 11 1 1 bronze badge. But why do you specifically need the files in the Amazon EC2 instance?
Will it be processing them? Why can't the software running on the EC2 instance simply access the files on S3 directly? Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
Add a comment. Active Oldest Votes. John Rotenstein John Rotenstein k 17 17 gold badges silver badges bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Who is building clouds for the independent developer?
Exploding turkeys and how not to thaw your frozen bird: Top turkey questions Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer.
Related Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled. Accept all cookies Customize settings.
0コメント