Hosting Wordpress in a EC2 Load Balanced InstanceSimple Backup Strategy for Amazon EC2 instances / volumes?What's the easiest way to auto-backup an EC2 instance?Amazon EC2 terminology - AMI vs. EBS vs. Snapshot vs. VolumeCreate Windows AMI with instance storageAmazon EC2 and EBSHow to use “Instance Store Volumes” storage in Amazon EC2?installing glusterfs on amazon ec2Where's my ephemeral storage for EC2 InstanceCan I use MongoDB with Amazon EC2 small instance?AWS Windows EC2 instance: daily EBS snapshot without downtime

Is every set a filtered colimit of finite sets?

Add an angle to a sphere

Is this food a bread or a loaf?

Prime joint compound before latex paint?

Why was the "bread communication" in the arena of Catching Fire left out in the movie?

Piano - What is the notation for a double stop where both notes in the double stop are different lengths?

Re-submission of rejected manuscript without informing co-authors

Domain expired, GoDaddy holds it and is asking more money

Is there a familial term for apples and pears?

Hosting Wordpress in a EC2 Load Balanced Instance

What is the offset in a seaplane's hull?

Denied boarding due to overcrowding, Sparpreis ticket. What are my rights?

Are objects structures and/or vice versa?

Why do UK politicians seemingly ignore opinion polls on Brexit?

Email Account under attack (really) - anything I can do?

Symmetry in quantum mechanics

What is the meaning of "of trouble" in the following sentence?

Can I find out the caloric content of bread by dehydrating it?

What is GPS' 19 year rollover and does it present a cybersecurity issue?

Are cabin dividers used to "hide" the flex of the airplane?

Eliminate empty elements from a list with a specific pattern

COUNT(*) or MAX(id) - which is faster?

Why do we use polarized capacitors?

Can a planet have a different gravitational pull depending on its location in orbit around its sun?



Hosting Wordpress in a EC2 Load Balanced Instance


Simple Backup Strategy for Amazon EC2 instances / volumes?What's the easiest way to auto-backup an EC2 instance?Amazon EC2 terminology - AMI vs. EBS vs. Snapshot vs. VolumeCreate Windows AMI with instance storageAmazon EC2 and EBSHow to use “Instance Store Volumes” storage in Amazon EC2?installing glusterfs on amazon ec2Where's my ephemeral storage for EC2 InstanceCan I use MongoDB with Amazon EC2 small instance?AWS Windows EC2 instance: daily EBS snapshot without downtime






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








1















Whenever my ec2 instance is stopped or rebooted, a new instance is made with an AMI.



This normally is fine for applications that are managed with a service like puppet but our Wordpress site is not. I have to do a manual restore/upgrade to the latest wordpress from daily backups.



Is there a way to host wordpress on an amazon instance with some kind of persistence storage for the wordpress files?



I know about EBS volumes but I'm not sure how to get /var/app/current to "store there".










share|improve this question






























    1















    Whenever my ec2 instance is stopped or rebooted, a new instance is made with an AMI.



    This normally is fine for applications that are managed with a service like puppet but our Wordpress site is not. I have to do a manual restore/upgrade to the latest wordpress from daily backups.



    Is there a way to host wordpress on an amazon instance with some kind of persistence storage for the wordpress files?



    I know about EBS volumes but I'm not sure how to get /var/app/current to "store there".










    share|improve this question


























      1












      1








      1








      Whenever my ec2 instance is stopped or rebooted, a new instance is made with an AMI.



      This normally is fine for applications that are managed with a service like puppet but our Wordpress site is not. I have to do a manual restore/upgrade to the latest wordpress from daily backups.



      Is there a way to host wordpress on an amazon instance with some kind of persistence storage for the wordpress files?



      I know about EBS volumes but I'm not sure how to get /var/app/current to "store there".










      share|improve this question
















      Whenever my ec2 instance is stopped or rebooted, a new instance is made with an AMI.



      This normally is fine for applications that are managed with a service like puppet but our Wordpress site is not. I have to do a manual restore/upgrade to the latest wordpress from daily backups.



      Is there a way to host wordpress on an amazon instance with some kind of persistence storage for the wordpress files?



      I know about EBS volumes but I'm not sure how to get /var/app/current to "store there".







      amazon-ec2 wordpress






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 4 hours ago







      bobber205

















      asked 4 hours ago









      bobber205bobber205

      1761415




      1761415




















          2 Answers
          2






          active

          oldest

          votes


















          2














          You should be using EFS volumes for shared storage, like the wp-content folder, and RDS for the database. EBS won't help you for this.



          AWS has a good pattern available here. It links to templates and such on Github here.



          AWS Wordpress



          There's another pattern available here as well that gives you a full deployment guide.



          Lightsail



          AWS is great for Wordress if you need high availability or have a very high load. AWS Lightsail makes Wordpress easy, though not highly available, and it can be much cheaper than EC2 especially if you use a lot of bandwidth.






          share|improve this answer























          • Thanks so much!!!!!

            – bobber205
            2 hours ago


















          1














          Stab in the dark here:




          Whenever my ec2 instance is stopped or rebooted, a new instance is made with an AMI.




          Most likely your EC2 instance is controlled by Auto Scaling. So when the instance is stopped, Auto Scaling determines that it's "unhealthy", terminates it, then replaces it. That's why you're losing your data.



          To avoid this, create a new EC2 instance that's not controlled by Auto Scaling. This way, you can start and stop it without it being replaced. The EBS volume will retain the data through the stops and restarts.




          Is there a way to host wordpress on an amazon instance with some kind of persistence storage for the wordpress files?




          EBS-backed EC2 instances do provide the persistent storage you're looking for. However, I think the issue is that the act of stopping the EC2 instance is terminating and re-creating the instance.






          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%2f962097%2fhosting-wordpress-in-a-ec2-load-balanced-instance%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            You should be using EFS volumes for shared storage, like the wp-content folder, and RDS for the database. EBS won't help you for this.



            AWS has a good pattern available here. It links to templates and such on Github here.



            AWS Wordpress



            There's another pattern available here as well that gives you a full deployment guide.



            Lightsail



            AWS is great for Wordress if you need high availability or have a very high load. AWS Lightsail makes Wordpress easy, though not highly available, and it can be much cheaper than EC2 especially if you use a lot of bandwidth.






            share|improve this answer























            • Thanks so much!!!!!

              – bobber205
              2 hours ago















            2














            You should be using EFS volumes for shared storage, like the wp-content folder, and RDS for the database. EBS won't help you for this.



            AWS has a good pattern available here. It links to templates and such on Github here.



            AWS Wordpress



            There's another pattern available here as well that gives you a full deployment guide.



            Lightsail



            AWS is great for Wordress if you need high availability or have a very high load. AWS Lightsail makes Wordpress easy, though not highly available, and it can be much cheaper than EC2 especially if you use a lot of bandwidth.






            share|improve this answer























            • Thanks so much!!!!!

              – bobber205
              2 hours ago













            2












            2








            2







            You should be using EFS volumes for shared storage, like the wp-content folder, and RDS for the database. EBS won't help you for this.



            AWS has a good pattern available here. It links to templates and such on Github here.



            AWS Wordpress



            There's another pattern available here as well that gives you a full deployment guide.



            Lightsail



            AWS is great for Wordress if you need high availability or have a very high load. AWS Lightsail makes Wordpress easy, though not highly available, and it can be much cheaper than EC2 especially if you use a lot of bandwidth.






            share|improve this answer













            You should be using EFS volumes for shared storage, like the wp-content folder, and RDS for the database. EBS won't help you for this.



            AWS has a good pattern available here. It links to templates and such on Github here.



            AWS Wordpress



            There's another pattern available here as well that gives you a full deployment guide.



            Lightsail



            AWS is great for Wordress if you need high availability or have a very high load. AWS Lightsail makes Wordpress easy, though not highly available, and it can be much cheaper than EC2 especially if you use a lot of bandwidth.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 3 hours ago









            TimTim

            18k41949




            18k41949












            • Thanks so much!!!!!

              – bobber205
              2 hours ago

















            • Thanks so much!!!!!

              – bobber205
              2 hours ago
















            Thanks so much!!!!!

            – bobber205
            2 hours ago





            Thanks so much!!!!!

            – bobber205
            2 hours ago













            1














            Stab in the dark here:




            Whenever my ec2 instance is stopped or rebooted, a new instance is made with an AMI.




            Most likely your EC2 instance is controlled by Auto Scaling. So when the instance is stopped, Auto Scaling determines that it's "unhealthy", terminates it, then replaces it. That's why you're losing your data.



            To avoid this, create a new EC2 instance that's not controlled by Auto Scaling. This way, you can start and stop it without it being replaced. The EBS volume will retain the data through the stops and restarts.




            Is there a way to host wordpress on an amazon instance with some kind of persistence storage for the wordpress files?




            EBS-backed EC2 instances do provide the persistent storage you're looking for. However, I think the issue is that the act of stopping the EC2 instance is terminating and re-creating the instance.






            share|improve this answer



























              1














              Stab in the dark here:




              Whenever my ec2 instance is stopped or rebooted, a new instance is made with an AMI.




              Most likely your EC2 instance is controlled by Auto Scaling. So when the instance is stopped, Auto Scaling determines that it's "unhealthy", terminates it, then replaces it. That's why you're losing your data.



              To avoid this, create a new EC2 instance that's not controlled by Auto Scaling. This way, you can start and stop it without it being replaced. The EBS volume will retain the data through the stops and restarts.




              Is there a way to host wordpress on an amazon instance with some kind of persistence storage for the wordpress files?




              EBS-backed EC2 instances do provide the persistent storage you're looking for. However, I think the issue is that the act of stopping the EC2 instance is terminating and re-creating the instance.






              share|improve this answer

























                1












                1








                1







                Stab in the dark here:




                Whenever my ec2 instance is stopped or rebooted, a new instance is made with an AMI.




                Most likely your EC2 instance is controlled by Auto Scaling. So when the instance is stopped, Auto Scaling determines that it's "unhealthy", terminates it, then replaces it. That's why you're losing your data.



                To avoid this, create a new EC2 instance that's not controlled by Auto Scaling. This way, you can start and stop it without it being replaced. The EBS volume will retain the data through the stops and restarts.




                Is there a way to host wordpress on an amazon instance with some kind of persistence storage for the wordpress files?




                EBS-backed EC2 instances do provide the persistent storage you're looking for. However, I think the issue is that the act of stopping the EC2 instance is terminating and re-creating the instance.






                share|improve this answer













                Stab in the dark here:




                Whenever my ec2 instance is stopped or rebooted, a new instance is made with an AMI.




                Most likely your EC2 instance is controlled by Auto Scaling. So when the instance is stopped, Auto Scaling determines that it's "unhealthy", terminates it, then replaces it. That's why you're losing your data.



                To avoid this, create a new EC2 instance that's not controlled by Auto Scaling. This way, you can start and stop it without it being replaced. The EBS volume will retain the data through the stops and restarts.




                Is there a way to host wordpress on an amazon instance with some kind of persistence storage for the wordpress files?




                EBS-backed EC2 instances do provide the persistent storage you're looking for. However, I think the issue is that the act of stopping the EC2 instance is terminating and re-creating the instance.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 hours ago









                Matt HouserMatt Houser

                7,7791518




                7,7791518



























                    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%2f962097%2fhosting-wordpress-in-a-ec2-load-balanced-instance%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

                    Are there any AGPL-style licences that require source code modifications to be public? Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Force derivative works to be publicAre there any GPL like licenses for Apple App Store?Do you violate the GPL if you provide source code that cannot be compiled?GPL - is it distribution to use libraries in an appliance loaned to customers?Distributing App for free which uses GPL'ed codeModifications of server software under GPL, with web/CLI interfaceDoes using an AGPLv3-licensed library prevent me from dual-licensing my own source code?Can I publish only select code under GPLv3 from a private project?Is there published precedent regarding the scope of covered work that uses AGPL software?If MIT licensed code links to GPL licensed code what should be the license of the resulting binary program?If I use a public API endpoint that has its source code licensed under AGPL in my app, do I need to disclose my source?

                    2013 GY136 Descoberta | Órbita | Referências Menu de navegação«List Of Centaurs and Scattered-Disk Objects»«List of Known Trans-Neptunian Objects»

                    Button changing it's text & action. Good or terrible? The 2019 Stack Overflow Developer Survey Results Are Inchanging text on user mouseoverShould certain functions be “hard to find” for powerusers to discover?Custom liking function - do I need user login?Using different checkbox style for different checkbox behaviorBest Practices: Save and Exit in Software UIInteraction with remote validated formMore efficient UI to progress the user through a complicated process?Designing a popup notice for a gameShould bulk-editing functions be hidden until a table row is selected, or is there a better solution?Is it bad practice to disable (replace) the context menu?