What I want to do?

  • Backup EBS to S3 by AMI every week.
  • Maximum to four generations.

file

Work Steps

  1. Making Lifecycle Policy file

    and then select “volumn” and input tag information. file

    and then using the default role. file

    and then setting tags file

    and then setting policy status to valid file

    and setting do not reboot the instance file

  2. Setting Schedules At 6 am on Monday of JST is equal to at 21 pm on Sunday of UTC    file

    the other settings file

  3. Reviewing Detail of the policy file

    and detail of the schedules file

  4. Completing file

Result of AMI

As the result of the first backup made by AMI file

The detail of the above AMI file

The creation date indicates that the AMI was created after 6 a.m. on Monday of Japan, just the same as the descrption. AMI was well done!

Reference