How do I download all the files off of an Amazon EC2 instance?

fuzzybabybunny

Moderator<br>Digital & Video Cameras
Moderator
Jan 2, 2006
10,455
35
91
I've got an EC2 instance running and I want to terminate it. But I want to first save all the files on it first to a backup location.

How do I do this?

I know I can create an image in the EC2 Console but how do I download it?
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
You can't download the image, as far as I know, but you can use WinSCP (if you're on windows) to connect to the instance and download anything on it that you need. To use WinSCP you'll need the private key file (.pem) that you created when launching the instance. If you don't have the key you can access it from the AWS console and download it again.