forked from ChameleonCloud/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new file: source/container-vs-public/container_run1.png
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
1 parent
f002b1d
commit 0234afe
Showing
10 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters