M
M
Maxim Mesilov2014-12-09 01:25:26
Amazon Web Services
Maxim Mesilov, 2014-12-09 01:25:26

How do I connect an Amazon S3 instance to an Amazon EC2 instance for backup storage?

I have a working EC2 instance in amazon running centos
There are databases and files, a script periodically runs that collects them into an archive.
How can I dump them on a separate amazon S3 instance?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Romanov, 2014-12-09
@Serhioromano

You can use the built-in snapshot system. It automatically saves them to S3. Although you won't see additional buckets, they are stored there.
If you want to set up automatic daily copying, you can use my gist.
https://gist.github.com/Serhioromano/9738785
There are step by step instructions on how to set it up.
Using snapshots to store backups is very convenient. They are cumulative. That is, each snapshot only changes from the previous one, so 10 snapshots will not take up much space. On the other hand, making a disk from them and connecting to a new server is a matter of several minutes without running any commands in the terminal.

P
Puma Thailand, 2014-12-10
@opium

There is even s3fs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question