Skip to content

Commit

Permalink
Merge pull request #123 from nerc-project/new_flavors_and_price
Browse files Browse the repository at this point in the history
updated with new flavor definitions in flavor docs
  • Loading branch information
Milstein authored Aug 7, 2023
2 parents 74b95d6 + a205e0c commit 8c29f57
Show file tree
Hide file tree
Showing 13 changed files with 79 additions and 93 deletions.
2 changes: 1 addition & 1 deletion docs/openshift/get-started/openshift-overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OpenShift Overview

OpenShift is a multifaceted, container orcheastration platform from Red Hat.
OpenShift is a multifaceted, container orchestration platform from Red Hat.
OpenShift Container Platform is a cloud-based Kubernetes container platform.
NERC offers a cloud development **Platform-as-a-Service (PaaS)** solution based
on Red Hat's OpenShift Container Platform that provides isolated, multi-tenant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ Get the flavor list using below openstack command:
+--------------------------------------+------------+--------+------+-----------+-------+-----------+
| ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public |
+--------------------------------------+------------+--------+------+-----------+-------+-----------+
| 12ded228-1a7f-4d35-b994-7dd394a6ca90 | gpu-a100.2 | 196608 | 20 | 0 | 24 | True |
| 15581358-3e81-4cf2-a5b8-c0fd2ad771b4 | mem-a.8 | 65536 | 20 | 0 | 8 | True |
| 17521416-0ecf-4d85-8d4c-ec6fd1bc5f9d | cpu-a.1 | 2048 | 20 | 0 | 1 | True |
| 2b1dbea2-736d-4b85-b466-4410bba35f1e | cpu-a.8 | 16384 | 20 | 0 | 8 | True |
| 2f33578f-c3df-4210-b369-84a998d77dac | mem-a.4 | 32768 | 20 | 0 | 4 | True |
| 4498bfdb-5342-4e51-aa20-9ee74e522d59 | mem-a.1 | 8192 | 20 | 0 | 1 | True |
| 4e43e6df-3637-4363-a7cd-732fbf9e7cfd | gpu-a100.4 | 393216 | 20 | 0 | 48 | True |
| 7f2f5f4e-684b-4c24-bfc6-3fce9cf1f446 | mem-a.16 | 131072 | 20 | 0 | 16 | True |
| 8c05db2f-6696-446b-9319-c32341a09c41 | cpu-a.16 | 32768 | 20 | 0 | 16 | True |
| 9662b5b2-aeaa-4d56-9bd3-450deee668af | cpu-a.4 | 8192 | 20 | 0 | 4 | True |
| b3377fdd-fd0f-4c88-9b4b-3b5c8ada0732 | gpu-a100.1 | 98304 | 20 | 0 | 12 | True |
| e9125ab0-c8df-4488-a252-029c636cbd0f | mem-a.2 | 16384 | 20 | 0 | 2 | True |
| ee6417bd-7cd4-4431-a6ce-d09f0fba3ba9 | cpu-a.2 | 4096 | 20 | 0 | 2 | True |
| 12ded228-1a7f-4d35-b994-7dd394a6ca90 | gpu-su-a100.2 | 196608 | 20 | 0 | 24 | True |
| 15581358-3e81-4cf2-a5b8-c0fd2ad771b4 | mem-su.8 | 65536 | 20 | 0 | 8 | True |
| 17521416-0ecf-4d85-8d4c-ec6fd1bc5f9d | cpu-su.1 | 2048 | 20 | 0 | 1 | True |
| 2b1dbea2-736d-4b85-b466-4410bba35f1e | cpu-su.8 | 16384 | 20 | 0 | 8 | True |
| 2f33578f-c3df-4210-b369-84a998d77dac | mem-su.4 | 32768 | 20 | 0 | 4 | True |
| 4498bfdb-5342-4e51-aa20-9ee74e522d59 | mem-su.1 | 8192 | 20 | 0 | 1 | True |
| 4e43e6df-3637-4363-a7cd-732fbf9e7cfd | gpu-su-a100.4 | 393216 | 20 | 0 | 48 | True |
| 7f2f5f4e-684b-4c24-bfc6-3fce9cf1f446 | mem-su.16 | 131072 | 20 | 0 | 16 | True |
| 8c05db2f-6696-446b-9319-c32341a09c41 | cpu-su.16 | 32768 | 20 | 0 | 16 | True |
| 9662b5b2-aeaa-4d56-9bd3-450deee668af | cpu-su.4 | 8192 | 20 | 0 | 4 | True |
| b3377fdd-fd0f-4c88-9b4b-3b5c8ada0732 | gpu-su-a100.1 | 98304 | 20 | 0 | 12 | True |
| e9125ab0-c8df-4488-a252-029c636cbd0f | mem-su.2 | 16384 | 20 | 0 | 2 | True |
| ee6417bd-7cd4-4431-a6ce-d09f0fba3ba9 | cpu-su.2 | 4096 | 20 | 0 | 2 | True |
+--------------------------------------+------------+--------+------+-----------+-------+-----------+
```

Expand Down Expand Up @@ -125,7 +125,7 @@ To create a VM in Specific "**Availability Zone and compute Host**" specify
Example:

```sh
[user@laptop ~]$ openstack server create --flavor cpu-a.2 \
[user@laptop ~]$ openstack server create --flavor cpu-su.2 \
--image centos-7-x86_64 \
--nic net-id=8ee63932-464b-4999-af7e-949190d8fe93 \
--security-group default \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ of your project's instances:
+--------------------------------------+------------------+--------+----------------------------------------------+--------------------------+--------------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+------------------+--------+----------------------------------------------+--------------------------+--------------+
| 1c96ba49-a20f-4c88-bbcf-93e2364365f5 | vm-test | ACTIVE | default_network=192.168.0.146, 199.94.60.4 | N/A (booted from volume) | cpu-a.4 |
| dd0d8053-ab88-4d4f-b5bc-97e7e2fe035a | gpu-test | ACTIVE | default_network=192.168.0.146, 199.94.60.4 | N/A (booted from volume) | gpu-a100.1 |
| 1c96ba49-a20f-4c88-bbcf-93e2364365f5 | vm-test | ACTIVE | default_network=192.168.0.146, 199.94.60.4 | N/A (booted from volume) | cpu-su.4 |
| dd0d8053-ab88-4d4f-b5bc-97e7e2fe035a | gpu-test | ACTIVE | default_network=192.168.0.146, 199.94.60.4 | N/A (booted from volume) | gpu-su-a100.1 |
+--------------------------------------+------------------+--------+----------------------------------------------+--------------------------+--------------+
```

Expand Down
100 changes: 43 additions & 57 deletions docs/openstack/create-and-connect-to-the-VM/flavors.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,31 @@ NERC offers the following flavors based on our Infrastructure-as-a-Service

### 1. Standard Compute Tier

The standard compute flavor **"cpu-a"** is provided from Lenovo SD530 (2x Intel 8268
2.9 GHz, 48 core, 384 GB memory) server. The base service unit (SU) is 1 vCPU, 2
GB memory at a rate of $0.018 / hr of wall time. Multiples of the `cpu-a` SU are
available with 20 GB root disk, and the price scales accordingly:

| Flavor | SUs | Cost / hr |
|---------------|--------|--------------|
| cpu-a.1 | 1 | $0.018 |
| cpu-a.2 | 2 | $0.036 |
| cpu-a.4 | 4 | $0.072 |
| cpu-a.8 | 8 | $0.144 |
| cpu-a.16 | 16 | $0.288 |
The standard compute flavor **"cpu-su"** is provided from Lenovo SD530 (2x Intel
8268 2.9 GHz, 48 cores, 384 GB memory) server. The base unit is 1 vCPU, 4 GB
memory with 20 GB root disk at a rate of $0.013 / hr of wall time.

| Flavor | SUs | GPU | vCPU | RAM(GB) | Storage(GB) | Cost / hr |
|---------------|-----|-----|-------|---------|-------------|-----------|
|cpu-su.1 |1 |0 |1 |4 |20 |$0.013 |
|cpu-su.2 |2 |0 |2 |8 |40 |$0.026 |
|cpu-su.4 |4 |0 |4 |16 |80 |$0.052 |
|cpu-su.8 |8 |0 |8 |32 |160 |$0.104 |
|cpu-su.16 |16 |0 |16 |64 |320 |$0.256 |

### 2. Memory Optimized Tier

The memory optimized flavor **"mem-a"** is provided from the same servers at **"cpu-a"**
but with 8 GB of memory per core. The base service unit (SU) is 1 vCPU, 8 GB
memory at a rate of $0.036 / hr of wall time. Multiples of the `mem-a` SU are
available with 20 GB root disk, and the price scales accordingly:
The memory optimized flavor **"mem-su"** is provided from the same servers at
**"cpu-su"** but with 8 GB of memory per core. The base unit is 1 vCPU, 8 GB
memory with 20 GB root disk at a rate of $0.032 / hr of wall time.

| Flavor | SUs | Cost / hr |
|---------------|--------|--------------|
| mem-a.1 | 1 | $0.036 |
| mem-a.2 | 2 | $0.072 |
| mem-a.4 | 4 | $0.144 |
| mem-a.8 | 8 | $0.288 |
| mem-a.16 | 16 | $0.576 |
| Flavor | SUs | GPU | vCPU | RAM(GB) | Storage(GB) | Cost / hr |
|---------------|-----|-----|-------|---------|-------------|-----------|
|mem-su.1 |1 |0 |1 |8 |20 |$0.032 |
|mem-su.2 |2 |0 |2 |16 |40 |$0.064 |
|mem-su.4 |4 |0 |4 |32 |80 |$0.128 |
|mem-su.8 |8 |0 |8 |64 |160 |$0.256 |
|em-su.16 |16 |0 |16 |128 |320 |$0.512 |

### 3. GPU Tier

Expand All @@ -54,45 +52,33 @@ available with 20 GB root disk, and the price scales accordingly:
is integrated into a specialized hardware such as GPUs that produce unprecedented
performance boosts for technical computing workloads.

There are two flavors within the GPU tier, one featuring older **NVidia K80s**
and the newer **NVidia A100s technology**.
There are two flavors within the GPU tier, one featuring the newer
**NVidia A100s** along with **NVidia V100s**.

The **"gpu-k80"** flavor is provided from Supermicro (2x Intel E5-2620 v3, 24 core,
128GB memory, 2x NVidia K80s) servers. The base service unit is 25% of a whole
server, so 1 SU provides 6 vCPU, 32 GB memory, 1 NVidia K80 at a rate of
$0.534 / hr of wall time. Multiples of the `gpu-k80` SU are available with
20 GB root disk.
The **"gpu-su-a100"** flavor is provided from Lenovo SR670 (2x Intel 8268 2.9 GHz,
48 cores, 384 GB memory, 4x NVidia A100) servers. These latest GPUs deliver
industry-leading high throughput and low latency networking. The base unit is 24
vCPU, 95 GB memory with 20 GB root disk at a rate of $1.803 / hr of wall time.

| Flavor | SUs | Cost / hr |
|---------------|--------|--------------|
| gpu-k80.1 | 1 | $0.534 |
| gpu-k80.2 | 2 | $1.068 |
| gpu-k80.4 | 4 | $2.136 |
| Flavor | SUs | GPU | vCPU | RAM(GB) | Storage(GB) | Cost / hr |
|---------------|-----|-----|-------|---------|-------------|-----------|
|gpu-su-a100.1 |1 |1 |24 |95 |20 |$1.803 |
|gpu-su-a100.2 |2 |2 |48 |190 |40 |$3.606 |

!!! warning "The `gpu-k80` flavor will be available soon."
The **"gpu-su-v100"** flavor is provided from Dell R740xd (2x Intel Xeon Gold 6148,
40 core, 768GB memory, 1x NVidia V100) servers. The base unit is 24 vCPU, 96 GB
memory at a rate of $0.902 / hr of wall time. There is also a related "gpu-su-v100.1m"
consumable that provides doubled vCPU and memory in comparision to "gpu-su-v100.1".
Both gpu-su-v100 consumables are available with a 20 GB root disk.

We are still working on setting up the hardware required to enable the cost-effective
**"gpu-k80"** flavor. We will let you know once it is ready
and available for your general use.

The **"gpu-a100"** flavor is provided from Lenovo SR670 (2x Intel 8268 2.9 GHz, 48
core, 384 GB memory, 4x NVidia A100) servers. These latest GPUs deliver
industry-leading high throughput and low latency networking. The base service unit
is 25% of a whole server, so 1 SU provides 12 vCPU, 96 GB memory, 1 NVidia A100
at a rate of $2.034 / hr of wall time. Multiples of the `gpu-a100` SU are available
with 20 GB root disk.

| Flavor | SUs | Cost / hr |
|---------------|--------|--------------|
| gpu-a100.1 | 1 | $2.034 |
| gpu-a100.2 | 2 | $4.068 |
| gpu-a100.4 | 4 | $8.136 |
| Flavor | SUs | GPU | vCPU | RAM(GB) | Storage(GB) | Cost / hr |
|---------------|-----|-----|-------|---------|-------------|-----------|
|gpu-su-v100.1 |1 |1 |24 |96 |20 |$0.902 |
|gpu-su-v100.1m |2 |2 |48 |192 |20 |TBD |

!!! question "NERC IaaS Storage Tiers Cost"
**OpenStack Swift (object storage):** Provided from NESE collaboration at
$0.006 GB / mo

**Cinder (block storage/ volumes):** Provide from NESE collaboration at
$0.006 GB / mo
Storage both **OpenStack Swift (object storage)** and
**Cinder (block storage/ volumes)** are charged separately at a rate of
$0.009 TB/hr or $9.00E-12 KB/hr at a granularity of KB/hr.

---
4 changes: 2 additions & 2 deletions docs/openstack/create-and-connect-to-the-VM/launch-a-VM.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ is 1.
Customers can also upload their own custom images, as documented in
[this documentation](../advanced-openstack-topics/setting-up-your-own-images/how-to-build-windows-image.md).**

- **Flavor** tab: Specify the size of the instance to launch. Choose `cpu-a.4`
- **Flavor** tab: Specify the size of the instance to launch. Choose `cpu-su.4`
from the 'Flavor' tab by clicking on the "+" icon.

!!! question "Important Note"
Expand All @@ -71,7 +71,7 @@ from the 'Flavor' tab by clicking on the "+" icon.
**More details about available flavors and corresponding quotas
details can be found [here](flavors.md).**

After choosing `cpu-a.4`, you should see it moved up to "Allocated".
After choosing `cpu-su.4`, you should see it moved up to "Allocated".

![VM Launch Instance Flavor](images/launch_flavor.png)

Expand Down
2 changes: 1 addition & 1 deletion docs/other-tools/kubernetes/k0s.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ We will need 1 VM to create a single node kubernetes cluster using `k0s`.
We are using following setting for this purpose:

- 1 Linux machine, ubuntu-22.04-x86_64 or your choice of Ubuntu OS image,
cpu-a.2 flavor with 2vCPU, 4GB RAM, 20GB - also [assign Floating IP](../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
cpu-su.2 flavor with 2vCPU, 8GB RAM, 40GB - also [assign Floating IP](../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
to this VM.
- setup Unique hostname to the machine using the following command:

Expand Down
4 changes: 2 additions & 2 deletions docs/other-tools/kubernetes/k3s/k3s.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ control-plane kubernetes cluster using `k3s`. We are using following setting
for this purpose:

- 1 Linux machine for master, ubuntu-22.04-x86_64 or your choice of Ubuntu OS image,
cpu-a.2 flavor with 2vCPU, 4GB RAM, 20GB storage - also [assign Floating IP](../../../openstack/../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
cpu-su.2 flavor with 2vCPU, 8GB RAM, 40GB storage - also [assign Floating IP](../../../openstack/../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
to the master node.
- 2 Linux machines for worker, ubuntu-22.04-x86_64 or your choice of Ubuntu OS image,
cpu-a.1 flavor with 1vCPU, 2GB RAM, 20GB storage.
cpu-su.1 flavor with 1vCPU, 4GB RAM, 20GB storage.
- ssh access to all machines: [Read more here](../../../openstack/../openstack/create-and-connect-to-the-VM/bastion-host-based-ssh/index.md)
on how to setup SSH to your remote VMs.

Expand Down
4 changes: 2 additions & 2 deletions docs/other-tools/kubernetes/kind.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
We will need 1 VM to create a single node kubernetes cluster using `kind`.
We are using following setting for this purpose:

- 1 Linux machine, centos-7-x86_64, cpu-a.2 flavor with 2vCPU, 4GB RAM,
20GB storage - also [assign Floating IP](../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
- 1 Linux machine, centos-7-x86_64, cpu-su.2 flavor with 2vCPU, 8GB RAM,
40GB storage - also [assign Floating IP](../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
to this VM.
- setup Unique hostname to the machine using the following command:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ multi-master kubernetes cluster using `kubeadm`. You are going to use the
following set up for this purpose:

- 2 Linux machines for master, ubuntu-20.04-x86_64 or your choice of Ubuntu OS image,
cpu-a.2 flavor with 2vCPU, 4GB RAM, 20GB storage.
cpu-su.2 flavor with 2vCPU, 8GB RAM, 40GB storage.
- 2 Linux machines for worker, ubuntu-20.04-x86_64 or your choice of Ubuntu OS image,
cpu-a.1 flavor with 1vCPU, 2GB RAM, 20GB storage - also [assign Floating IPs](../../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
cpu-su.1 flavor with 1vCPU, 4GB RAM, 20GB storage - also [assign Floating IPs](../../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
to both of the worker nodes.
- 1 Linux machine for loadbalancer, ubuntu-20.04-x86_64 or your choice of Ubuntu
OS image, cpu-a.1 flavor with 1vCPU, 2GB RAM, 20GB storage.
OS image, cpu-su.1 flavor with 1vCPU, 4GB RAM, 20GB storage.
- ssh access to all machines: [Read more here](../../../openstack/create-and-connect-to-the-VM/bastion-host-based-ssh/index.md)
on how to setup SSH to your remote VMs.
- Create 2 security groups with appropriate [ports and protocols](https://kubernetes.io/docs/reference/ports-and-protocols/):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ We will need 1 control-plane(master) and 2 worker node to create a single
control-plane kubernetes cluster using `kubeadm`. We are using following setting
for this purpose:

- 1 Linux machine for master, ubuntu-20.04-x86_64, cpu-a.2 flavor with 2vCPU,
4GB RAM, 20GB storage.
- 2 Linux machines for worker, ubuntu-20.04-x86_64, cpu-a.1 flavor with 1vCPU,
2GB RAM, 20GB storage - also [assign Floating IPs](../../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
- 1 Linux machine for master, ubuntu-20.04-x86_64, cpu-su.2 flavor with 2vCPU,
8GB RAM, 40GB storage.
- 2 Linux machines for worker, ubuntu-20.04-x86_64, cpu-su.1 flavor with 1vCPU,
4GB RAM, 20GB storage - also [assign Floating IPs](../../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
to both of the worker nodes.
- ssh access to all machines: [Read more here](../../../openstack/create-and-connect-to-the-VM/bastion-host-based-ssh/index.md)
on how to setup SSH to your remote VMs.
Expand Down
6 changes: 3 additions & 3 deletions docs/other-tools/kubernetes/kubespray.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ control-plane kubernetes cluster using `Kubespray`. We are using following setti
for this purpose:

- 1 Linux machine for Ansible master, ubuntu-22.04-x86_64 or your choice of Ubuntu
OS image, cpu-a.2 flavor with 2vCPU, 4GB RAM, 20GB.
OS image, cpu-su.2 flavor with 2vCPU, 8GB RAM, 40GB.
- 1 Linux machine for master, ubuntu-22.04-x86_64 or your choice of Ubuntu
OS image, cpu-a.2 flavor with 2vCPU, 4GB RAM, 20GB -
OS image, cpu-su.2 flavor with 2vCPU, 8GB RAM, 40GB -
also [assign Floating IP](../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
to the master node.
- 1 Linux machines for worker, ubuntu-22.04-x86_64 or your choice of Ubuntu
OS image, cpu-a.1 flavor with 1vCPU, 2GB RAM, 20GB storage.
OS image, cpu-su.1 flavor with 1vCPU, 4GB RAM, 20GB storage.
- ssh access to all machines: [Read more here](../../openstack/create-and-connect-to-the-VM/bastion-host-based-ssh/index.md)
on how to setup SSH to your remote VMs.
- To allow SSH from **Ansible master** to all **other nodes**: [Read more here](../../openstack/create-and-connect-to-the-VM/ssh-to-cloud-VM/#adding-other-peoples-ssh-keys-to-the-instance)
Expand Down
2 changes: 1 addition & 1 deletion docs/other-tools/kubernetes/microk8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ We will need 1 VM to create a single node kubernetes cluster using `microk8s`.
We are using following setting for this purpose:

- 1 Linux machine, ubuntu-22.04-x86_64 or your choice of Ubuntu OS image,
cpu-a.2 flavor with 2vCPU, 4GB RAM, 20GB storage - also [assign Floating IP](../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
cpu-su.2 flavor with 2vCPU, 8GB RAM, 40GB storage - also [assign Floating IP](../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
to this VM.
- setup Unique hostname to the machine using the following command:

Expand Down
2 changes: 1 addition & 1 deletion docs/other-tools/kubernetes/minikube.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We will need 1 VM to create a single node kubernetes cluster using `minikube`.
We are using following setting for this purpose:

- 1 Linux machine for master, ubuntu-22.04-x86_64 or your choice of Ubuntu OS image,
cpu-a.2 flavor with 2vCPU, 4GB RAM, 20GB storage - also [assign Floating IP](../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
cpu-su.2 flavor with 2vCPU, 8GB RAM, 40GB storage - also [assign Floating IP](../../openstack/create-and-connect-to-the-VM/assign-a-floating-IP.md)
to this VM.
- setup Unique hostname to the machine using the following command:

Expand Down

0 comments on commit 8c29f57

Please sign in to comment.