Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcsoar hosting - relocating from AWS #1339

Open
codexx666 opened this issue Jan 30, 2024 · 20 comments
Open

xcsoar hosting - relocating from AWS #1339

codexx666 opened this issue Jan 30, 2024 · 20 comments

Comments

@codexx666
Copy link

hi everyone,

currently the XCSoar website is running on a AWS instance.

It's running fine there now for some years, but the costs are approx 40 /.50 EUR per month.
Yes, I have looked into all saving options now.
I think there are cheaper options around and also some of these options offer more than the AWS instance.

Due to the pricey setup i want to relocate the website to another hosting environment - maybe a root server at NetCUP or IONOS.

But before that I'll need to now

  • what do we actually need in respect of OS, performance, network, diskspace,... ???

  • who has access to the DNS for xcsoar?
    A relocation requires updating the IP to the new host

  • what do we need to do to relocate the xcsoar website to a new host?

I really want to do this as quickly as possible.

Regards
Flip

@lordfolken lordfolken transferred this issue from XCSoar/website Jan 30, 2024
@MaxKellermann
Copy link
Contributor

Why root server? Simply static shared hosting would suffice, wouldn't it?

@lordfolken
Copy link
Contributor

lordfolken commented Jan 30, 2024

what do we actually need in respect of OS, performance, network, diskspace,... ???

  • We currently have 1 GB of memory, 2 Cpus and 150GB of disk.
  • we have about 1-2TB of transfer a month.
  • Disk space would be good if its around 200-300GB
  • IPV6 address would be great (in addition to ipv4)

The machine is very light weight. The website is static, the download folder aswell. The only thing dynamic is the mariadb for the forum, and mail service.

who has access to the DNS for xcsoar?
A relocation requires updating the IP to the new host

I haven´t been able to find that out, and the original owners where non-responsive to my mails. @MaxKellermann do you have control of xcsoar.org?

what do we need to do to relocate the xcsoar website to a new host?

  1. spin up a wm, perferrably debian
  2. add a few users and ssh keys
  3. rsync stuff between the two machines
  4. play ansible books which are in the root of the vm, which do 95% of the configuration
  5. switchover dns to the new vm

@lordfolken
Copy link
Contributor

Why root server? Simply static shared hosting would suffice, wouldn't it?

apart from the forum, yes, static hosting would do the job.

@lordfolken
Copy link
Contributor

But honestly, a debian box i can manage... fightiing with VPS solutions is another matter.

@codexx666
Copy link
Author

I think a root server is preferable because it offers more flexibility.
Also I would expect that most "static hosting" solutions don't offer SSH features or use of ansible.

Ok, I'll will check available root server solutions and check the pricing / features.
In regards of the current AWS VM specs and the requirements I assume that simple root server offers are more than sufficient.

example
https://www.netcup.de/bestellen/produkt.php?produkt=2892
8GB RAM, AMD EPYC™ 7702 , 160GB disk - approx 11EUR / month.
That's way less than AWS and way more power :-)

@lordfolken
Copy link
Contributor

That netcoup server would be good. Currently we have about 55GB Disk usage and i expect that to double.

@MaxKellermann
Copy link
Contributor

Downloads on cheap shared hosting, and the remaining traffic to be hosted somewhere else should suddenly be very small.

@lordfolken
Copy link
Contributor

Hetzner's shared hosting is 9.16 for shared hosting. https://www.hetzner.com/webhosting/level-9/
Netcup is 9,81€ for that server if you pay by 12months.
I would prefeer the vm.

But again, the show stopper is dns entries on xcsoar.org.

@hjr
Copy link
Contributor

hjr commented Jan 31, 2024 via email

@lordfolken
Copy link
Contributor

Again I'd move it in a split second. But I need control of xcsoar.org.

@codexx666
Copy link
Author

I'll try to contact John W. - hopefully he can get us in contact with Scott for the DNS update

@lordfolken
Copy link
Contributor

@codexx666
Copy link
Author

Ok, John has replied and has access to the DNS.

I will now have a look at some possible options (Netcup, Ionos, Hetzner, ... ?) and report back here.
Based on that info, we can make a decision where to move xcsoar and order the rootserver/vps/...

next step
Deploy the website to the new environment, check everything is working fine.

final step
update the DNS entry and complete the move.

ok? ;-)

@lordfolken
Copy link
Contributor

Give me an account and ssh, I can do the deployment.

@OBrown92
Copy link

I have had very good experiences with uberspace. Good docs and really good support, as well as very cheap and flexible.

@lordfolken
Copy link
Contributor

Ueberspace would be right for a nerd like me.

However the maps currently are close to 60gb. This will increase with upcoming topology data.

Ueberspace is priced at 3/month Euro per 10gb increment. 10gb are included.

@OBrown92
Copy link

Yes, that's right, the service is not designed for storage.

@lordfolken
Copy link
Contributor

@codexx666 hey there, any next steps that I need to initiate?

@codexx666
Copy link
Author

@lordfolken - new server is finally ready. I'll send you all the relevant info via email.

@codexx666
Copy link
Author

update:
the AWS instance will be terminated latest end of May

@lordfolken is working on the migration and so far the new VM is working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants