Re: Ada/GNAT/AWS-friendly web hosting

Liste des GroupesRevenir à cl ada 
Sujet : Re: Ada/GNAT/AWS-friendly web hosting
De : rosen (at) *nospam* adalog.fr (J-P. Rosen)
Groupes : comp.lang.ada
Date : 12. Sep 2024, 16:48:40
Autres entêtes
Organisation : Adalog
Message-ID : <vbuv07$a2ta$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
Le 12/09/2024 à 16:25, Marius Alves a écrit :
Researching how to build an HTTP server (serving a website) on a local machine (MacOS) using AWS (Ada Web Server) and deploy it on a web hosting provider (e.g. 1dollar-webhosting.com).
 Anyone done that? I've searched but could not find.
Adalog's site (https://www.adalog.fr/) is a standalone program written in Ada with AWS.
So are the sites for the various Ada-Europe conferences (see https://www.ada-europe.org/conference2024/ for example).
And many others...

 Thanks.
_____
 Some specific questions on my mind follow.
 Is a MacOS host required (e.g. Ultahost 15 euros/month; I'd rather stay with 1dollar)?
No

If the host runs on Linux then cross-building (from MacOS to Linux) required, right? GNAT does that, right?
Never tried, but no reason it shouldn't be possible

Or, must the program be built in the host? (Thus requiring GNAT be there.)
That's what I do

The host is already running an HTTP server program (probably Apache). Must it be turned off? How?
Of course, you cannot have two programs listening on the same port, so if you want to listen to 80 or 8080, you'd better stop Apache (or any other program) to do that. As for me, I don't run Apache at all.

In general, can the executable be launched on a VPS (Virtual Private Server)? Which port?
The port is given by the initial data of AWS

Will dynamic linking work? I'm guessing not, so, static; but then, will GNAT integrate the right libraries for Linux in the executable?
You just compile your program like any other Ada program

Will "Community GNAT" do? (Instead of GNAT Pro.)
Yes, that's what I do

Are those the right questions?
All questions are right....

Thanks, thanks, thanks, thanks, thanks, thanks and thanks.
You're welcome
--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
https://www.adalog.fr https://www.adacontrol.fr

Date Sujet#  Auteur
12 Sep 24 * Ada/GNAT/AWS-friendly web hosting27Marius Alves
12 Sep 24 +- Re: Ada/GNAT/AWS-friendly web hosting1J-P. Rosen
12 Sep 24 +* Re: Ada/GNAT/AWS-friendly web hosting7DrPi
12 Sep 24 i+* Re: Ada/GNAT/AWS-friendly web hosting5J-P. Rosen
12 Sep 24 ii+- Re: Ada/GNAT/AWS-friendly web hosting1Kevin Chadwick
13 Sep 24 ii`* Re: Ada/GNAT/AWS-friendly web hosting3Lawrence D'Oliveiro
13 Sep 24 ii +- Re: Ada/GNAT/AWS-friendly web hosting1J-P. Rosen
14 Sep 24 ii `- Re: Ada/GNAT/AWS-friendly web hosting1Randy Brukardt
13 Sep 24 i`- Re: Ada/GNAT/AWS-friendly web hosting1Lawrence D'Oliveiro
12 Sep 24 +* Re: Ada/GNAT/AWS-friendly web hosting3Jeffrey R.Carter
13 Sep 24 i`* Re: Ada/GNAT/AWS-friendly web hosting2Lawrence D'Oliveiro
13 Sep 24 i `- Re: Ada/GNAT/AWS-friendly web hosting1Jeffrey R.Carter
12 Sep 24 +- Re: Ada/GNAT/AWS-friendly web hosting1Dmitry A. Kazakov
13 Sep 24 +- Re: Ada/GNAT/AWS-friendly web hosting1Stéphane Rivière
13 Sep 24 +* Re: Ada/GNAT/AWS-friendly web hosting12Björn Persson
14 Sep 24 i`* Re: Ada/GNAT/AWS-friendly web hosting11Lawrence D'Oliveiro
14 Sep 24 i `* Re: Ada/GNAT/AWS-friendly web hosting10Stéphane Rivière
14 Sep 24 i  `* Re: Ada/GNAT/AWS-friendly web hosting9Lawrence D'Oliveiro
14 Sep 24 i   `* Re: Ada/GNAT/AWS-friendly web hosting8Stéphane Rivière
14 Sep 24 i    `* Re: Ada/GNAT/AWS-friendly web hosting7Lawrence D'Oliveiro
14 Sep 24 i     `* Re: Ada/GNAT/AWS-friendly web hosting6Stéphane Rivière
14 Sep 24 i      `* Re: Ada/GNAT/AWS-friendly web hosting5Kevin Chadwick
14 Sep 24 i       `* Re: Ada/GNAT/AWS-friendly web hosting4Stéphane Rivière
14 Sep 24 i        `* Re: Ada/GNAT/AWS-friendly web hosting3Jeffrey R.Carter
14 Sep 24 i         `* Re: Ada/GNAT/AWS-friendly web hosting2Stéphane Rivière
14 Sep 24 i          `- Re: Ada/GNAT/AWS-friendly web hosting1Jeffrey R.Carter
13 Sep 24 `- Re: Ada/GNAT/AWS-friendly web hosting1Nioclás Pól Caileán de Ghloucester

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal