0

I have an EC2 instance in AWS. As you know, if my instance crashes I lose all data located in the local EC2 hard drive. Of course I have an EBS for my data, but /etc is located in the non-permanent-local-drive, and I am trying to move all system config files to the EBS.

For the crontab, my Debian reads the /etc/crontab. I tried to symlink the file and it did not work. Do you known why?

Caleb
  • 11,813
  • 4
  • 36
  • 49
Antoine
  • 133
  • 1
  • 5

1 Answers1

0

You should consider switching from an ephemeral instance (where the root file system goes away when the instance shuts off) to an EBS backed instance (where the entire root file system is on an EBS drive). This will solve your worry and save you from hacking the OS.

You might find tutorials such as this one helpful.

Caleb
  • 11,813
  • 4
  • 36
  • 49