Can I use ZFS to replicate (fast) EC2 instance store to (slow) EBS store?Can I re-attach a (ZFS) EBS volume when starting a new EC2 instance?trouble attaching ebs volume to ec2 instanceSwitching from Amazon EC2 instance-store to EBS VolumeMoving from Rackspace to EC2 - EBS vs. instance storeEC2 Instance Store to EBS Can't connect to SSHAmazon EBS store vs Instance Store with Termination turned off?Terminate EC2 instance and not root EBS (Attached root EBS to new instance)Point existing EBS to new EC2 instanceBooting an EC2 instance from an existing EBS volumeRestoring data after zfs destroy

When and why did journal article titles become descriptive, rather than creatively allusive?

Why does nature favour the Laplacian?

Do I have to worry about players making “bad” choices on level up?

When to use 1/Ka vs Kb

Why does the Betti number give the measure of k-dimensional holes?

Why do Ichisongas hate elephants and hippos?

How to replace the "space symbol" (squat-u) in listings?

Stark VS Thanos

Past Perfect Tense

How can I get precisely a certain cubic cm by changing the following factors?

How to create an ad-hoc wireless network in Ubuntu

How to pass attribute when redirecting from lwc to aura component

Will tsunami waves travel forever if there was no land?

Do I have an "anti-research" personality?

What is the difference between `a[bc]d` (brackets) and `ab,cd` (braces)?

What does "rf" mean in "rfkill"?

Sci-fi novel series with instant travel between planets through gates. A river runs through the gates

Why “le” behind?

Is it possible to Ready a spell to be cast just before the start of your next turn by having the trigger be an ally's attack?

Reverse the word in a string with the same order in javascript

What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?

Were there two appearances of Stan Lee?

Modify locally tikzset

Colliding particles and Activation energy



Can I use ZFS to replicate (fast) EC2 instance store to (slow) EBS store?


Can I re-attach a (ZFS) EBS volume when starting a new EC2 instance?trouble attaching ebs volume to ec2 instanceSwitching from Amazon EC2 instance-store to EBS VolumeMoving from Rackspace to EC2 - EBS vs. instance storeEC2 Instance Store to EBS Can't connect to SSHAmazon EBS store vs Instance Store with Termination turned off?Terminate EC2 instance and not root EBS (Attached root EBS to new instance)Point existing EBS to new EC2 instanceBooting an EC2 instance from an existing EBS volumeRestoring data after zfs destroy






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








2















I love the idea of using SSD EBS instance stores as L2ARC and ZIL for a zpool backed by EBS.



Going further (and into more dangerous territory), could I instead create a zpool mirror with the 2 instance stores:



zpool create vol1 mirror xvdb xvdc



and then use ZFS snapshotting/replication to keep a "warm"/eventually consistent spare on EBS?



  • I would be OK with losing a few seconds of data

  • I don't want to add the EBS as a hot spare, because that would limit the speed of the whole pool









share|improve this question






















  • I wouldn't recommend. The cloud isn't really a good application for ZFS in this manner.

    – ewwhite
    Jun 27 '14 at 21:44











  • This is contradicting. Not getting into implementation details, how can a slow storage keep-up replicating a fast one? It can't. Use EBS with S3 snapshots. That's the single most important benefit of using an expensive AWS server, S3 snapshot capability. If you don't want that, just use a cheap VPS from elswhere.

    – sivann
    May 29 '15 at 8:20

















2















I love the idea of using SSD EBS instance stores as L2ARC and ZIL for a zpool backed by EBS.



Going further (and into more dangerous territory), could I instead create a zpool mirror with the 2 instance stores:



zpool create vol1 mirror xvdb xvdc



and then use ZFS snapshotting/replication to keep a "warm"/eventually consistent spare on EBS?



  • I would be OK with losing a few seconds of data

  • I don't want to add the EBS as a hot spare, because that would limit the speed of the whole pool









share|improve this question






















  • I wouldn't recommend. The cloud isn't really a good application for ZFS in this manner.

    – ewwhite
    Jun 27 '14 at 21:44











  • This is contradicting. Not getting into implementation details, how can a slow storage keep-up replicating a fast one? It can't. Use EBS with S3 snapshots. That's the single most important benefit of using an expensive AWS server, S3 snapshot capability. If you don't want that, just use a cheap VPS from elswhere.

    – sivann
    May 29 '15 at 8:20













2












2








2


1






I love the idea of using SSD EBS instance stores as L2ARC and ZIL for a zpool backed by EBS.



Going further (and into more dangerous territory), could I instead create a zpool mirror with the 2 instance stores:



zpool create vol1 mirror xvdb xvdc



and then use ZFS snapshotting/replication to keep a "warm"/eventually consistent spare on EBS?



  • I would be OK with losing a few seconds of data

  • I don't want to add the EBS as a hot spare, because that would limit the speed of the whole pool









share|improve this question














I love the idea of using SSD EBS instance stores as L2ARC and ZIL for a zpool backed by EBS.



Going further (and into more dangerous territory), could I instead create a zpool mirror with the 2 instance stores:



zpool create vol1 mirror xvdb xvdc



and then use ZFS snapshotting/replication to keep a "warm"/eventually consistent spare on EBS?



  • I would be OK with losing a few seconds of data

  • I don't want to add the EBS as a hot spare, because that would limit the speed of the whole pool






amazon-ec2 zfs amazon-ebs






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 27 '14 at 21:28









Seamus AbshereSeamus Abshere

498510




498510












  • I wouldn't recommend. The cloud isn't really a good application for ZFS in this manner.

    – ewwhite
    Jun 27 '14 at 21:44











  • This is contradicting. Not getting into implementation details, how can a slow storage keep-up replicating a fast one? It can't. Use EBS with S3 snapshots. That's the single most important benefit of using an expensive AWS server, S3 snapshot capability. If you don't want that, just use a cheap VPS from elswhere.

    – sivann
    May 29 '15 at 8:20

















  • I wouldn't recommend. The cloud isn't really a good application for ZFS in this manner.

    – ewwhite
    Jun 27 '14 at 21:44











  • This is contradicting. Not getting into implementation details, how can a slow storage keep-up replicating a fast one? It can't. Use EBS with S3 snapshots. That's the single most important benefit of using an expensive AWS server, S3 snapshot capability. If you don't want that, just use a cheap VPS from elswhere.

    – sivann
    May 29 '15 at 8:20
















I wouldn't recommend. The cloud isn't really a good application for ZFS in this manner.

– ewwhite
Jun 27 '14 at 21:44





I wouldn't recommend. The cloud isn't really a good application for ZFS in this manner.

– ewwhite
Jun 27 '14 at 21:44













This is contradicting. Not getting into implementation details, how can a slow storage keep-up replicating a fast one? It can't. Use EBS with S3 snapshots. That's the single most important benefit of using an expensive AWS server, S3 snapshot capability. If you don't want that, just use a cheap VPS from elswhere.

– sivann
May 29 '15 at 8:20





This is contradicting. Not getting into implementation details, how can a slow storage keep-up replicating a fast one? It can't. Use EBS with S3 snapshots. That's the single most important benefit of using an expensive AWS server, S3 snapshot capability. If you don't want that, just use a cheap VPS from elswhere.

– sivann
May 29 '15 at 8:20










3 Answers
3






active

oldest

votes


















1














Seems to me a perfectly acceptable setup if your spare writes to EBS (and you snapshot that), and you have some failover scenario, as obviously restoring your instance store cost time.



What you describe was actually the only setup we had before we had EBS. People survived for years doing exactly that.



Finally, Netflix moved away from EBS backed disks due to extra risk of failure. They just replicate using instance storage (using Casandra).






share|improve this answer






























    1














    I would not mix such different disks in a mirrored volumes. I would rather use frequent send/receive iterations to have consistent, point-in-time backups of the main volume.






    share|improve this answer






























      1














      I would suggest not to mirror the drives. Instead, create 2 zpools with one drive each, one with the ephemeral drive then another with the EBS drive. Create a dataset then zfs send at frequent intervals to the EBS zpool from the ephemeral zpool snapshots. You can easily grow the EBS drive and zpool while your zpool is online using aws cli to grow the EBS snapshot, fdisk, parted and zpool online -e (expand). With snapshots rotation you could save space. For example, keep only the last 24hrs snapshot - if you perform a snapshot and send/recv in 10 minutes interval you would keep at a minimum 144 snapshots in a day.






      share|improve this answer























        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%2f608543%2fcan-i-use-zfs-to-replicate-fast-ec2-instance-store-to-slow-ebs-store%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        1














        Seems to me a perfectly acceptable setup if your spare writes to EBS (and you snapshot that), and you have some failover scenario, as obviously restoring your instance store cost time.



        What you describe was actually the only setup we had before we had EBS. People survived for years doing exactly that.



        Finally, Netflix moved away from EBS backed disks due to extra risk of failure. They just replicate using instance storage (using Casandra).






        share|improve this answer



























          1














          Seems to me a perfectly acceptable setup if your spare writes to EBS (and you snapshot that), and you have some failover scenario, as obviously restoring your instance store cost time.



          What you describe was actually the only setup we had before we had EBS. People survived for years doing exactly that.



          Finally, Netflix moved away from EBS backed disks due to extra risk of failure. They just replicate using instance storage (using Casandra).






          share|improve this answer

























            1












            1








            1







            Seems to me a perfectly acceptable setup if your spare writes to EBS (and you snapshot that), and you have some failover scenario, as obviously restoring your instance store cost time.



            What you describe was actually the only setup we had before we had EBS. People survived for years doing exactly that.



            Finally, Netflix moved away from EBS backed disks due to extra risk of failure. They just replicate using instance storage (using Casandra).






            share|improve this answer













            Seems to me a perfectly acceptable setup if your spare writes to EBS (and you snapshot that), and you have some failover scenario, as obviously restoring your instance store cost time.



            What you describe was actually the only setup we had before we had EBS. People survived for years doing exactly that.



            Finally, Netflix moved away from EBS backed disks due to extra risk of failure. They just replicate using instance storage (using Casandra).







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 29 '15 at 7:09









            Berend de BoerBerend de Boer

            1213




            1213























                1














                I would not mix such different disks in a mirrored volumes. I would rather use frequent send/receive iterations to have consistent, point-in-time backups of the main volume.






                share|improve this answer



























                  1














                  I would not mix such different disks in a mirrored volumes. I would rather use frequent send/receive iterations to have consistent, point-in-time backups of the main volume.






                  share|improve this answer

























                    1












                    1








                    1







                    I would not mix such different disks in a mirrored volumes. I would rather use frequent send/receive iterations to have consistent, point-in-time backups of the main volume.






                    share|improve this answer













                    I would not mix such different disks in a mirrored volumes. I would rather use frequent send/receive iterations to have consistent, point-in-time backups of the main volume.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered May 29 '15 at 9:13









                    shodanshokshodanshok

                    26.9k34889




                    26.9k34889





















                        1














                        I would suggest not to mirror the drives. Instead, create 2 zpools with one drive each, one with the ephemeral drive then another with the EBS drive. Create a dataset then zfs send at frequent intervals to the EBS zpool from the ephemeral zpool snapshots. You can easily grow the EBS drive and zpool while your zpool is online using aws cli to grow the EBS snapshot, fdisk, parted and zpool online -e (expand). With snapshots rotation you could save space. For example, keep only the last 24hrs snapshot - if you perform a snapshot and send/recv in 10 minutes interval you would keep at a minimum 144 snapshots in a day.






                        share|improve this answer



























                          1














                          I would suggest not to mirror the drives. Instead, create 2 zpools with one drive each, one with the ephemeral drive then another with the EBS drive. Create a dataset then zfs send at frequent intervals to the EBS zpool from the ephemeral zpool snapshots. You can easily grow the EBS drive and zpool while your zpool is online using aws cli to grow the EBS snapshot, fdisk, parted and zpool online -e (expand). With snapshots rotation you could save space. For example, keep only the last 24hrs snapshot - if you perform a snapshot and send/recv in 10 minutes interval you would keep at a minimum 144 snapshots in a day.






                          share|improve this answer

























                            1












                            1








                            1







                            I would suggest not to mirror the drives. Instead, create 2 zpools with one drive each, one with the ephemeral drive then another with the EBS drive. Create a dataset then zfs send at frequent intervals to the EBS zpool from the ephemeral zpool snapshots. You can easily grow the EBS drive and zpool while your zpool is online using aws cli to grow the EBS snapshot, fdisk, parted and zpool online -e (expand). With snapshots rotation you could save space. For example, keep only the last 24hrs snapshot - if you perform a snapshot and send/recv in 10 minutes interval you would keep at a minimum 144 snapshots in a day.






                            share|improve this answer













                            I would suggest not to mirror the drives. Instead, create 2 zpools with one drive each, one with the ephemeral drive then another with the EBS drive. Create a dataset then zfs send at frequent intervals to the EBS zpool from the ephemeral zpool snapshots. You can easily grow the EBS drive and zpool while your zpool is online using aws cli to grow the EBS snapshot, fdisk, parted and zpool online -e (expand). With snapshots rotation you could save space. For example, keep only the last 24hrs snapshot - if you perform a snapshot and send/recv in 10 minutes interval you would keep at a minimum 144 snapshots in a day.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Apr 21 at 21:33









                            soyayixsoyayix

                            212




                            212



























                                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%2f608543%2fcan-i-use-zfs-to-replicate-fast-ec2-instance-store-to-slow-ebs-store%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 - Тарых жана география Навигация менюсу

                                Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

                                Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070