Re: Ada/GNAT/AWS-friendly web hosting

Liste des GroupesRevenir à cl ada 
Sujet : Re: Ada/GNAT/AWS-friendly web hosting
De : mailbox (at) *nospam* dmitry-kazakov.de (Dmitry A. Kazakov)
Groupes : comp.lang.ada
Date : 12. Sep 2024, 20:48:29
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbvd1s$c42h$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 2024-09-12 16:25, Marius Alves wrote:
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).
That depends on what the provider would allow you to upload to the host. Likely nothing executable... (:-))

If the host runs on Linux then cross-building (from MacOS to Linux) required, right? GNAT does that, right?
It is possible, but far simpler would be a virtual machine running Linux. E.g. I compile for Linux targets on virtual machines. Only for ARM I am using physical machines. You must know what kind of Linux your provider has in order to choose the right version of the libc etc.

The host is already running an HTTP server program (probably Apache). Must it be turned off? How?
Ask the provider. You would need the ports free.

In general, can the executable be launched on a VPS (Virtual Private Server)? Which port?
No idea.

Will dynamic linking work? I'm guessing not, so, static; but then, will GNAT integrate the right libraries for Linux in the executable?
If you ship the libraries together with the server. Then if the host runs Apache it must have some TLS library installed. You must learn the version an link against it.
In any case you need either OpenSSL or else GNUTLS. The HTTP server from Simple Components can use both. I believe that either can be built as a static library. I see no reason why AWS could not be linked statically.
BTW you must maintain certificates on the server.

Will "Community GNAT" do? (Instead of GNAT Pro.)
I am not sure if all-static build were possible, e.g. libc, libgnat.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

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