Skip to content

Commit

Permalink
Update Episode 4 and 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanda Tan committed Feb 2, 2022
1 parent 07639d5 commit 1f7213d
Show file tree
Hide file tree
Showing 11 changed files with 80 additions and 48 deletions.
4 changes: 2 additions & 2 deletions content/AWS/01_intro_to_cloud_console.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -126,7 +126,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.9.5"
}
},
"nbformat": 4,
Expand Down
28 changes: 0 additions & 28 deletions content/AWS/03_intro_to_compute_part2.ipynb
Original file line number Diff line number Diff line change
@@ -1,33 +1,5 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "dc57021c",
"metadata": {},
"source": [
"# Introduction to Elastic Cloud Compute (EC2) - Part 2\n",
"\n",
"\n",
"```{admonition} Overview\n",
":class: tip\n",
"\n",
"**Teaching:** 45 mins\n",
"\n",
"**Exercises:** 10 mins\n",
"\n",
"**Questions:**\n",
"* How do I allocate storage to an instance?\n",
"* Why should I attached tags to an instance?\n",
"* What are security groups?\n",
"\n",
"**Objectives:**\n",
"* Understand the concept of storage, tags and security groups.\n",
"* Understand what an Elastic Cloud Compute (EC2) instance is.\n",
"* Understand how to launch an EC2 instance. \n",
"\n",
"```"
]
},
{
"cell_type": "markdown",
"id": "502f2360",
Expand Down
45 changes: 38 additions & 7 deletions content/AWS/04_intro_to_cloud_storage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
"\n",
"**Questions: **\n",
"* What are the different kinds of storage on the cloud?\n",
"* How do I us cloud storage buckets?\n",
"* What is object storage?\n",
"* How do I store objects on AWS?\n",
"\n",
"**Objectives:**\n",
"* Understand the different types of storage formats\n",
"* Understand how provision storage buckets\n",
"\n",
"```"
Expand All @@ -30,20 +32,49 @@
"id": "338a2a01",
"metadata": {},
"source": [
"<img src=\"./images/s3_launch.png\" width=720 align=\"center\">\n",
"There are three types of [cloud data storage](https://aws.amazon.com/what-is-cloud-storage/): object storage, file storage, and block storage. In this module, we will focus on object storage (e.g. Amazon Simple Storage Service (S3)).\n",
"\n",
"<img src=\"./images/s3_launch_2.png\" width=720 align=\"center\">\n",
"Recall that there are multiple ways to locate an AWS service: Using the search bar and using the home button at the top left hand of the screen. Here, we will search for the service **s3**. \n",
"\n",
"<img src=\"./images/s3_launch_3.png\" width=720 align=\"center\">\n",
"\n",
"<img src=\"./images/s3_launch_4.png\" width=720 align=\"center\">\n",
"\n"
"\n",
"<img src=\"./images/s3_launch_1.png\" width=720 align=\"center\">"
]
},
{
"cell_type": "markdown",
"id": "177860a7",
"metadata": {},
"source": [
"Here we will click into the s3 service page. Note that the region here is Global. s3 namespaces, meaning the name of the buckets are global, which means that no two buckets can have the same name even if they reside in a different region. \n",
"\n",
"Click ```Create Bucket```. \n",
"\n",
"<img src=\"./images/s3_launch_2.png\" width=720 align=\"center\">"
]
},
{
"cell_type": "markdown",
"id": "9e0f64bf",
"metadata": {},
"source": [
"This will bring you to the Create Bucket page. Here we will choose a name for our new bucket - it will need to be a unique global namespace. Here I will use my identifying IAM (user1783892) to create a bucket. We will name my bucket ```bucket-user1783892```, leave the region as us-east-1 as well as all the default settings and click ```Create Bucket```\n",
"\n",
"<img src=\"./images/s3_launch_3.png\" width=720 align=\"center\">"
]
},
{
"cell_type": "markdown",
"id": "8c3eca82",
"metadata": {},
"source": [
"<img src=\"./images/s3_launch_4.png\" width=720 align=\"center\">"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "11ec13a6",
"id": "8a8b8f92",
"metadata": {},
"outputs": [],
"source": []
Expand Down
30 changes: 29 additions & 1 deletion content/AWS/05_intro_to_cli.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,36 @@
"id": "8e8dd80c",
"metadata": {},
"source": [
"Now that we have successfully created an EC2 Instance and an s3 bucket, we will explore ways that these two AWS resources can interact. While your s3 bucket from the previously lesson is launching, we will navigate to the "
"Now that we have successfully created an EC2 Instance and an s3 bucket, we will explore ways that these two AWS resources can interact. While your s3 bucket from the previously lesson is launching, we will navigate to the AWS CloudShell. You can find in the top toolbar of the console. \n",
"\n",
"Clicking the icon will launch the AWS CloudShell. \n",
"\n",
"If this is your first time using the cloud console, you may encounter a pop up. It is fine to dismiss it. \n",
"\n",
"Once we have launched the CloudShell, we can run some commands. Here a fundamental knowledge of unix commands may be useful but we will utilize the several aws-cli commands to help you get a feel of what the AWS CLI can do. \n",
"\n",
"<img src=\"./images/cli_commands_1.png\" width=720 align=\"center\">"
]
},
{
"cell_type": "markdown",
"id": "9a85993e",
"metadata": {},
"source": [
"```{admonition} Exercise\n",
":class: attention\n",
"\n",
"* How can you see the contents of your bucket through the AWS console? \n",
"````"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "cba68baf",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
Binary file added content/AWS/images/cli_commands_1.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 modified content/AWS/images/s3_launch_1.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 modified content/AWS/images/s3_launch_2.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 modified content/AWS/images/s3_launch_3.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 modified content/AWS/images/s3_launch_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 9 additions & 8 deletions content/AWS/intro_to_AWS_Essentials.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@
"The modules in this lesson are: \n",
"\n",
"1. [Introduction to the AWS Cloud Console](./01_intro_to_cloud_console)\n",
"2. [Introduction to Cloud Compute](./02_intro_to_compute_part1)\n",
"3. [Introduction to the AWS CLI](./04_intro_to_cli)\n",
"4. [Introduction to Cloud Storage](./05_intro_to_cloud_storage)\n",
"5. [Running Analysis on the Cloud](./06_running_analysis)\n",
"6. [Monitoring Costs](./07_monitoring_costs)\n",
"7. [Cleaning up Resources and Best Practices](./08_cleaning_up_resources)"
"2. [Introduction to Cloud Compute - Part 1](./02_intro_to_compute_part1)\n",
"3. [Introduction to Cloud Compute - Part 2](./03_intro_to_compute_part2)\n",
"4. [Introduction to Cloud Storage](./04_intro_to_cloud_storage)\n",
"5. [Introduction to the AWS CLI](./05_intro_to_cli)\n",
"6. [Running Analysis on the Cloud](./06_running_analysis)\n",
"7. [Monitoring Costs](./07_monitoring_costs)\n",
"8. [Cleaning up Resources and Best Practices](./08_cleaning_up_resources)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -35,7 +36,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.9.5"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions content/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ parts:
- file: AWS/01_intro_to_cloud_console
- file: AWS/02_intro_to_compute_part1
- file: AWS/03_intro_to_compute_part2
- file: AWS/04_intro_to_cli
- file: AWS/05_intro_to_cloud_storage
- file: AWS/04_intro_to_cloud_storage
- file: AWS/05_intro_to_cli
- file: AWS/06_running_analysis
- file: AWS/07_monitoring_costs
- file: AWS/08_cleaning_up_resources
Expand Down

0 comments on commit 1f7213d

Please sign in to comment.