Continue writing exercise 2.

This commit is contained in:
2023-12-19 16:21:01 +13:00
parent 2d74d995c5
commit 12c5ea4c9a
5 changed files with 25 additions and 16 deletions

View File

@ -8,7 +8,7 @@ authors: ['default']
summary: "Let's get familiar with our lab setup."
---
Welcome to the OpenShift 4 Disconnected Workshop! Here you'll learn about operating an OpenShift 4 cluster in a disconnected network, for our purposes today that will be a network without access to the internet (even through a proxy or firewall).
Welcome to the OpenShift 4 Disconnected Workshop! Here you'll learn about operating an OpenShift 4 cluster in a disconnected network, for our purposes today that will be a network without access to the internet (even through a proxy or firewall).
To level set, Red Hat [OpenShift](https://www.redhat.com/en/technologies/cloud-computing/openshift) is a unified platform to build, modernize, and deploy applications at scale. OpenShift supports running in disconnected networks, though this does change the way the cluster operates because key ingredients like container images, operator bundles, and helm charts must be brought into the environment from the outside world via mirroring.
@ -17,16 +17,14 @@ There are of course many different options for installing OpenShift in a restric
**Let's get started!**
## 1.1 - Obtaining your aws account
## 1.1 - Obtaining your environment
To get underway open your web browser and navigate to the workshop login page https://demo.redhat.com/workshop/enwmgc.
Once the page loads you can login with the details provided by your workshop facilitator. Once logged in you will see your aws environment details.
To get underway open your web browser and navigate to the etherpad link to reserve yourself a user [insert etherpad link here]. You can reserve a user by noting your name or initials next to a user that has not yet been claimed.
<Zoom>
|![workshop](/workshops/static/images/disconnected/workshop.png) |
|![workshop](/workshops/static/images/disconnected/etherpad.gif) |
|:-----------------------------------------------------------------------------:|
| *Workshop login page* |
| *Etherpad collaborative editor* |
</Zoom>
@ -36,11 +34,7 @@ Throughout the remainder of the workshop you will be using a number of command l
To save you from needing to install or configure these tools on your own device for the remainder of this workshop a web terminal will be available for you.
Simply copy the link below and paste into your browser, replacing `<number>` with the three digit number in the top level route53 domain obtained in the aws environment details assigned in the previous step.
```bash
https://terminal-sandbox<number>.apps.openshift.example.com
```
Simply copy the link next to the user your reserved in etherpad and paste into your browser.
## 1.3 - Creating an air gap

View File

@ -17,7 +17,9 @@ In this exercise we will be creating a new [AWS ec2 instance](https://aws.amazon
We'll start by creating an [AWS security group](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html) and collecting its ID.
We're going to use this shortly for the **Low side** prep system, and later on in the workshop for the **High side** bastion server:
We're going to use this shortly for the **Low side** prep system, and later on in the workshop for the **High side** bastion server.
Copy the commands below into your web terminal:
```bash
# Obtain vpc id
@ -35,6 +37,12 @@ SG_ID=$(aws ec2 describe-security-groups --filters "Name=tag:Name,Values=disco-s
echo "Security group id is: ${SG_ID}"
```
<Zoom>
|![workshop](/workshops/static/images/disconnected/security-group.gif) |
|:-----------------------------------------------------------------------------:|
| *Creating aws ec2 security group* |
</Zoom>
## 2.2 - Opening ssh port ingress
@ -56,7 +64,14 @@ Ready to launch! 🚀 We'll use the `t3.micro` instance type, which offers `1GiB
Run the command below in your web terminal to launch the instance. We will specify an Amazon Machine Image (AMI) to use for our prep system which for this lab will be the [Marketplace AMI for RHEL 8](https://access.redhat.com/solutions/15356#us_east_2) in `us-east-2`.
```bash
aws ec2 run-instances --image-id "ami-092b43193629811af" --count 1 --instance-type t3.micro --key-name disco-key --security-group-ids $SG_ID --subnet-id $PUBLIC_SUBNET --associate-public-ip-address --tag-specifications "ResourceType=instance,Tags=[{Key=Name,Value=disco-prep-system}]" --block-device-mappings "DeviceName=/dev/sdh,Ebs={VolumeSize=50}"
aws ec2 run-instances --image-id "ami-092b43193629811af" \
--count 1 --instance-type t3.micro \
--key-name disco-key \
--security-group-ids $SG_ID \
--subnet-id $PUBLIC_SUBNET \
--associate-public-ip-address \
--tag-specifications "ResourceType=instance,Tags=[{Key=Name,Value=disco-prep-system}]" \
--block-device-mappings "DeviceName=/dev/sdh,Ebs={VolumeSize=50}"
```
<Zoom>

View File

@ -25,10 +25,10 @@ export default function ListLayout({ posts, title, initialDisplayPosts = [], pag
</h1>
<div className="relative max-w-lg">
<input
aria-label="Search articles"
aria-label="Search exercises"
type="text"
onChange={(e) => setSearchValue(e.target.value)}
placeholder="Search articles"
placeholder="Search exercises"
className="block w-full px-4 py-2 text-gray-900 bg-white border border-gray-300 rounded-md dark:border-gray-900 focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-800 dark:text-gray-100"
/>
<svg

Binary file not shown.

After

Width:  |  Height:  |  Size: 874 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB