Networks: Difference between revisions

From bwCloud-OS
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
= Hostnames and Domains =
= Hostnames and Domains =


== Does bwCloud-OS also assign host names? ==
== Does bwCloud-OS also assign hostnames? ==
Yes, each running instance is assigned a generic hostname (FQDN) so that the VM can be reached via the network using a persistent identifier even if the IP address changes.
Yes. Every running instance in bwCloud-OS is automatically assigned a '''generic hostname (FQDN)'''. This allows the instance to be reached via a '''persistent network identifier''', even if its public IP address changes. This FQDN is valid for the lifetime of the instance.


This consists of the UUID of an instance, the region in which it is running and the postfix ''.bw-cloud-instance.org''. The generic host name is displayed in the overview of the running instances in the web dashboard. This FQDN is valid for the instance lifetime.
==== Format of the FQDN: ====


Here is an example: Let's say, the UUID of your instance is ''caffee-4242-2323-caffee'' and it is running in the bwCloud-OS region Mannheim. The generic hostname will be:
* The '''UUID''' '''of the instance'''
* The '''region abbreviation''' (e.g., <code>ma</code> for Mannheim)
* The '''domain suffix''': <code>.bw-cloud-instance.org</code>


<pre>caffee-4242-2323-caffee.ma.bw-cloud-instance.org</pre>
'''Example:'''


Within an instanc the FQDN can be determined by:
If your instance UUID is <code>caffee-4242-2323-caffee</code> and it runs in Mannheim (<code>ma</code>), the the FQDN will be:<pre>caffee-4242-2323-caffee.ma.bw-cloud-instance.org</pre>
 
'''Retrieval''': From '''inside the instance''' the FQDN can be determined by:


<pre>
<pre>
Line 40: Line 44:


<nowiki>#</nowiki> FQDN="$(cat /var/lib/cloud/data/instance-id).${BWC_REGION}.bw-cloud-instance.org"
<nowiki>#</nowiki> FQDN="$(cat /var/lib/cloud/data/instance-id).${BWC_REGION}.bw-cloud-instance.org"
</pre>
</pre>The FQDN can also be found in the '''Dashboard''', under the instance details


== Can I get a domain via bwCloud-OS? ==
== Can I get a domain via bwCloud-OS? ==

Revision as of 16:04, 18 October 2025

In a Nutshell
  • Each bwCloud-OS instance automatically receives a public IP address, valid for its entire lifetime (until deletion).
  • Instances are also assigned a persistent FQDN based on their UUID and region.
  • Domain hosting is not provided, but you can point your own domain to the instance’s FQDN using a CNAME record.


Networks & IP-addresses

Will my instance receive a public IP?

Yes. By default, every instance launched using the standard method in bwCloud-OS is automatically assigned a publicly accessible IP address.

Each region in bwCloud-OS has its own set of IP address ranges, which may differ from one another. You can find the current public IP ranges for each region here.

How long does an IP remain assigned to my instance?

The public IP address(es) assigned to your instance remains associated with it for the entire lifetime of the instance — even if you stop (shut down) the instance.

The IP is only released when the instance is deleted (terminated). After termination, the IP is returned to the regional pool and may be reassigned to another instance in the region.

Are Floating IPs also available for instances?

Currently only in certain regions, such as Freiburg. However, Floating IPs are planned for all regions after the next major software upgrade in 2026.

See the Floating IP Guide for detailed setup instructions.

Hostnames and Domains

Does bwCloud-OS also assign hostnames?

Yes. Every running instance in bwCloud-OS is automatically assigned a generic hostname (FQDN). This allows the instance to be reached via a persistent network identifier, even if its public IP address changes. This FQDN is valid for the lifetime of the instance.

Format of the FQDN:

  • The UUID of the instance
  • The region abbreviation (e.g., ma for Mannheim)
  • The domain suffix: .bw-cloud-instance.org

Example:

If your instance UUID is caffee-4242-2323-caffee and it runs in Mannheim (ma), the the FQDN will be:

caffee-4242-2323-caffee.ma.bw-cloud-instance.org

Retrieval: From inside the instance the FQDN can be determined by:

# BWC_REGION="ma"

# FQDN="$(cat /var/lib/cloud/data/instance-id).${BWC_REGION}.bw-cloud-instance.org"

The FQDN can also be found in the Dashboard, under the instance details

Can I get a domain via bwCloud-OS?

No, we do not offer domain hosting. However, every user is free to enter a CNAME in their home institution or even in any domain that points to the FQDN. Users can also set up DynDNS-like systems outside the cloud, which can be configured to the corresponding IP by their own VMs, similar to the procedure for the home network connection if this is made accessible via a persistent name.

How can I point a domain to an instance?

It should either be done dynamically or via a CNAME record to the FQDN of the VM. The assignment of a UUID to an instance is persistent (permanent), even if the instance is stopped - therefore the CNAME record of a domain can refer to the FQDN.

Can I get a certificate via bwCloud-OS?

No, we do not offer certificates. However, your instance can obtain certificates from other institutions (e.g. Let's Encrypt) using the CertBot.