Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit

Permalink
Cleanup warnings and HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Middelkoop authored and tmiddelkoop committed Dec 2, 2021
1 parent 508ece2 commit f374d17
Show file tree
Hide file tree
Showing 11 changed files with 83 additions and 167 deletions.
39 changes: 17 additions & 22 deletions content/AWS/01_intro_to_cloud_console.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,39 +34,42 @@
},
{
"cell_type": "markdown",
"id": "acf07f2b",
"id": "5a252bd1-ac08-455f-9f5a-1049676173af",
"metadata": {},
"source": [
"### Setup\n",
"## Setup\n",
"\n",
"The console is the point of entry where you will start your AWS journey. If you are participating in the CLASS Essentials Workshop, you will have received a csv file via email. This csv file contains your **username**, **temporary password** and **console login link**. \n",
"\n",
"```{admonition} Be Aware\n",
":class: danger\n",
"If you are doing self-paced learning, your login information may be different!\n",
"```\n",
"\n",
"### Logging in to the console\n",
"```"
]
},
{
"cell_type": "markdown",
"id": "9108a06c-ac48-4c70-a5cd-03f74ff1f67c",
"metadata": {},
"source": [
"## Logging in to the console\n",
"Paste your console login link into your web browser. You will see the AWS site requesting you to sign in as an IAM user. Fill in your username and password that was assigned to you in the csv file. You will be asked to change your password the first time you sign in to the console. Fill in your old password and then choose a new password that you can remember! \n",
"\n",
"You are now logged on. Welcome to the first step of your cloud journey! \n",
"\n",
"Figure 1 is what your screen should look like when you log in to the AWS console for the first time. If you encounter any pop up boxes, you can exit them. Next, let's take a closer look at some key concepts and components of the AWS console. \n",
"\n",
"<img src=\"./images/intro_to_cloud_console/console_start.png\" width=720 align=\"center\">\n",
"Below is what your screen should look like when you log in to the AWS console for the first time. If you encounter any pop up boxes, you can exit them. Next, let's take a closer look at some key concepts and components of the AWS console. \n",
"\n",
"<div align=\"center\">Figure 1: First time logging in to the AWS console</div><br/>"
"![First time logging in to the AWS console](images/intro_to_cloud_console/console_start.png)"
]
},
{
"cell_type": "markdown",
"id": "930220c5",
"metadata": {},
"source": [
"### Key concepts and components of the AWS console\n",
"<img src=\"./images/intro_to_cloud_console/console_start_labeled.png\" width=720 align=\"center\">\n",
"## Key concepts and components of the AWS console\n",
"\n",
"<div align=\"center\">Figure 2: Basic but important components of the AWS Console</div><br/>\n"
"![Basic but important components of the AWS Console](images/intro_to_cloud_console/console_start_labeled.png)"
]
},
{
Expand Down Expand Up @@ -105,19 +108,11 @@
"* What are the three ways you can find an AWS service on the console?\n",
"````"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b8fab5e4",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -131,7 +126,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
"version": "3.7.10"
}
},
"nbformat": 4,
Expand Down
22 changes: 8 additions & 14 deletions content/AWS/02_intro_to_compute_part1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@
"source": [
"We begin with the AWS console again. Under the \"Build a Solution\" panel, select `Launch a Virtual Machine`\n",
"\n",
"<img src=\"./images/console_ec2.png\" width=720 align=\"center\">\n",
"\n",
"<div align=\"center\">Figure 1: Start page for the AWS console</div><br/>\n",
"![Start page for the AWS console](images/console_ec2.png)\n",
"\n",
"This will then lead you through a series of steps to get a **Free Tier** EC2 instance up and running. \n",
"\n",
Expand Down Expand Up @@ -110,7 +108,7 @@
"\n",
"```{admonition} Note\n",
":class: note\n",
"The four most common types of storage you will encounter on AWS are: Elastic Block Storage (EBS), Elastic File Storage (EFS), Simple Storage Service (s3) and s3 Glacier. In the simplest terms, EBS is analogous to a computer hard drive and EFS is analogous to a network file system (NFS) or shared file system. s3 is AWS's object storage which is discussed [here](./intro_to_s3). s3 Glacier is a cost-effective way of storing s3 files that you do not need to access frequently. \n",
"The four most common types of storage you will encounter on AWS are: Elastic Block Storage (EBS), Elastic File Storage (EFS), Simple Storage Service (s3) and s3 Glacier. In the simplest terms, EBS is analogous to a computer hard drive and EFS is analogous to a network file system (NFS) or shared file system. s3 is AWS's object storage which is discussed [here](05_intro_to_cloud_storage). s3 Glacier is a cost-effective way of storing s3 files that you do not need to access frequently. \n",
"```\n",
"\n",
"Here will will select a ```t2.micro``` instance which is Free Tier Eligible but only has 1vCPU and 1 GiB of memory. The cost of running a t2.micro instance is "
Expand All @@ -121,27 +119,23 @@
"id": "4ee655a3",
"metadata": {},
"source": [
"<img src=\"./images/ec2-type.png\" width=720 align=\"center\">\n",
"\n",
"<div align=\"center\">Figure 3: Step 2 - Choose an Instance Type</div><br/>\n",
"![Choose an Instance Type](images/ec2-type.png)\n",
"\n",
"Select ```Next: Configure Instance Details```.\n",
"\n",
"## Step 3: Configure Instance Details\n",
"Step 3 in creating an EC2 instance involves a rudimentary understanding of several key AWS and cloud jargon (Figure 4). While delving deeper into some of the terminology is outside of the scope of CLASS Essentials, we go will through these terms in brief as we learn how to configure your EC2 instance. \n",
"\n",
"<img src=\"./images/ec2-configure.png\" width=720 align=\"center\">\n",
"\n",
"<div align=\"center\">Figure 4: Step 3 - Configure Instance Details</div><br/>\n",
"![Configure Instance Details](images/ec2-configure.png)\n",
"\n",
"**Number of instances** : This indicates how many instances you want to create at the same time. Here, we will leave the value as '1' but in actuality, you can can have up to 20 instances per region. \n",
"\n",
"```{admonition} Note\n",
":class: note\n",
"Recall that we learned about regions in the [previous chapter](./intro_to_cloud_console). \n",
"Recall that we learned about regions in the [previous chapter](./01_intro_to_cloud_console). \n",
"```\n",
"\n",
"**Purchasing Options** : Throughout your AWS journey, you will hear the term [**Spot Instances**](). Spot instances make use of the servers that go unused in AWS data centers to minimize costs. Recall that AWS has many data centers spread across the globe and not all their servers are utilized at 100% capacity at all times. Amazon uses Spot Instances as a flexible way to profit from extra capacity. Users have access to Spot Instances through a bidding process, sometimes users can save up to 90% off the on-deman compute instance this way! We will not expand much more on Spot Instances in CLASS Essentials but if you are interested, I2's CLASS Intermediate talks more "
"**Purchasing Options** : Throughout your AWS journey, you will hear the term **Spot Instances**. Spot instances make use of the servers that go unused in AWS data centers to minimize costs. Recall that AWS has many data centers spread across the globe and not all their servers are utilized at 100% capacity at all times. Amazon uses Spot Instances as a flexible way to profit from extra capacity. Users have access to Spot Instances through a bidding process, sometimes users can save up to 90% off the on-deman compute instance this way! We will not expand much more on Spot Instances in CLASS Essentials but if you are interested, I2's CLASS Intermediate talks more "
]
},
{
Expand All @@ -160,7 +154,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -174,7 +168,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
"version": "3.7.10"
}
},
"nbformat": 4,
Expand Down
26 changes: 9 additions & 17 deletions content/AWS/03_intro_to_compute_part2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@
"source": [
"We begin with the AWS console again. Under the \"Build a Solution\" panel, select `Launch a Virtual Machine`\n",
"\n",
"<img src=\"./images/console_ec2.png\" width=720 align=\"center\">\n",
"\n",
"<div align=\"center\">Figure 1: Start page for the AWS console</div><br/>\n",
"![Figure 1: Start page for the AWS console](images/console_ec2.png)\n",
"\n",
"This will then lead you through a series of steps to get a **Free Tier** EC2 instance up and running. \n",
"\n",
Expand Down Expand Up @@ -78,19 +76,15 @@
"\n",
"An Amazon Machine Image (AMI) is a template that Amazon uses to describe the operating system, disk type and all the software configuration that is needed to make sure a computer runs smoothly. Imagine that you are purchasing a new laptop; fresh out of the box, the laptop is pre-configured with an operating system (e.g. Windows, Mac OS, Ubuntu etc.), configuration files that tells the laptop what peripherals are attached, and pre-installed software like Adobe PDF reader. An AMI contains all this information so that your EC2 instance runs exactly like it would a new laptop out of the box! There is much more to learn about AMIs and how they can used for collaboration and data sharing but that is not within the scope of CLASS Essentials. \n",
"\n",
"As you scroll through the AMI list (Figure 2) you will notice that the list contains offerings from various vendors (e.g. Amazon, RedHat, Windows, etc.). We will be choosing the Ubuntu operating system for flexibility and versatility (can be used outside of the AWS ecosystem). \n",
"As you scroll through the AMI list shown below you will notice that the list contains offerings from various vendors (e.g. Amazon, RedHat, Windows, etc.). We will be choosing the Ubuntu operating system for flexibility and versatility (can be used outside of the AWS ecosystem). \n",
"\n",
"To list all the Free Tier AMIs, check the box on the right that says ```Free tier only```.\n",
"\n",
"<img src=\"./images/ec2-ami.png\" width=720 align=\"center\">\n",
"\n",
"<div align=\"center\">Figure 2: Step 1 - Select an AMI - Free Tier Only </div><br/>\n",
"![Step 1 - Select an AMI - Free Tier Only](images/ec2-ami.png)\n",
"\n",
"Scroll to ```Ubuntu Server 20.04 LTS(HVM), SSD Volume Type``` (Figure 3). Select ```64-bit(x86)```. \n",
"Scroll to ```Ubuntu Server 20.04 LTS(HVM), SSD Volume Type``` shown below. Select ```64-bit(x86)```. \n",
"\n",
"<img src=\"./images/ec2-ubuntu.png\" width=720 align=\"center\">\n",
"\n",
"<div align=\"center\">Figure 3: Step 1 - Select an AMI - Operating System Selection </div><br/>"
"![Step 1 - Select an AMI - Operating System Selection](images/ec2-ubuntu.png)"
]
},
{
Expand All @@ -110,7 +104,7 @@
"\n",
"```{admonition} Note\n",
":class: note\n",
"The four most common types of storage you will encounter on AWS are: Elastic Block Storage (EBS), Elastic File Storage (EFS), Simple Storage Service (s3) and s3 Glacier. In the simplest terms, EBS is analogous to a computer hard drive and EFS is analogous to a network file system (NFS) or shared file system. s3 is AWS's object storage which is discussed [here](./intro_to_s3). s3 Glacier is a cost-effective way of storing s3 files that you do not need to access frequently. \n",
"The four most common types of storage you will encounter on AWS are: Elastic Block Storage (EBS), Elastic File Storage (EFS), Simple Storage Service (s3) and s3 Glacier. In the simplest terms, EBS is analogous to a computer hard drive and EFS is analogous to a network file system (NFS) or shared file system. s3 is AWS's object storage which is discussed [here](05_intro_to_cloud_storage). s3 Glacier is a cost-effective way of storing s3 files that you do not need to access frequently. \n",
"```\n"
]
},
Expand All @@ -119,17 +113,15 @@
"id": "4ee655a3",
"metadata": {},
"source": [
"<img src=\"./images/ec2-type.png\" width=720 align=\"center\">\n",
"\n",
"<div align=\"center\">Figure 3: Step 2 - Choose an Instance Type</div><br/>\n",
"![Step 2 - Choose an Instance Type](images/ec2-type.png)\n",
"\n",
"Select ```Next: Configure Instance Details``` and we'll move on to the next chapter. "
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -143,7 +135,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
"version": "3.7.10"
}
},
"nbformat": 4,
Expand Down
33 changes: 8 additions & 25 deletions content/AWS/04_intro_to_cli.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,38 +11,21 @@
"```{admonition} Overview\n",
":class: tip\n",
"\n",
"**Teaching:**\n",
"\n",
"```"
]
},
{
"cell_type": "markdown",
"id": "502f2360",
"metadata": {},
"source": [
"```{code-cell} ipython3\n",
":tags: [mytag]\n",
"**Exercises:**\n",
"\n",
"print(\"A python cell\")\n",
"```"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "c543528f",
"metadata": {},
"outputs": [],
"source": [
"Test CLI \n",
"**Questions:**\n",
"\n",
"**Objectives:**\n",
"\n",
"Hello John "
"```"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -56,7 +39,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
"version": "3.7.10"
}
},
"nbformat": 4,
Expand Down
29 changes: 8 additions & 21 deletions content/AWS/05_intro_to_cloud_storage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,21 @@
"```{admonition} Overview\n",
":class: tip\n",
"\n",
"**Teaching:**\n",
"\n",
"```"
]
},
{
"cell_type": "markdown",
"id": "502f2360",
"metadata": {},
"source": [
"```{code-cell} ipython3\n",
":tags: [mytag]\n",
"**Exercises:**\n",
"\n",
"**Questions:**\n",
"\n",
"**Objectives:**\n",
"\n",
"print(\"A python cell\")\n",
"```"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "c543528f",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -52,7 +39,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
"version": "3.7.10"
}
},
"nbformat": 4,
Expand Down
29 changes: 8 additions & 21 deletions content/AWS/06_running_analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,21 @@
"```{admonition} Overview\n",
":class: tip\n",
"\n",
"**Teaching:**\n",
"\n",
"```"
]
},
{
"cell_type": "markdown",
"id": "502f2360",
"metadata": {},
"source": [
"```{code-cell} ipython3\n",
":tags: [mytag]\n",
"**Exercises:**\n",
"\n",
"**Questions:**\n",
"\n",
"**Objectives:**\n",
"\n",
"print(\"A python cell\")\n",
"```"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "c543528f",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -52,7 +39,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
"version": "3.7.10"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit f374d17

Please sign in to comment.