directus-labs / guest-authoring

A repo for our guest authors to work on content
12 stars 40 forks source link

Directus self-hosted instance on aws lightsail Ubuntu 22.04 with cloudron server managment tool #126

Closed alexmazaltov closed 6 months ago

alexmazaltov commented 7 months ago

What is your idea?

I want to share my experience of how I was able to create an AWS Lightsail Ubuntu 22.04 instance (22.04.1-Ubuntu SMP Wed Mar 13 18:54:49 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux) The delivery path of custom extensions in that case is complicated and not obvious and needs to be clarified.

What are the key takeaways from your post?

  1. Creating AWS Lightsail instance that fits with cloudron requirements.
  2. Bind static IP address to be pointed in my domain management, as well creating A record for new subdomain to be specified during setting up cloudron server (e.g.: cloud.alefinvest.xyz)
  3. Perform updates in aws lightsail instances before running up cloudron-setup shell script.
  4. Setting up A record to finalist cloudron server management (my.cloud.alefinvest)
  5. Setting up A record for new app(directus 10.10.5) installation directus.cloud.alefinvest.xyz
  6. Delivery custom extension via filemanager UI inside installed directus app.
  7. TODO: Performing steps following README.md in example folder of custom directus-extension-stripe

What type of post is this?

Self-Hosting Guide

Country of residence

Ukraine, US

Terms & Conditions

github-actions[bot] commented 7 months ago

Thank you for submitting an idea for our guest blog.
We work through new ideas every few weeks as we put together our content schedule. This means you may not get an immediate response as to whether your idea has been accepted, or any follow-up questions we have to clarify your idea.
If your idea is accepted, we will provide a deadline for first draft and how much we can pay you for the post. You will have a few days to confirm whether you are still able and willing to write the post.
If you have any questions in the meantime, feel free to add a comment to this issue.

alexmazaltov commented 7 months ago

Is Ukrainian location acceptable for contributions in dev blog?

phazonoverload commented 7 months ago

Yes indeed. As long as there's no US trade embargo we are open to authors from all over the world 😄 There are some regions where paying is harder, which is why we ask upfront. As far as I remember, Ukraine has never been an issue in the past.

Now, I'm wondering how generic we can go with this post in terms of extension delivery for self-hosted projects. Any thoughts?

alexmazaltov commented 7 months ago

I think we can cover the deployment via cloudron the directus backend app and nextjs frontend app to fetch data from directus app via API.

Here my repo that prove possibility to do so: https://github.com/alexmazaltov/nextjs-app-for-directus-vai-cloudron

phazonoverload commented 6 months ago

Hey @alexmazaltov and apologies for the delay. On further review, this seems like a very niche setup for specific vendors, so it isn't the right fit for this program.