<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Using a cloud-init startup script for new VM &#x2F; VPS deployments]]></title><description><![CDATA[<p dir="auto">Has anyone had any experience with booting new VMs / VPSs' with Cloudron by way of a startup/cloud-init script?</p>
<p dir="auto">Many VPS providers like <a href="https://www.digitalocean.com/community/tutorials/an-introduction-to-cloud-config-scripting" target="_blank" rel="noopener noreferrer nofollow ugc">DigitalOcean</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html#user-data-cloud-init" target="_blank" rel="noopener noreferrer nofollow ugc">AWS</a>, <a href="https://www.linode.com/products/stackscripts/" target="_blank" rel="noopener noreferrer nofollow ugc">Linode</a>, <a href="https://www.lunanode.com/features/scripts" target="_blank" rel="noopener noreferrer nofollow ugc">LunaNode</a>, etc (links directly to their feature documentation on startup scripts) include the ability to run startup scripts though they often all name it differently (Linode for example calls them "StackScripts").</p>
<p dir="auto">Anyways, thought I'd ask as I was just thinking a fun little project may be to build a script to run which automatically installs Cloudron at time of deployment (rather than after-the-fact as is the usual use-case). This is more for fun really, a quick learning project for myself, nothing I absolutely require by any means. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/topic/3397/using-a-cloud-init-startup-script-for-new-vm-vps-deployments</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 13:10:22 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/3397.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Oct 2020 01:11:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using a cloud-init startup script for new VM &#x2F; VPS deployments on Thu, 29 Oct 2020 17:41:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/moocloud_matt" aria-label="Profile: MooCloud_Matt">@<bdi>MooCloud_Matt</bdi></a> Yes that's true too, but that wasn't what I wanted to achieve in this case. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /> I was specifically trying to teach myself how to use a cloud-init script / boot script, it was a learning project. Always trying to learn new things. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/17470</link><guid isPermaLink="true">https://forum.cloudron.io/post/17470</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Thu, 29 Oct 2020 17:41:51 GMT</pubDate></item><item><title><![CDATA[Reply to Using a cloud-init startup script for new VM &#x2F; VPS deployments on Thu, 29 Oct 2020 16:17:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a><br />
Many provider use build-from-snapshot feature, so you can use a pre-installed image with cloudron.</p>
]]></description><link>https://forum.cloudron.io/post/17460</link><guid isPermaLink="true">https://forum.cloudron.io/post/17460</guid><dc:creator><![CDATA[MooCloud_Matt]]></dc:creator><pubDate>Thu, 29 Oct 2020 16:17:52 GMT</pubDate></item><item><title><![CDATA[Reply to Using a cloud-init startup script for new VM &#x2F; VPS deployments on Sat, 17 Oct 2020 05:50:22 GMT]]></title><description><![CDATA[<p dir="auto">Will be interesting once we can do Cloudron within Cloudron.</p>
]]></description><link>https://forum.cloudron.io/post/16212</link><guid isPermaLink="true">https://forum.cloudron.io/post/16212</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Sat, 17 Oct 2020 05:50:22 GMT</pubDate></item><item><title><![CDATA[Reply to Using a cloud-init startup script for new VM &#x2F; VPS deployments on Sat, 17 Oct 2020 02:31:15 GMT]]></title><description><![CDATA[<p dir="auto">FYI - I was able to get this to work with the following startup script which I borrowed from the Linode StartStack on GitHub.</p>
<pre><code>#!/bin/bash

set -eu

wget https://cloudron.io/cloudron-setup
chmod +x cloudron-setup
./cloudron-setup --provider generic
</code></pre>
<p dir="auto">It worked after a while, I think before I just wasn't waiting long enough for it and was also looking in the wrong area for the logs of the startup script.</p>
<p dir="auto"><img src="/assets/uploads/files/1602901858594-7431ec37-a10d-4c45-9d5b-b156600d0e6d-image-resized.png" alt="7431ec37-a10d-4c45-9d5b-b156600d0e6d-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Happy this works now. I'll keep this in my repertoire to save some time if I ever need to spin-up a new Cloudron quickly.</p>
]]></description><link>https://forum.cloudron.io/post/16209</link><guid isPermaLink="true">https://forum.cloudron.io/post/16209</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Sat, 17 Oct 2020 02:31:15 GMT</pubDate></item><item><title><![CDATA[Reply to Using a cloud-init startup script for new VM &#x2F; VPS deployments on Tue, 13 Oct 2020 23:44:33 GMT]]></title><description><![CDATA[<p dir="auto">I recently signed-up to netcup (thinking of perhaps having my backups stored there instead of on Hetzner where my primary VPS is - although I also pay Hetzner for their native backup solution too for good measure, and occasionally run a snapshot as well) and I noticed that I could choose for Cloudron to be automatically installed, and so I did.  But I've not actually even gone to the relevant url/ IP to complete the installation yet as not sure which url to use for it <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61b.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--stuck_out_tongue" style="height:23px;width:auto;vertical-align:middle" title=":P" alt="😛" /> (and just not got around to it).</p>
<p dir="auto">Saying that, the UX of Hetzner is so much better than Netcup (they weirdly and confusingly make you pay 6 months up front even though you can cancel at any time and be refunded down to the hour) that I actually found the whole process of doing it manually on Hetzner easier!</p>
]]></description><link>https://forum.cloudron.io/post/15762</link><guid isPermaLink="true">https://forum.cloudron.io/post/15762</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Tue, 13 Oct 2020 23:44:33 GMT</pubDate></item><item><title><![CDATA[Reply to Using a cloud-init startup script for new VM &#x2F; VPS deployments on Tue, 13 Oct 2020 03:53:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> I just looked at what you did for Linode on GitHub, and that may actually help as it’s a similar script to what I tried in my tests but not the same so I’m maybe missing some of what you did there. Specifically referring to the <a href="https://raw.githubusercontent.com/linode/Marketplace-Apps/c13784db92757100511d608adaac242ba9201a04/cloudron/cloudron-stackscript.sh" target="_blank" rel="noopener noreferrer nofollow ugc">cloudron-stackscript.sh</a> file. I’ll try that out. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> Thanks for sharing the GitHub link.</p>
]]></description><link>https://forum.cloudron.io/post/15694</link><guid isPermaLink="true">https://forum.cloudron.io/post/15694</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Tue, 13 Oct 2020 03:53:51 GMT</pubDate></item><item><title><![CDATA[Reply to Using a cloud-init startup script for new VM &#x2F; VPS deployments on Tue, 13 Oct 2020 03:05:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> just to clarify, I’m not really looking for a one-click-image more so than trying to create one myself in a way using startup scripts. More for me to learn how to do it. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/15693</link><guid isPermaLink="true">https://forum.cloudron.io/post/15693</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Tue, 13 Oct 2020 03:05:48 GMT</pubDate></item><item><title><![CDATA[Reply to Using a cloud-init startup script for new VM &#x2F; VPS deployments on Tue, 13 Oct 2020 02:50:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> We are already on DO and AWS market place. We are working with the linode guys at <a href="https://github.com/linode/Marketplace-Apps/pull/13" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/linode/Marketplace-Apps/pull/13</a>. We are also in touch with upcloud. If you know folks at LunaNode, we will happily work with them to get a 1-click image or equivalent.</p>
]]></description><link>https://forum.cloudron.io/post/15692</link><guid isPermaLink="true">https://forum.cloudron.io/post/15692</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 13 Oct 2020 02:50:40 GMT</pubDate></item><item><title><![CDATA[Reply to Using a cloud-init startup script for new VM &#x2F; VPS deployments on Tue, 13 Oct 2020 01:50:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marcusquinn" aria-label="Profile: marcusquinn">@<bdi>marcusquinn</bdi></a> Ah darn, okay good to know. I ran some tests too and couldn't get it to work at all (almost as if the startup script didn't run), but have further testing I want to do.</p>
<p dir="auto">I currently use LunaNode and made them aware of Cloudron a while back when I posted on <a href="https://forum.cloudron.io/topic/2786/dns-integration-with-lunanode-via-their-api?_=1602553774681">supporting automatic LunaNode DNS via their API</a> (and linked them to it as well).</p>
<p dir="auto">I'll maybe reach out to them too after I've run some more tests on getting a startup script to work for their VMs to boot with installing Cloudron (and if I get one that works of course I'll share it here too).</p>
]]></description><link>https://forum.cloudron.io/post/15690</link><guid isPermaLink="true">https://forum.cloudron.io/post/15690</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Tue, 13 Oct 2020 01:50:44 GMT</pubDate></item><item><title><![CDATA[Reply to Using a cloud-init startup script for new VM &#x2F; VPS deployments on Tue, 13 Oct 2020 01:24:33 GMT]]></title><description><![CDATA[<p dir="auto">Most of the founders of these hosts are active on Twitter too, worth some tweets @mentioning the platform and founders handles, they often respond.</p>
]]></description><link>https://forum.cloudron.io/post/15689</link><guid isPermaLink="true">https://forum.cloudron.io/post/15689</guid><dc:creator><![CDATA[marcusquinn]]></dc:creator><pubDate>Tue, 13 Oct 2020 01:24:33 GMT</pubDate></item><item><title><![CDATA[Reply to Using a cloud-init startup script for new VM &#x2F; VPS deployments on Tue, 13 Oct 2020 01:22:55 GMT]]></title><description><![CDATA[<p dir="auto">I tried and failed at that on a few, so just ended up doing manually.</p>
<p dir="auto">On this subject though - I think hosting partners that have Cloudron as an install option would be a good value-addition.</p>
<p dir="auto">They ought to pay for this sort of thing, they pay for all the other server manager platforms. Could be quite lucrative, which is good for reinvestment.</p>
<p dir="auto">Recommend you and anyone here email each provider's support, detailing Cloudron setup for VPS as a feature request. Even if they don't, their techies might like the look of it and join the club.</p>
<p dir="auto">More people that ask, the more attention Cloudron gets.</p>
<p dir="auto">I had a good conversation with the CEO of Upcloud, nice guy, I'm certain he'd be open to it. DM me if anyone wants his email to try.</p>
]]></description><link>https://forum.cloudron.io/post/15688</link><guid isPermaLink="true">https://forum.cloudron.io/post/15688</guid><dc:creator><![CDATA[marcusquinn]]></dc:creator><pubDate>Tue, 13 Oct 2020 01:22:55 GMT</pubDate></item></channel></rss>