Capistrano make a new ami after deployHow to deploy to a single specific server using CapistranoUsing capistrano to deploy from different git branchesnew Capistrano version 2.6.0 deploy error: `sync' is not implemented by Capistrano::Deploy::SCM::None (rsync with remote cache)Autoscaling on EC2 with Rails & Capistrano DeploymentsCapistrano 3 is not deploying new codedeploying php with capistrano v3Capistrano invoke deploy multiple times?How to create AMI at runtime using AWS Lambda?Capistrano 3: way to handle different deploy flowsCapistrano and Auto-Scaling AWS

Meaning of じゃないんじゃない?

Different budgets within roommate group

Should I report a leak of confidential HR information?

How to organize members in a struct to waste least space on alignment?

Are gliders susceptible to bird strikes?

How did installing this RPM create a file?

What exactly did Ant-Man see that made him say that their plan worked?

How can I deal with extreme temperatures in a hotel room?

Was it really unprofessional of me to leave without asking for a raise first?

What's the rule for a natural 20 on a Perception check?

Is it okay to fade a human face just to create some space to place important content over it?

Why won't the ground take my seed?

Can White Castle? #3

Can a nowhere continuous function have a connected graph?

Adjective for 'made of pus' or 'corrupted by pus' or something of something of pus

Why is Japan trying to have a better relationship with Iran?

Is there reliable evidence that depleted uranium from the 1999 NATO bombing is causing cancer in Serbia?

Could a Weapon of Mass Destruction, targeting only humans, be developed?

How can a valley surrounded by mountains be fertile and rainy?

I hit a pipe with a mower and now it won't turn

How to securely dispose of a smartphone?

Losing queen and then winning the game

Sharing referee/AE report online to point out a grievous error in refereeing

Can the Raspberry Pi 4 better distribute Python scripts to all four cores?



Capistrano make a new ami after deploy


How to deploy to a single specific server using CapistranoUsing capistrano to deploy from different git branchesnew Capistrano version 2.6.0 deploy error: `sync' is not implemented by Capistrano::Deploy::SCM::None (rsync with remote cache)Autoscaling on EC2 with Rails & Capistrano DeploymentsCapistrano 3 is not deploying new codedeploying php with capistrano v3Capistrano invoke deploy multiple times?How to create AMI at runtime using AWS Lambda?Capistrano 3: way to handle different deploy flowsCapistrano and Auto-Scaling AWS






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have a multi-server deploy happening on AWS.



I have a requirement where after deploy I need to create a new AMI and update my autoscaling group to use this new AMI.



What is the best approach to do this using Capistrano.










share|improve this question






























    0















    I have a multi-server deploy happening on AWS.



    I have a requirement where after deploy I need to create a new AMI and update my autoscaling group to use this new AMI.



    What is the best approach to do this using Capistrano.










    share|improve this question


























      0












      0








      0








      I have a multi-server deploy happening on AWS.



      I have a requirement where after deploy I need to create a new AMI and update my autoscaling group to use this new AMI.



      What is the best approach to do this using Capistrano.










      share|improve this question
















      I have a multi-server deploy happening on AWS.



      I have a requirement where after deploy I need to create a new AMI and update my autoscaling group to use this new AMI.



      What is the best approach to do this using Capistrano.







      amazon-web-services capistrano capistrano3






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 25 at 13:15







      Qaiser Wali

















      asked Mar 25 at 12:52









      Qaiser WaliQaiser Wali

      1863 silver badges20 bronze badges




      1863 silver badges20 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Using CodeDeploy directly might be your best bet. However, you can write a Capistrano task using the AWS SDK to do whatever you want (it's just Ruby).






          share|improve this answer























          • Will CodeDeploy update the AMI and also set up the autoscaling process?

            – Qaiser Wali
            Mar 25 at 14:48











          • I'm not very familiar with the specifics of CodeDeploy, I just have a similar setup at my company (done by others). My understanding is that codedeploy has an agent that runs on the EC2 instances and updates them, then newly started instances due to autoscaling know how to set themselves up with new code. If you want to bake the application into the AMI, I have no experience with that. If you want to pursue CodeDeploy, you probably should make a new SO question about that so you get better help. (Alternatively, Docker and ECS are great here, but that's not your question. :)

            – will_in_wi
            Mar 26 at 15:40











          • I went the shell script route and using CLI am able to create the AMI after deploy.

            – Qaiser Wali
            Mar 27 at 16:04










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          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%2fstackoverflow.com%2fquestions%2f55338262%2fcapistrano-make-a-new-ami-after-deploy%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









          0














          Using CodeDeploy directly might be your best bet. However, you can write a Capistrano task using the AWS SDK to do whatever you want (it's just Ruby).






          share|improve this answer























          • Will CodeDeploy update the AMI and also set up the autoscaling process?

            – Qaiser Wali
            Mar 25 at 14:48











          • I'm not very familiar with the specifics of CodeDeploy, I just have a similar setup at my company (done by others). My understanding is that codedeploy has an agent that runs on the EC2 instances and updates them, then newly started instances due to autoscaling know how to set themselves up with new code. If you want to bake the application into the AMI, I have no experience with that. If you want to pursue CodeDeploy, you probably should make a new SO question about that so you get better help. (Alternatively, Docker and ECS are great here, but that's not your question. :)

            – will_in_wi
            Mar 26 at 15:40











          • I went the shell script route and using CLI am able to create the AMI after deploy.

            – Qaiser Wali
            Mar 27 at 16:04















          0














          Using CodeDeploy directly might be your best bet. However, you can write a Capistrano task using the AWS SDK to do whatever you want (it's just Ruby).






          share|improve this answer























          • Will CodeDeploy update the AMI and also set up the autoscaling process?

            – Qaiser Wali
            Mar 25 at 14:48











          • I'm not very familiar with the specifics of CodeDeploy, I just have a similar setup at my company (done by others). My understanding is that codedeploy has an agent that runs on the EC2 instances and updates them, then newly started instances due to autoscaling know how to set themselves up with new code. If you want to bake the application into the AMI, I have no experience with that. If you want to pursue CodeDeploy, you probably should make a new SO question about that so you get better help. (Alternatively, Docker and ECS are great here, but that's not your question. :)

            – will_in_wi
            Mar 26 at 15:40











          • I went the shell script route and using CLI am able to create the AMI after deploy.

            – Qaiser Wali
            Mar 27 at 16:04













          0












          0








          0







          Using CodeDeploy directly might be your best bet. However, you can write a Capistrano task using the AWS SDK to do whatever you want (it's just Ruby).






          share|improve this answer













          Using CodeDeploy directly might be your best bet. However, you can write a Capistrano task using the AWS SDK to do whatever you want (it's just Ruby).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 25 at 14:20









          will_in_wiwill_in_wi

          2,1901 gold badge11 silver badges20 bronze badges




          2,1901 gold badge11 silver badges20 bronze badges












          • Will CodeDeploy update the AMI and also set up the autoscaling process?

            – Qaiser Wali
            Mar 25 at 14:48











          • I'm not very familiar with the specifics of CodeDeploy, I just have a similar setup at my company (done by others). My understanding is that codedeploy has an agent that runs on the EC2 instances and updates them, then newly started instances due to autoscaling know how to set themselves up with new code. If you want to bake the application into the AMI, I have no experience with that. If you want to pursue CodeDeploy, you probably should make a new SO question about that so you get better help. (Alternatively, Docker and ECS are great here, but that's not your question. :)

            – will_in_wi
            Mar 26 at 15:40











          • I went the shell script route and using CLI am able to create the AMI after deploy.

            – Qaiser Wali
            Mar 27 at 16:04

















          • Will CodeDeploy update the AMI and also set up the autoscaling process?

            – Qaiser Wali
            Mar 25 at 14:48











          • I'm not very familiar with the specifics of CodeDeploy, I just have a similar setup at my company (done by others). My understanding is that codedeploy has an agent that runs on the EC2 instances and updates them, then newly started instances due to autoscaling know how to set themselves up with new code. If you want to bake the application into the AMI, I have no experience with that. If you want to pursue CodeDeploy, you probably should make a new SO question about that so you get better help. (Alternatively, Docker and ECS are great here, but that's not your question. :)

            – will_in_wi
            Mar 26 at 15:40











          • I went the shell script route and using CLI am able to create the AMI after deploy.

            – Qaiser Wali
            Mar 27 at 16:04
















          Will CodeDeploy update the AMI and also set up the autoscaling process?

          – Qaiser Wali
          Mar 25 at 14:48





          Will CodeDeploy update the AMI and also set up the autoscaling process?

          – Qaiser Wali
          Mar 25 at 14:48













          I'm not very familiar with the specifics of CodeDeploy, I just have a similar setup at my company (done by others). My understanding is that codedeploy has an agent that runs on the EC2 instances and updates them, then newly started instances due to autoscaling know how to set themselves up with new code. If you want to bake the application into the AMI, I have no experience with that. If you want to pursue CodeDeploy, you probably should make a new SO question about that so you get better help. (Alternatively, Docker and ECS are great here, but that's not your question. :)

          – will_in_wi
          Mar 26 at 15:40





          I'm not very familiar with the specifics of CodeDeploy, I just have a similar setup at my company (done by others). My understanding is that codedeploy has an agent that runs on the EC2 instances and updates them, then newly started instances due to autoscaling know how to set themselves up with new code. If you want to bake the application into the AMI, I have no experience with that. If you want to pursue CodeDeploy, you probably should make a new SO question about that so you get better help. (Alternatively, Docker and ECS are great here, but that's not your question. :)

          – will_in_wi
          Mar 26 at 15:40













          I went the shell script route and using CLI am able to create the AMI after deploy.

          – Qaiser Wali
          Mar 27 at 16:04





          I went the shell script route and using CLI am able to create the AMI after deploy.

          – Qaiser Wali
          Mar 27 at 16:04








          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • 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%2fstackoverflow.com%2fquestions%2f55338262%2fcapistrano-make-a-new-ami-after-deploy%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

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현