uploading to Amazon AWS S3 using C#

Hello Experts.

I am having a really tough time understanding how to implement the following:

I have to create a File Uploader to Amazon s3 using C#. It will upload .zip files. Once the files are uploaded they would have to be unzipped on AWS s3.
Does anyone have any code samples that would help me accomplish this? Can you please help me? Can you maybe point me to the right direction
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You do not unzip the files within S3, it's just storage. You need to have an EC2 instance running as well (to handle the unzips). So you would upload to S3, then the EC2 instance would download the file from S3, unzip it, and put the new files back into S3. you can then delete the zip file. You might even want to Glacier the zip file for even cheaper storage, since you're done with the zip.

The main reason for doing this, would be cost savings. You pay for what you upload into S3 via the internet, so you want to keep these uploads as small as possible, thus compression. Traffic between S3 and EC2 is free (if your bucket and the EC2 instance are in the same region) - you still pay for PUTs though, but that's cheap.

I hope that paints the picture well enough for you?
vituxaAuthor Commented:
This is very useful info. Thank you. By chance, do you have some code samples?
The Amazon SDK has quite nice documentation and examples how to do various things.

Uploading a document

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.