Skip to content

Commit

Permalink
Update screenshots for new console
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaweiZhuang committed Dec 12, 2018
1 parent 3812c84 commit 20c164a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions doc/source/chapter02_beginner-tutorial/basic-aws-services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,19 @@ In the :ref:`quick start guide <quick-start-label>`, you have used **EC2 (Elasti
AWS has hundreds of services (shown in the main console; see the figure below), and EC2 is just one of them. Fortunately, a tiny subset of services is enough for scientific computing. The most important services are **EC2** for compute and **S3** for storage. Tons of other services are targeted at IT/Business applications that scientists can safely ignore:

.. image:: img/aws_services.png
:width: 600 px

Core AWS concepts for scientific computing
------------------------------------------

In this section you will familiarize yourself with the following concepts and their costs: EC2, Spot Instances, AMI, EBS, S3, and Data egress charge.

- `EC2 (Elastic Compute Cloud) <https://aws.amazon.com/ec2/>`_ is the major computing service. You can create any number of servers (called "EC2 instances" in AWS context). They are just like normal servers that you can ``ssh`` to, to perform various computing tasks. Unlike local servers that have fixed hardware capacity and static software environment, EC2 instances are highly-customizable. For hardware, there are tons of `EC2 instances types <https://aws.amazon.com/ec2/instance-types/>`_ with different capacities in CPUs, memory, and disk storage. For software, you can start with a brand new operating system, or use other people's system images as you did in the quick start guide. `The price of EC2 <https://aws.amazon.com/ec2/pricing/>`_ is roughly $0.01 /CPU/hour.
- `EC2 (Elastic Compute Cloud) <https://aws.amazon.com/ec2/>`_ is the major computing service. You can create any number of servers (called "EC2 instances" in AWS context). They are just like normal servers that you can ``ssh`` to, to perform various computing tasks. Unlike local servers that have fixed hardware capacity and static software environment, EC2 instances are highly-customizable. For hardware, there are tons of `EC2 instances types <https://aws.amazon.com/ec2/instance-types/>`_ with different capacities in CPUs, memory, and disk storage. For software, you can start with a brand new operating system, or use other people's system images as you did in the quick start guide. `The price of EC2 <https://aws.amazon.com/ec2/pricing/>`_ is roughly $0.01 /CPU/hour. The cost can be reduced by ~70% with `spot pricing <https://aws.amazon.com/ec2/spot/>`_ (but with some caveats as :ref:`detailed later <spot-label>`).

.. note::

EC2 used to charge by hours but it now uses `per-second billing <https://aws.amazon.com/blogs/aws/new-per-second-billing-for-ec2-instances-and-ebs-volumes/>`_. That's a great saving for short simulations -- a 10-min simulation is only charged as 1/6 hour.

- `Spot instances <https://aws.amazon.com/ec2/spot/>`_ are a special pricing model for EC2 that is `particularly suitable for scientific computing <https://aws.amazon.com/ec2/spot/spot-and-science/>`_. It can reduce EC2 cost by ~70%. You will learn how to use it later in this tutorial.

* `AMI (Amazon Machine Image) <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html>`_ is a frozen system image of an EC2 instance. It contains the operating system, the software libraries, and all the files on a server. An AMI can be used to create any number of EC2 instances. Once a model is configured and saved as an AMI, any researchers can replicate the same environment and start using the model instantly. Some good examples are the `Deep Learning AMI <https://aws.amazon.com/marketplace/pp/B077GCH38C>`_ and the `OpenFOAM AMI <https://aws.amazon.com/marketplace/pp/B017AHYO16>`_.

.. _ebs-intro-label:
Expand Down
Binary file modified doc/source/chapter02_beginner-tutorial/img/aws_services.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/source/chapter02_beginner-tutorial/img/main_console.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion doc/source/chapter02_beginner-tutorial/quick-start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ Your AWS account should be available in a few minutes. (Occasionally, the accoun
Step 2: Launch a server with GEOS-Chem pre-installed
----------------------------------------------------

Log in to AWS console, and click on EC2 (Elastic Compute Cloud), which is the most basic cloud computing service.
Log in to AWS console, and click on EC2 (Elastic Compute Cloud), which is the most fundamental cloud computing service.

.. figure:: img/main_console.png
:width: 600 px

In the EC2 console, make sure you are in the **US East (N. Virginia)** region as shown in the upper-right corner of your console. Choosing a region closer to your physical location will give you better network. To keep this tutorial minimal, I built the system in only one region. But working across regions is not hard.

Expand Down

0 comments on commit 20c164a

Please sign in to comment.