Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to move EC2 volumes to Amazon Glacier without having to download and upload it?

I am trying to reduce costs of my AWS system. I thought of moving some volumes I rarely use to Amazon Glacier, but I don't find any way I can do it inside AWS besides downloading the volume and uploading to Glacier, which sounds terrible.

I am wondering, is it possible to do this automatically? Assign some EC2 volumes to glacier directly from the EC2 console?

Thanks

like image 637
JordanBelf Avatar asked Jul 05 '15 23:07

JordanBelf


People also ask

Can we transfer data directly to S3 glacier?

Currently, there is no way of uploading objects directly to S3 Glacier using a Snowball Edge. Thus, you first have to upload your objects into S3 Standard, and then use S3 lifecycle policies to transition the files to S3 Glacier.

How do I transfer EBS snapshot to Glacier?

EBS snapshots, even though they are stored in Amazon S3, also cannot be moved to Amazon Glacier. There are 2 ways to put data into Amazon Glacier: Put the file/data directly into an Amazon Glacier vault. Put the file/data in Amazon S3, then use an Amazon S3 lifecycle to move the object(s) to Amazon Glacier.

How do I transfer an EC2 instance?

It's not possible to move an existing instance to another subnet, Availability Zone, or VPC. Instead, you can manually migrate the instance by creating a new Amazon Machine Image (AMI) from the source instance. Then, launch a new instance using the new AMI in the desired subnet, Availability Zone, or VPC.

Can you attach volumes to AWS EC2 instances once it has been created?

You can't attach instance store volumes to an instance after you've launched it. If you change the instance type, an instance store will not be attached to the new instance type.


1 Answers

EBS volumes cannot be copied or migrated to Amazon Glacier.

EBS snapshots, even though they are stored in Amazon S3, also cannot be moved to Amazon Glacier.

There are 2 ways to put data into Amazon Glacier:

  1. Put the file/data directly into an Amazon Glacier vault.
  2. Put the file/data in Amazon S3, then use an Amazon S3 lifecycle to move the object(s) to Amazon Glacier.

You could use aws s3 sync to copy your filesystem into S3, then have that moved to Glacier. But there is no magic solution for what you want to achieve.

like image 76
Matt Houser Avatar answered Oct 03 '22 22:10

Matt Houser