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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="spammy" data-post="9" data-topic="76049">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/s/22d042/48.png" class="avatar"> spammy:</div>
<blockquote>
<p>Is this as much of a drawback as it sounds? Or does it practically not matter?</p>
</blockquote>
</aside>
<p>I think this refers to platforms that treat your workloads as ephemeral. Some paid PaaS will scale your app down to zero to save resources and bring it back up on demand (incoming requests). It is not the case if you use a “traditional” VPS that is always on.</p>
<aside class="quote no-group" data-username="spammy" data-post="9" data-topic="76049">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/s/22d042/48.png" class="avatar"> spammy:</div>
<blockquote>
<p>I’d have to think of how to split out the code (presumably things could be made to build “plugged in” modularly)</p>
</blockquote>
</aside>
<p>I’d claim it is much much easier for a single developer to maintain a single app with ~50 “microapps” / disparate features than to maintain ~50 individual apps.</p>
<p>Even if you decide you want to write parts of some app in another language, Phoenix/Elixir is a great choice and can serve as a reverse proxy to them.</p>
<p>Don’t let the many options paralyze you, just pick something up to start with and start building and gaining experience. Enjoy the process!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="391748" 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/simple-light-way-to-self-host-microapps-and-services/76049/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-391748" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="391748"
                     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 #11"></div>
  </section>
</div>
    <div class="postbit" id="391751" data-post-id="391751">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="spammy" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  spammy
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I think the point being made is that containerisation may get in the way of some primitive Elixir features. On the other hand, it appears that Docker is a first class citizen in the ecosystem so the friction can’t be that much. But this is probably above my pay grade for now.</p>
<aside class="quote no-group" data-username="rhcarvalho" data-post="12" data-topic="76049">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rhcarvalho/48/32243_2.png" class="avatar"> rhcarvalho:</div>
<blockquote>
<p>Don’t let the many options paralyze you, just pick something up to start with and start building and gaining experience. Enjoy the process!</p>
</blockquote>
</aside>
<p>Yes! The threads been very helpful. Thanks all!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="391751" 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/simple-light-way-to-self-host-microapps-and-services/76049/13">Post #12</a>
	                </div>
	            </div>
              <div id="likers-container-391751" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="391751"
                     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 #12"></div>
  </section>
</div>
    <div class="postbit" id="391761" data-post-id="391761">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group quote-modified" data-username="spammy" data-post="9" data-topic="76049">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/s/22d042/48.png" class="avatar"> spammy:</div>
<blockquote>
<p>One thing that resonated on <a href="http://poitions.io" rel="noopener nofollow ugc">poitions.io</a> (and I’ll reiterate that I’m no Elixir pro yet!) was the following:</p>
<blockquote>
<p>PaaS Breaks the BEAM<br>
You chose Elixir for fault tolerance, lightweight processes, and distributed state. PaaS platforms isolate containers and kill distributed Erlang. Don’t deploy it somewhere that holds you back.</p>
</blockquote>
<p>Is this as much of a drawback as it sounds? Or does it practically not matter?</p>
</blockquote>
</aside>
<p><a class="mention" href="/u/potions" rel="nofollow">@Potions</a> can you please elaborate? Thanks!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="391761" 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/simple-light-way-to-self-host-microapps-and-services/76049/14">Post #13</a>
	                </div>
	            </div>
              <div id="likers-container-391761" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="391761"
                     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 #13"></div>
  </section>
</div>
    <div class="postbit" id="391769" data-post-id="391769">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I found that docker swarm + a light harness with ansible to provision nodes brings me most of the convenience of a PaaS while not adding a real, named, “platform” either. My node count is low enough that terraform isn’t needed today, but I’m practicing it on the side.</p>
<p>I’ve already read this same answer that I am writing, but mentioning “a small k8s cluster” instead of swarm which is often described as a bespoke k8s with bash scripts. I’m trying to avoid that. In the end, for each person the simple and light way is the way you already know well.</p>
<p>I’m not too keen of “fly deploy”-like workflows. Don’t get me wrong, fly is great. But I like to be able to run my stuff on almost any handful of linux boxes without feeling linked to a provider or paas.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="391769" 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/simple-light-way-to-self-host-microapps-and-services/76049/15">Post #14</a>
	                </div>
	            </div>
              <div id="likers-container-391769" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="391769"
                     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 #14"></div>
  </section>
</div>
    <div class="postbit" id="391789" data-post-id="391789">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Potions" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/Potions/120/40790_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Potions
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Forum Sponsor</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Reading this again, it’s too broad and I’m going to rewrite it. It was written with Heroku’s Common Runtime in mind, where dynos are firewalled off from one another, but as <a class="mention" href="/u/lostkobrakai" rel="nofollow">@LostKobrakai</a> mentioned that’s platform-specific rather than inherent to PaaS.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="391789" 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/simple-light-way-to-self-host-microapps-and-services/76049/16">Post #15</a>
	                </div>
	            </div>
              <div id="likers-container-391789" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="391789"
                     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 #15"></div>
  </section>
</div>
    <div class="postbit" id="391911" data-post-id="391911">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Since you (and/or others on your LAN) are the only users, ask yourself whether you are okay with the downsides of a single instance of each application and whether you can accept a few seconds of downtime during deployment. If you accept those two, then you don’t really need the equivalent of a PaaS, you can get away with something much lighter with less maintenance overhead.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="391911" 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/simple-light-way-to-self-host-microapps-and-services/76049/17">Post #16</a>
	                </div>
	            </div>
              <div id="likers-container-391911" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="391911"
                     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 #16"></div>
  </section>
</div>
    <div class="postbit" id="391912" data-post-id="391912">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><a href="https://uncloud.run/" rel="noopener nofollow ugc">https://uncloud.run/</a> is another option. Haven’t used it myself yet.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="391912" 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/simple-light-way-to-self-host-microapps-and-services/76049/18">Post #17</a>
	                </div>
	            </div>
              <div id="likers-container-391912" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="391912"
                     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 #17"></div>
  </section>
</div>
    <div class="postbit" id="391971" data-post-id="391971">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="spammy" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  spammy
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="dewetblomerus" data-post="17" data-topic="76049">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dewetblomerus/48/27370_2.png" class="avatar"> dewetblomerus:</div>
<blockquote>
<p>If you accept those two, then you don’t really need the equivalent of a PaaS, you can get away with something much lighter with less maintenance overhead.</p>
</blockquote>
</aside>
<p>I do accept those two - but what are the "much lighter something"s you refer to? Copy, scripts and systemd?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="391971" 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/simple-light-way-to-self-host-microapps-and-services/76049/19">Post #18</a>
	                </div>
	            </div>
              <div id="likers-container-391971" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="391971"
                     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 #18"></div>
  </section>
</div>
    <div class="postbit" id="391979" data-post-id="391979">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I was thinking of Docker Watchtower when I typed that, I’ve used it and loved the simplicity. And especially the de-coupled nature of getting my CI to build &amp; push a docker image whenever I push to <code>main</code>, and then watchtower pulls the latest and restarts the container.</p>
<p>Docker watchtower is no longer maintained, I see this modern alternative, but I have not tried it myself <a href="https://github.com/getwud/wud" class="inline-onebox" rel="noopener nofollow ugc">GitHub - getwud/wud: Keep your containers up-to-date! · GitHub</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="391979" 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/simple-light-way-to-self-host-microapps-and-services/76049/20">Post #19</a>
	                </div>
	            </div>
              <div id="likers-container-391979" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="391979"
                     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 #19"></div>
  </section>
</div>
    <div class="postbit" id="391992" data-post-id="391992">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="lpil" data-post="11" data-topic="76049">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/lpil/48/17492_2.png" class="avatar"> lpil:</div>
<blockquote>
<p>I really like using Podman’s systemd integration</p>
</blockquote>
</aside>
<p>That one can also automate pulling new container images.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="391992" 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/simple-light-way-to-self-host-microapps-and-services/76049/21">Post #20</a>
	                </div>
	            </div>
              <div id="likers-container-391992" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="391992"
                     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 #20"></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/76049/load_more?page=3">Load more posts (1 remaining)</a>
</div></template></turbo-stream>