{ "cells": [ { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "## Setting up your account and workspace\n", "\n", "Learn how to sign up for an account and access the MAAP.\n", "\n", ".. warning:: At this time, access to MAAP is limited to members of teams who are already using the system. Your access request will not be processed if you do not have a sponsor who is already using MAAP." ] }, { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "### Signing up for an Earthdata Login account\n", "\n", "The MAAP offers accounts for NASA users through [Earthdata Login](https://urs.earthdata.nasa.gov/). Before accessing the MAAP as a NASA user, you will need to create an Earthdata Login account. Anyone can register for an Earthdata Login profile here: https://urs.earthdata.nasa.gov/users/new." ] }, { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "### Signing up for a new MAAP account\n", "\n", "Once registered, you can register for a MAAP account by navigating to the MAAP ADE at http://ade.maap-project.org. On your first visit, select the \"Login with EarthData Account\" button shown here:\n", "\n", "![ADE Login](_static/ade_login.png) \n", " \n", "\n", "This is your first visit to the MAAP, so you will be asked to agree to the MAAP Terms of Use:\n", "\n", "![MAAP Terms of Use](../_static/tou.png) \n", " \n", "\n", "Once registered, you should be redirected back to the MAAP ADE showing a disabled account message similar to this:\n", "\n", "![ADE Access Denied](../_static/access_denied.png) \n", " \n", " \n", "At this point, a MAAP administrator will approve your account, which will grant you access to the MAAP ADE. **Remember, access is only granted to known users in the biomass science community and other projects directly related to MAAP**. To check on the status of your pending account, contact the MAAP team at support@maap-project.org.\n", "\n", ".. note::\n", " Once your MAAP account is approved, you will receive an email notification using the address of your Earthdata Login account to let you know that your access is enabled." ] }, { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "### Logging in\n", "\n", "1. Navigate to https://ade.maap-project.org/ in Chrome or Firefox. You should be redirected to a page that looks like this:\n", "![MAAP Project log in](_static/loggingin1.png)\n", "\n", "\n", "2. Click the “Login with EarthData Account” button. If this is your first time logging in, you should be redirected to an EarthData Login page that looks like this:\n", "![Login with EarthData](_static/loggingin2.png)\n", "\n", "\n", "3. Enter your “EarthData Login” account credentials here and click “Log in”. You should see a temporary page that says “Redirecting”, followed by the MAAP showing your Workspaces (which will be empty to start):\n", "![MAAP Jupyter logging in](_static/loggingin3.png)" ] }, { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "### Creating a workspace\n", "\n", "Workspaces are effectively a JupyterLab \"computer in the cloud\". To get started with Jupyter you need to create a workspace.\n", "\n", ".. note::\n", "In MAAP workspaces v4.0.0 the vanilla workspace was renamed to python. The associated Stack name changed as well, from Basic Stable to Python (default).\n", "\n", "1. In the top-left corner of the MAAP dashboard, under “NASA MAAP”, click “Get Started”. You should see a menu that looks like this:\n", "![Choose a workspace stack](_static/createws1.png)\n", "\n", "\n", "2. Select \"Python (default)\". This is called a \"Stack\" and represents a type of cloud compute environment that will be set up. If you are interested in seeing more about each Stack, the \"Stacks\" section-link in the left-hand area is where you can see the configuration of each Stack in detail. After choosing \"Python (default)\", you will see a loading screen that looks like this – wait for it to finish loading.\n", "![Loading the Python Stack](_static/createws2.png)\n", "\n", "\n", "3. Once the workspace has loaded, you should see a Jupyter interface that looks like this (note: You will see fewer environments and items in your root directory — this is normal! You may also see some notifications in the bottom right that look like errors about SSH Keys and other things; that is normal as well. You will also see one asking if you would like to take a guided tour.).\n", "![New Workspace View](_static/createws3.png)\n" ] }, { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "### Jupyter Interface overview\n", "When you first log in you may see a notification in the bottom right about a guided tour. Feel free to view the tour, which will give you a quick overview of the Jupyter user interface. You can also find the MAAP Tour in the Help menu at any time.\n", "![MAAP Tour Notification](_static/maap_tour_notification.png)\n", "\n", "\n", "In addition to [typical JupyterLab menu bar and sidebar](https://jupyterlab.readthedocs.io/en/stable/user/interface.html) configuration:\n", "\n", "#### MAAP Jupyter Menus\n", "![Jupyter Menus](_static/interface1.png)\n", "\n", " - Git: Open repo in terminal, init, or clone repo.\n", " - Jobs: Users may submit jobs through the submit tab and view their jobs through the view tab.\n", " - Help: The help menu has several customized extensions and references to the MAAP documentation.\n", "\n", "#### MAAP Jupyter Sidebar\n", "![Jupyter Sidebar](_static/interface2.png)\n", "\n", " - File Browser\n", " - Running Terminals & Kernels\n", " - Git Repo Interface (if this folder is a Git repo)\n", " - Collaborators\n", " - Table of Contents\n", " - Extension Manager\n", "\n", "#### MAAP Blue Sidebar\n", "\n", " - Workspaces: See workspaces, share them, as well as configure settings\n", " - Stacks: See available platforms for workspaces & required memory\n", " - Administration: Control the configuration & policies for your installation.\n", " - Organizations: allow groups of developers to collaborate with private & shared workspaces. Resources & permissions are controlled & allocated within the organization by admin.\n", " - Profile (bottom, labeled with your name): See account info, logout\n" ] }, { "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "### MAAP Storage Options\n", "![Jupyter annotated folders](_static/storageoptions.png)\n", "\n", "#### My root folder (fast cloud storage)\n", " - Your Jupyter home directory (`~`) is mounted to `/projects`. Files in here persist across sessions and exist across your workspaces.\n", " - Use this for code-related items, smaller data storage (such as Jupyter Notebooks, Python/ R/ Markdown files, etc.)\n", " - Git is more likely to behave predictably here compared to other storage \n", " - This is also the place to make persistent conda environments (covered in another section), but make sure to not make a conda env inside a git-tracked folder, or if you do add it to the .gitignore. If git is tracking an env, it could cause your workspace to crash. \n", " - Uses local (to Jupyter) file system; generally faster and more reliable for “normal” file operations, but expensive\n", "\n", "#### Large file storage: my-private-bucket\n", "`~/my-private-bucket` is an S3 bucket with persistent storage, but accessible only to you and others in a shared workspace.\n", " \n", " - Use for large data storage\n", " - It will be slower than the root folder to copy and move files, which is why it is not ideal for storing smaller files that need to be read or written quickly (e.g. Jupyter Notebooks)\n", "\n", "#### Sharing files: my-public-bucket and shared-buckets\n", "`~/my-public-bucket` is an S3 bucket with persistent storage. It is the same as `~/shared-buckets//` — anything you put in here will be accessible to other users via `~/shared-buckets/` as a read-only file. Likewise, to find shared files from another user, look in `~/shared-buckets/`.\n", "\n", " - Use for large data storage for files that you want to share across workspaces \n", " - Public and shared buckets are not recommended for Jupyter Notebooks\n", "\n", "![Storage options diagram](_static/storage_options_diagram.png)\n", "\n", "#### Mounting your MAAP workspace on your local computer\n", "If you prefer to work on your local computer, or to drag-and-drop copy files from your computer to/from MAAP, you access the workspace via SSH. The [process for doing this](../system_reference_guide/ssh.ipynb#Accessing-MAAP-workspaces-over-SSH) is in the system guide." ] } ], "metadata": { "kernelspec": { "display_name": "Python 3.12.0 64-bit", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.0" }, "metadata": { "interpreter": { "hash": "31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6" } }, "vscode": { "interpreter": { "hash": "7500c3e1c7c786e4ba1e4b4eb7588219b4e35d5153674f92eb3a82672b534f6e" } } }, "nbformat": 4, "nbformat_minor": 4 }