What happens when I delete the first of several AWS EBS snapshots?How to determine actual size of an amazon snapshot?How are Amazon EBS snapshot's sizes calculated?Amazon pricing - transfer between EC2, EBS and S3Amazon EC2 terminology - AMI vs. EBS vs. Snapshot vs. VolumeWhich of snapshots I can safely remove?How to determine actual size of an amazon snapshot?How to schedule automatic (daily) snapshots of AWS EC2 Windows Instance?How to determine total size of Amazon EC2 snapshots?Amazon snapshot issueImproving I/O rates for EBS snapshot backed volumesTrusted Advisor: Amazon EBS Snapshots issue

Polynomial division: Is this trick obvious?

How was the blinking terminal cursor invented?

How long do Aarakocra live?

Roman Numerals Equation 2

301 Redirects what does ([a-z]+)-(.*) and ([0-9]+)-(.*) mean

Why did nobody know who the Lord of this region was?

When the match time is called, does the current turn end immediately?

How can we delete item permanently without storing in Recycle Bin?

How does the Heat Metal spell interact with a follow-up Frostbite spell?

Why is the marginal distribution/marginal probability described as "marginal"?

Why is Drogon so much better in battle than Rhaegal and Viserion?

Non-African Click Languages

How to know the path of a particular software?

What kind of environment would favor hermaphroditism in a sentient species over regular, old sexes?

How to generate a triangular grid from a list of points

How to find the radius of this smaller circle?

Cannot remove door knob -- totally inaccessible!

Would life always name the light from their sun "white"

Why doesn't Iron Man's action affect this person in Endgame?

Why is the A380’s with-reversers stopping distance the same as its no-reversers stopping distance?

Rushed passport - does my reason qualify?

Why use a retrograde orbit?

Why would you put your input amplifier in front of your filtering for and ECG signal?

How to handle professionally if colleagues has referred his relative and asking to take easy while taking interview



What happens when I delete the first of several AWS EBS snapshots?


How to determine actual size of an amazon snapshot?How are Amazon EBS snapshot's sizes calculated?Amazon pricing - transfer between EC2, EBS and S3Amazon EC2 terminology - AMI vs. EBS vs. Snapshot vs. VolumeWhich of snapshots I can safely remove?How to determine actual size of an amazon snapshot?How to schedule automatic (daily) snapshots of AWS EC2 Windows Instance?How to determine total size of Amazon EC2 snapshots?Amazon snapshot issueImproving I/O rates for EBS snapshot backed volumesTrusted Advisor: Amazon EBS Snapshots issue






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








4















On http://aws.amazon.com/ebs/pricing/



it says:
"EBS Snapshots



[...] For the first snapshot of a volume, Amazon EBS saves a full copy of your data to Amazon S3. For each incremental snapshot, only the changed part of your Amazon EBS volume is saved."



I intend to snapshot some of my instances daily and keep snapshots for 7 days after which the snapshots are destroyed.



What happens when, eventually, I destroy the first snapshot? Will the subsequent snapshots be worthless given the first is no longer available?










share|improve this question




























    4















    On http://aws.amazon.com/ebs/pricing/



    it says:
    "EBS Snapshots



    [...] For the first snapshot of a volume, Amazon EBS saves a full copy of your data to Amazon S3. For each incremental snapshot, only the changed part of your Amazon EBS volume is saved."



    I intend to snapshot some of my instances daily and keep snapshots for 7 days after which the snapshots are destroyed.



    What happens when, eventually, I destroy the first snapshot? Will the subsequent snapshots be worthless given the first is no longer available?










    share|improve this question
























      4












      4








      4








      On http://aws.amazon.com/ebs/pricing/



      it says:
      "EBS Snapshots



      [...] For the first snapshot of a volume, Amazon EBS saves a full copy of your data to Amazon S3. For each incremental snapshot, only the changed part of your Amazon EBS volume is saved."



      I intend to snapshot some of my instances daily and keep snapshots for 7 days after which the snapshots are destroyed.



      What happens when, eventually, I destroy the first snapshot? Will the subsequent snapshots be worthless given the first is no longer available?










      share|improve this question














      On http://aws.amazon.com/ebs/pricing/



      it says:
      "EBS Snapshots



      [...] For the first snapshot of a volume, Amazon EBS saves a full copy of your data to Amazon S3. For each incremental snapshot, only the changed part of your Amazon EBS volume is saved."



      I intend to snapshot some of my instances daily and keep snapshots for 7 days after which the snapshots are destroyed.



      What happens when, eventually, I destroy the first snapshot? Will the subsequent snapshots be worthless given the first is no longer available?







      amazon-ec2 amazon-ebs






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 18 '14 at 14:39









      JepperJepper

      227312




      227312




















          1 Answer
          1






          active

          oldest

          votes


















          6














          When you delete any EBS snapshot, if there's a later snapshot for the same volume, every block in the first snapshot that wasn't included in the later snapshot (because it didn't change) is logically rolled forward (in a sense) into the later snapshot, so the later snapshot is still perfectly valid when any or all earlier snapshots are deleted.



          Conceptually, you can also think of the snapshot process consisting of two separate pieces: the compressed,¹ backed-up data that is stored in chunks in Amazon S3² during the snapshot process, and then the snapshot itself, which is only a container of pointers to those chunks of raw data. Every snapshot references a particular archived data chunk for each block of the volume, and those chunks are fetched and reassembled when a snapshot is restored. When a snapshot is deleted, any archived data chunk that is no longer referenced by any other snapshot is purged, but any chunk referenced by any other snapshot... isn't.



          So you can freely delete any snapshot in a series, without impacting the validity of earlier or later snapshots. Note, though, that purging snapshots of volumes that don't change much will also not save you very much in monthly snapshot storage fees, because you already are paying very little for them, since they contain very little unique data.



          See also:



          https://stackoverflow.com/questions/19501192/confusion-over-ebs-snapshots-in-amazon/19503615#19503615



          How to determine actual size of an amazon snapshot?




          ¹ compressed ...well, maybe. The internal workings of EBS snapshots have always been a black box but when this answer was originally written in 2014, the conventional wisdom held that EBS compressed the backup chunks before storing them in S3. This may have been incorrect all along or may no longer be the case because it subsequently changed -- perhaps due to the fact that compressing already-encrypted data is much less efficient than compressing unencrypted data and EBS volumes are so easy to create with transparent encryption that the prevalence of encrypted volumes made the compression unproductive -- but there does not appear to be any official, documented source currently indicating that the backup data is actually compressed. The actual charge for snapshot storage is almost always substantially less than the logical size of the snapshot, so this particular detail is not necessarily important, but I've striken the word from the original answer, in the interest of accuracy.



          ² in Amazon S3 is where snapshot data is stored, but the buckets are owned and controlled by the EC2/EBS service, so the buckets are not visible in the console and the raw snapshot data isn't accessible to the end-user.






          share|improve this answer

























          • So the Amazon host, does a LVM (?) snapshot of lets say a 10GB volume. The entire volume (or non-zero blocks at least) are copied to S3. But so far it's not costing us anything..? Later we take another snapshot, where 100MB has changed. We are now charged for 100MB of storage?

            – Jepper
            Aug 21 '14 at 20:49











          • Not LVM, it's a raw block device snapshot, with no awareness of the actual filesystem. The first snapshot stores the entire volume, subsequent snapshots store the changes. You pay storage for both. Deleting either of the two will only reduce your cost by the cost of storing the changed blocks.

            – Michael - sqlbot
            Aug 21 '14 at 21:29











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "2"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f622211%2fwhat-happens-when-i-delete-the-first-of-several-aws-ebs-snapshots%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          6














          When you delete any EBS snapshot, if there's a later snapshot for the same volume, every block in the first snapshot that wasn't included in the later snapshot (because it didn't change) is logically rolled forward (in a sense) into the later snapshot, so the later snapshot is still perfectly valid when any or all earlier snapshots are deleted.



          Conceptually, you can also think of the snapshot process consisting of two separate pieces: the compressed,¹ backed-up data that is stored in chunks in Amazon S3² during the snapshot process, and then the snapshot itself, which is only a container of pointers to those chunks of raw data. Every snapshot references a particular archived data chunk for each block of the volume, and those chunks are fetched and reassembled when a snapshot is restored. When a snapshot is deleted, any archived data chunk that is no longer referenced by any other snapshot is purged, but any chunk referenced by any other snapshot... isn't.



          So you can freely delete any snapshot in a series, without impacting the validity of earlier or later snapshots. Note, though, that purging snapshots of volumes that don't change much will also not save you very much in monthly snapshot storage fees, because you already are paying very little for them, since they contain very little unique data.



          See also:



          https://stackoverflow.com/questions/19501192/confusion-over-ebs-snapshots-in-amazon/19503615#19503615



          How to determine actual size of an amazon snapshot?




          ¹ compressed ...well, maybe. The internal workings of EBS snapshots have always been a black box but when this answer was originally written in 2014, the conventional wisdom held that EBS compressed the backup chunks before storing them in S3. This may have been incorrect all along or may no longer be the case because it subsequently changed -- perhaps due to the fact that compressing already-encrypted data is much less efficient than compressing unencrypted data and EBS volumes are so easy to create with transparent encryption that the prevalence of encrypted volumes made the compression unproductive -- but there does not appear to be any official, documented source currently indicating that the backup data is actually compressed. The actual charge for snapshot storage is almost always substantially less than the logical size of the snapshot, so this particular detail is not necessarily important, but I've striken the word from the original answer, in the interest of accuracy.



          ² in Amazon S3 is where snapshot data is stored, but the buckets are owned and controlled by the EC2/EBS service, so the buckets are not visible in the console and the raw snapshot data isn't accessible to the end-user.






          share|improve this answer

























          • So the Amazon host, does a LVM (?) snapshot of lets say a 10GB volume. The entire volume (or non-zero blocks at least) are copied to S3. But so far it's not costing us anything..? Later we take another snapshot, where 100MB has changed. We are now charged for 100MB of storage?

            – Jepper
            Aug 21 '14 at 20:49











          • Not LVM, it's a raw block device snapshot, with no awareness of the actual filesystem. The first snapshot stores the entire volume, subsequent snapshots store the changes. You pay storage for both. Deleting either of the two will only reduce your cost by the cost of storing the changed blocks.

            – Michael - sqlbot
            Aug 21 '14 at 21:29















          6














          When you delete any EBS snapshot, if there's a later snapshot for the same volume, every block in the first snapshot that wasn't included in the later snapshot (because it didn't change) is logically rolled forward (in a sense) into the later snapshot, so the later snapshot is still perfectly valid when any or all earlier snapshots are deleted.



          Conceptually, you can also think of the snapshot process consisting of two separate pieces: the compressed,¹ backed-up data that is stored in chunks in Amazon S3² during the snapshot process, and then the snapshot itself, which is only a container of pointers to those chunks of raw data. Every snapshot references a particular archived data chunk for each block of the volume, and those chunks are fetched and reassembled when a snapshot is restored. When a snapshot is deleted, any archived data chunk that is no longer referenced by any other snapshot is purged, but any chunk referenced by any other snapshot... isn't.



          So you can freely delete any snapshot in a series, without impacting the validity of earlier or later snapshots. Note, though, that purging snapshots of volumes that don't change much will also not save you very much in monthly snapshot storage fees, because you already are paying very little for them, since they contain very little unique data.



          See also:



          https://stackoverflow.com/questions/19501192/confusion-over-ebs-snapshots-in-amazon/19503615#19503615



          How to determine actual size of an amazon snapshot?




          ¹ compressed ...well, maybe. The internal workings of EBS snapshots have always been a black box but when this answer was originally written in 2014, the conventional wisdom held that EBS compressed the backup chunks before storing them in S3. This may have been incorrect all along or may no longer be the case because it subsequently changed -- perhaps due to the fact that compressing already-encrypted data is much less efficient than compressing unencrypted data and EBS volumes are so easy to create with transparent encryption that the prevalence of encrypted volumes made the compression unproductive -- but there does not appear to be any official, documented source currently indicating that the backup data is actually compressed. The actual charge for snapshot storage is almost always substantially less than the logical size of the snapshot, so this particular detail is not necessarily important, but I've striken the word from the original answer, in the interest of accuracy.



          ² in Amazon S3 is where snapshot data is stored, but the buckets are owned and controlled by the EC2/EBS service, so the buckets are not visible in the console and the raw snapshot data isn't accessible to the end-user.






          share|improve this answer

























          • So the Amazon host, does a LVM (?) snapshot of lets say a 10GB volume. The entire volume (or non-zero blocks at least) are copied to S3. But so far it's not costing us anything..? Later we take another snapshot, where 100MB has changed. We are now charged for 100MB of storage?

            – Jepper
            Aug 21 '14 at 20:49











          • Not LVM, it's a raw block device snapshot, with no awareness of the actual filesystem. The first snapshot stores the entire volume, subsequent snapshots store the changes. You pay storage for both. Deleting either of the two will only reduce your cost by the cost of storing the changed blocks.

            – Michael - sqlbot
            Aug 21 '14 at 21:29













          6












          6








          6







          When you delete any EBS snapshot, if there's a later snapshot for the same volume, every block in the first snapshot that wasn't included in the later snapshot (because it didn't change) is logically rolled forward (in a sense) into the later snapshot, so the later snapshot is still perfectly valid when any or all earlier snapshots are deleted.



          Conceptually, you can also think of the snapshot process consisting of two separate pieces: the compressed,¹ backed-up data that is stored in chunks in Amazon S3² during the snapshot process, and then the snapshot itself, which is only a container of pointers to those chunks of raw data. Every snapshot references a particular archived data chunk for each block of the volume, and those chunks are fetched and reassembled when a snapshot is restored. When a snapshot is deleted, any archived data chunk that is no longer referenced by any other snapshot is purged, but any chunk referenced by any other snapshot... isn't.



          So you can freely delete any snapshot in a series, without impacting the validity of earlier or later snapshots. Note, though, that purging snapshots of volumes that don't change much will also not save you very much in monthly snapshot storage fees, because you already are paying very little for them, since they contain very little unique data.



          See also:



          https://stackoverflow.com/questions/19501192/confusion-over-ebs-snapshots-in-amazon/19503615#19503615



          How to determine actual size of an amazon snapshot?




          ¹ compressed ...well, maybe. The internal workings of EBS snapshots have always been a black box but when this answer was originally written in 2014, the conventional wisdom held that EBS compressed the backup chunks before storing them in S3. This may have been incorrect all along or may no longer be the case because it subsequently changed -- perhaps due to the fact that compressing already-encrypted data is much less efficient than compressing unencrypted data and EBS volumes are so easy to create with transparent encryption that the prevalence of encrypted volumes made the compression unproductive -- but there does not appear to be any official, documented source currently indicating that the backup data is actually compressed. The actual charge for snapshot storage is almost always substantially less than the logical size of the snapshot, so this particular detail is not necessarily important, but I've striken the word from the original answer, in the interest of accuracy.



          ² in Amazon S3 is where snapshot data is stored, but the buckets are owned and controlled by the EC2/EBS service, so the buckets are not visible in the console and the raw snapshot data isn't accessible to the end-user.






          share|improve this answer















          When you delete any EBS snapshot, if there's a later snapshot for the same volume, every block in the first snapshot that wasn't included in the later snapshot (because it didn't change) is logically rolled forward (in a sense) into the later snapshot, so the later snapshot is still perfectly valid when any or all earlier snapshots are deleted.



          Conceptually, you can also think of the snapshot process consisting of two separate pieces: the compressed,¹ backed-up data that is stored in chunks in Amazon S3² during the snapshot process, and then the snapshot itself, which is only a container of pointers to those chunks of raw data. Every snapshot references a particular archived data chunk for each block of the volume, and those chunks are fetched and reassembled when a snapshot is restored. When a snapshot is deleted, any archived data chunk that is no longer referenced by any other snapshot is purged, but any chunk referenced by any other snapshot... isn't.



          So you can freely delete any snapshot in a series, without impacting the validity of earlier or later snapshots. Note, though, that purging snapshots of volumes that don't change much will also not save you very much in monthly snapshot storage fees, because you already are paying very little for them, since they contain very little unique data.



          See also:



          https://stackoverflow.com/questions/19501192/confusion-over-ebs-snapshots-in-amazon/19503615#19503615



          How to determine actual size of an amazon snapshot?




          ¹ compressed ...well, maybe. The internal workings of EBS snapshots have always been a black box but when this answer was originally written in 2014, the conventional wisdom held that EBS compressed the backup chunks before storing them in S3. This may have been incorrect all along or may no longer be the case because it subsequently changed -- perhaps due to the fact that compressing already-encrypted data is much less efficient than compressing unencrypted data and EBS volumes are so easy to create with transparent encryption that the prevalence of encrypted volumes made the compression unproductive -- but there does not appear to be any official, documented source currently indicating that the backup data is actually compressed. The actual charge for snapshot storage is almost always substantially less than the logical size of the snapshot, so this particular detail is not necessarily important, but I've striken the word from the original answer, in the interest of accuracy.



          ² in Amazon S3 is where snapshot data is stored, but the buckets are owned and controlled by the EC2/EBS service, so the buckets are not visible in the console and the raw snapshot data isn't accessible to the end-user.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 5 at 14:56

























          answered Aug 18 '14 at 22:26









          Michael - sqlbotMichael - sqlbot

          16.5k3563




          16.5k3563












          • So the Amazon host, does a LVM (?) snapshot of lets say a 10GB volume. The entire volume (or non-zero blocks at least) are copied to S3. But so far it's not costing us anything..? Later we take another snapshot, where 100MB has changed. We are now charged for 100MB of storage?

            – Jepper
            Aug 21 '14 at 20:49











          • Not LVM, it's a raw block device snapshot, with no awareness of the actual filesystem. The first snapshot stores the entire volume, subsequent snapshots store the changes. You pay storage for both. Deleting either of the two will only reduce your cost by the cost of storing the changed blocks.

            – Michael - sqlbot
            Aug 21 '14 at 21:29

















          • So the Amazon host, does a LVM (?) snapshot of lets say a 10GB volume. The entire volume (or non-zero blocks at least) are copied to S3. But so far it's not costing us anything..? Later we take another snapshot, where 100MB has changed. We are now charged for 100MB of storage?

            – Jepper
            Aug 21 '14 at 20:49











          • Not LVM, it's a raw block device snapshot, with no awareness of the actual filesystem. The first snapshot stores the entire volume, subsequent snapshots store the changes. You pay storage for both. Deleting either of the two will only reduce your cost by the cost of storing the changed blocks.

            – Michael - sqlbot
            Aug 21 '14 at 21:29
















          So the Amazon host, does a LVM (?) snapshot of lets say a 10GB volume. The entire volume (or non-zero blocks at least) are copied to S3. But so far it's not costing us anything..? Later we take another snapshot, where 100MB has changed. We are now charged for 100MB of storage?

          – Jepper
          Aug 21 '14 at 20:49





          So the Amazon host, does a LVM (?) snapshot of lets say a 10GB volume. The entire volume (or non-zero blocks at least) are copied to S3. But so far it's not costing us anything..? Later we take another snapshot, where 100MB has changed. We are now charged for 100MB of storage?

          – Jepper
          Aug 21 '14 at 20:49













          Not LVM, it's a raw block device snapshot, with no awareness of the actual filesystem. The first snapshot stores the entire volume, subsequent snapshots store the changes. You pay storage for both. Deleting either of the two will only reduce your cost by the cost of storing the changed blocks.

          – Michael - sqlbot
          Aug 21 '14 at 21:29





          Not LVM, it's a raw block device snapshot, with no awareness of the actual filesystem. The first snapshot stores the entire volume, subsequent snapshots store the changes. You pay storage for both. Deleting either of the two will only reduce your cost by the cost of storing the changed blocks.

          – Michael - sqlbot
          Aug 21 '14 at 21:29

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f622211%2fwhat-happens-when-i-delete-the-first-of-several-aws-ebs-snapshots%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company