<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="2438" data-post-id="2438">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="kofno" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kofno/120/164_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  kofno
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks for the feedback! Tremendously helpful. I’ve had some good experience with Heroku on other platforms (Rails, Node), but I was curious how Elixir and Phoenix would perform, since that’s how I’m building my current side project.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="2438" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-deployment-options/289/32">Post #31</a>
	                </div>
	            </div>
              <div id="likers-container-2438" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="2438"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #31"></div>
  </section>
</div>
    <div class="postbit" id="2456" data-post-id="2456">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="keathley" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/keathley/120/2652_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  keathley
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>We’ve been using Heroku to host our Elixir / Phoenix apps here at Carbon Five. Not being able to use observer and such is annoying but otherwise there haven’t been too many issues or gotchas. Overall its been a pretty good experience.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="2456" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-deployment-options/289/33">Post #32</a>
	                </div>
	            </div>
              <div id="likers-container-2456" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="2456"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #32"></div>
  </section>
</div>
    <div class="postbit" id="2531" data-post-id="2531">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="hilarycheng" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  hilarycheng
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I am using DigitialOcean to host my company projects. It is so far so good.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="2531" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-deployment-options/289/34">Post #33</a>
	                </div>
	            </div>
              <div id="likers-container-2531" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="2531"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #33"></div>
  </section>
</div>
    <div class="postbit" id="2536" data-post-id="2536">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="kofno" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kofno/120/164_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  kofno
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I think I’d be more inclined to go with DigitalOcean if they had an RDS-ish offering of some sort.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="2536" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-deployment-options/289/35">Post #34</a>
	                </div>
	            </div>
              <div id="likers-container-2536" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="2536"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #34"></div>
  </section>
</div>
    <div class="postbit" id="3228" data-post-id="3228">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="rafadc" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rafadc/120/564_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  rafadc
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I’m doing a bit of necromancy here raising this thread from the dead but these days I rediscovered <a href="https://github.com/dokku/dokku" rel="noopener nofollow ugc">dokku</a>. For my personal projects I’m going back to the 20$/month server and <a href="https://github.com/dokku/dokku" rel="noopener nofollow ugc">dokku</a> instead of the small instance per application. Cheaper and faster. The resources are easily and more optimally distributed between different applications. In the long run I found it cheaper. <img src="https://forum.elixirforum.com/images/emoji/apple/stuck_out_tongue.png?v=15" title=":stuck_out_tongue:" class="emoji" alt=":stuck_out_tongue:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="3228" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-deployment-options/289/36">Post #35</a>
	                </div>
	            </div>
              <div id="likers-container-3228" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="3228"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #35"></div>
  </section>
</div>
    <div class="postbit" id="3232" data-post-id="3232">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="thousandsofthem" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/thousandsofthem/120/1030_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  thousandsofthem
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<ul>
<li>DO: $5 during development, $5+ during prod (you know, depends <img src="https://forum.elixirforum.com/images/emoji/apple/wink.png?v=15" title=":wink:" class="emoji" alt=":wink:" loading="lazy" width="20" height="20"> ). Even cheapest instance is really fast</li>
<li>Heroku: free plan exists (instance should sleep X hrs/day), good enough for some demos, don’t expect more. Latency quote high, deploy is really really simple (git push)</li>
</ul>
<p>Related: how do you deploy elixir/phoenix apps? Quote painful point (especially after capistrano experience)</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="3232" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-deployment-options/289/37">Post #36</a>
	                </div>
	            </div>
              <div id="likers-container-3232" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="3232"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #36"></div>
  </section>
</div>
    <div class="postbit" id="3233" data-post-id="3233">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="rafadc" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rafadc/120/564_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  rafadc
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I am using Dokku since I found it is as easy as heroku but with the ability to add background workers in non elixir apps.</p>
<p>Now that I think of it. With a single dyno in heroku you can have background workers in elixir?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="3233" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-deployment-options/289/38">Post #37</a>
	                </div>
	            </div>
              <div id="likers-container-3233" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="3233"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #37"></div>
  </section>
</div>
    <div class="postbit" id="3240" data-post-id="3240">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jwarlander" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jwarlander/120/1155_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jwarlander
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Using <a href="https://github.com/bitwalker/exrm" rel="noopener nofollow ugc">ExRM</a> releases, I’ve found it’s really not a big deal; deploy a .tar.gz file, stop your app, unpack it, start your app. While I know hot upgrades are possible as well, I haven’t worried about it yet - so far it’s not been worth the effort for my use cases.</p>
<p>A huge advantage is that I don’t need any dependencies installed on the server - everything is in the release package. I have to generate the release on a similar type of machine as the intended server, of course, but that’s no issue as my laptop, desktop and the servers are all running Linux anyway. If it weren’t like that, I’d probably have Jenkins do the release packaging on a build server - probably will do that soon anyway, for convenience.</p>
<p>The guide for using ExRM with Phoenix is pretty nice:<br>
<a href="http://www.phoenixframework.org/docs/advanced-deployment" class="onebox" target="_blank" rel="noopener nofollow">http://www.phoenixframework.org/docs/advanced-deployment</a></p>
<p>One little nagging detail that can be tricky to get into your workflow w/ releases is Ecto migrations; <code>mix</code> doesn’t exist in the deployed release. There are good ways to handle that yourself though, by using the exposed functionality within Ecto:</p>
<aside class="onebox allowlistedgeneric" data-onebox-src="https://blog.plataformatec.com.br/2016/04/running-migration-in-an-exrm-release/">
  <header class="source">
      <img src="https://blog.plataformatec.com.br/wp-content/themes/ptec/assets/icons/chrome-192x.png" class="site-icon" alt="" width="192" height="192">

      <a href="https://blog.plataformatec.com.br/2016/04/running-migration-in-an-exrm-release/" target="_blank" rel="noopener nofollow ugc" title="06:50PM - 28 April 2016">Plataformatec Blog | Plataformatec's place to talk about Ruby, Ruby on Rails,... – 28 Apr 16</a>
  </header>

  <article class="onebox-body">
    

<h3><a href="https://blog.plataformatec.com.br/2016/04/running-migration-in-an-exrm-release/" target="_blank" rel="noopener nofollow ugc">Running migration in an Exrm release « Plataformatec Blog</a></h3>

  <p>An easy example on how to configure an Elixir application to run Ecto migrations using Erxm release.</p>


  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>

<p>Of course, you can always run the migrations from our dev machine, but that might be trickier to integrate into an automated release flow if you’re trying for that.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="3240" data-batch-url="/posts/batch_likers">
                        5
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-deployment-options/289/39">Post #38</a>
	                </div>
	            </div>
              <div id="likers-container-3240" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="3240"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #38"></div>
  </section>
</div>
    <div class="postbit" id="3251" data-post-id="3251">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="karmajunkie" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/karmajunkie/120/1076_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  karmajunkie
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>i’m running an elixir app on heroku, AMA… (not really, i’m not an elixir expert yet, but I do have it up and running…)</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="3251" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-deployment-options/289/40">Post #39</a>
	                </div>
	            </div>
              <div id="likers-container-3251" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="3251"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #39"></div>
  </section>
</div>
    <div class="postbit" id="9791" data-post-id="9791">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="swennemans" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/swennemans/120/1657_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  swennemans
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Anyone has experience with VPSDime? The<a href="http://www.vpsbenchmarks.com/hosters/vpsdime#plan_6gb7usd" rel="noopener nofollow ugc"> benchmark results</a> look nice, and you get 6gb with 4 (virtual cores) for 7 dollar.</p>
<p>Currently I have one production projected hosted on Heroku, mostly because I don’t want to be bothered with database settings, backups etc. However, given that it’s fairly easy to deploy Elixir apps with exrm/distillery, and Heroku is pricey (25$ for a simple dyno + 50$ for database) I think that you get better ‘bang for bucks’ with:</p>
<ul>
<li>
<p><a href="https://www.compose.com/postgresql" rel="noopener nofollow ugc">Managed PostgreSQL from compose.io</a> with Amazon EC2. Unfortunately they’re not offering PostgreSQL hosting in DO datacentres (as they do with MongoDB), to seriously cut costs <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p>
</li>
<li>
<p><a href="https://aws.amazon.com/rds/postgresql/pricing/" rel="noopener nofollow ugc">Amazon RDS for PostgreSQL</a> + an EC2 instance.</p>
</li>
</ul>
<p>The big caveat here is of course that it’s hard to say anything meaningful about the performance of each of the database offerings compared to the monthly price.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="9791" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/elixir-deployment-options/289/41">Post #40</a>
	                </div>
	            </div>
              <div id="likers-container-9791" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="9791"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #40"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/289/load_more?page=5">Load more posts (27 remaining)</a>
</div></template></turbo-stream>