Skip to content

Commit

Permalink
new file: source/container-vs-public/container_run1.png
Browse files Browse the repository at this point in the history
	new file:   source/container-vs-public/container_run2.png
	new file:   source/container-vs-public/container_run3.png
	new file:   source/container-vs-public/container_run4.png
	new file:   source/container-vs-public/container_run5.png
	new file:   source/container-vs-public/container_run6.png
	new file:   source/container-vs-public/index.rst
	new file:   source/container-vs-public/public_ip.png
	new file:   source/container-vs-public/public_ip.pptx
	modified:   source/contents.rst
  • Loading branch information
stefanronn committed Mar 8, 2024
1 parent f002b1d commit 0234afe
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 0 deletions.
Binary file added source/container-vs-public/container_run1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/container-vs-public/container_run2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/container-vs-public/container_run3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/container-vs-public/container_run4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/container-vs-public/container_run5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/container-vs-public/container_run6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions source/container-vs-public/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
.. _container-vs-public:

====================================
Assigning a public IP to a container
====================================

This guide will walk you through the steps of assigning a public IP to a container.
This will allow worker node containers to have an IP address that can be used for access from the internet.

.. figure:: public_ip.png
:alt: Public IP networking
:figclass: screenshot

Step 1: Reserve a worker node
=============================

See the "reservation of a worker node" section.


Step 2: Create a container
==========================

Here, we connect a container application, running on a worker node, to a public IP. This involves including the container in the "serverpublic" network
when starting the container.

* From the ExPECA home page, click *Container* -> *Containers*

.. figure:: container_run1.png
:alt: Containers main page
:figclass: screenshot

* Click *+ Create Container*
* See "Running a basic container" for the steps involved. We will here only focus on the data entered for network connection.
* Under "Networks" tab, bring "serverpublic" to the top
* Under "Miscellaneous" tab, enter environment variables needed for the container.
* Under "Labels" tab, enter a public IP address in the 130.237.11.[113-126]/27 range, as well as the "serverpublic" gateway.

.. figure:: container_run2.png
:alt: Containers networks page
:figclass: screenshot
.. figure:: container_run3.png
:alt: Containers miscellaneous page
:figclass: screenshot
.. figure:: container_run4.png
:alt: Containers labels page
:figclass: screenshot

* Click *Create*

.. figure:: container_run5.png
:alt: Containers main page
:figclass: screenshot

* You should now be able to connect with SSH to your container from the internet.

.. figure:: container_run6.png
:alt: Container console page
:figclass: screenshot

Binary file added source/container-vs-public/public_ip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/container-vs-public/public_ip.pptx
Binary file not shown.
2 changes: 2 additions & 0 deletions source/contents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ Welcome to ExPECA
network-ep5g/index
container-vs-ep5g/index
container-vs-telenor/index
container-vs-public/index


0 comments on commit 0234afe

Please sign in to comment.