-
Notifications
You must be signed in to change notification settings - Fork 33
/
when-to-cloud.qmd
77 lines (51 loc) · 5.41 KB
/
when-to-cloud.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
title: "When To 'Cloud'"
subtitle: "Is in-cloud access and analysis for you?"
date: last-modified
author: "NASA Openscapes Team"
citation_url: https://nasa-openscapes.github.io/earthdata-cloud-cookbook/when-to-cloud.html
slug: index
---
Cloud adoption often has a steep learning curve and can feel overwhelming. There are times when using the cloud is effective and times when the download model is more appropriate. Here we aim to help you decide what's best for your use case.
### What does it mean to be in The Cloud?
![Image by Alexis Hunzinger, GES DISC](images/what-is-the-cloud-basic.png){width="60%"}
At a basic level, "The Cloud" is somewhere that isn't your computer. We all interact with data and services and that live in "The Cloud" in our daily lives. When we store photos in iCloud or Google accounts instead of on our cell phones, we are using cloud storage. When we watch movies and tv shows on streaming services like Netflix or Hulu, we are using the cloud. In these cases, we are interacting with "the cloud" without knowing it, though we, the user, are not in "the cloud".
![Image by Alexis Hunzinger, GES DISC](images/what-is-the-cloud-example-movie.png){width="80%"}
If you use services like computing and storage, provided by a cloud service provider (Amazon Web Services, Microsoft Azure, Google Cloud Platform, etc.), then you are in "the cloud". Remember, "the cloud" is somewhere that isn't your computer. The storage location is elsewhere and the machines and processing is elsewhere.
![Image by Alexis Hunzinger, GES DISC](images/what-is-the-cloud-example-science.png){width="80%"}
The following guidance is specific to NASA Earthdata and the particular cloud it is stored in, Amazon Web Services (AWS). While some services provided by NASA data archives are cloud-based and you interact with, **the guidance below refers to using compute and storage services provided by AWS that allow a user to work closely, or in the same cloud, as the data.**
![Image by Alexis Hunzinger, GES DISC](images/what-is-the-cloud-earthdata.png){width="80%"}
### Questions to ask yourself
Use the following questions to guide your decisionmaking process about using cloud access and computing:
- What is the data volume?
- How long will it take to download?
- Can you store all that data (cost and space)?
- Do you have the computing power for processing?
- Does your team need a common computing environment?
- Do you need to share data at each step or just an end product?
- Is the action I want to take an existing service? (i.e. subsetting a dataset)
_Source: [Data strategies for Future Us](https://nsidc.github.io/data_strategies_for_future_us/data_strategies_slides#/when-to-cloud) by Andy Barrett_
### To Cloud...
TODO: _list example cases here: identify and describe what makes cloud usage more benficial for the team/workflow_
Find more discussion on cloud-based solutions for geoscience in this [Medium article](https://medium.com/pangeo/closed-platforms-vs-open-architectures-for-cloud-native-earth-system-analytics-1ad88708ebb6) by Ryan Abernathy and Joe Hamman.
### Not To Cloud...
TODO: _list examples cases here: identify and describe what makes the non-option more beneficial for the team/workflow_
### Challenges
It is important to be aware of the drawbacks and challenges associated with working in the cloud. Feedback from early cloud adopters are summarized here:
- "I don't have the time or energy to learn so many new concepts."
- "Major challenge: budgeting for cloud in a proposal."
- "My workflow isn't parallelizable, the file format isn't cloud-optimized, I'd rather download everything I need and perform analysis locally."
- "[On the preference to perform analysis locally] ...this is fine if data wasn't getting bigger!"
- "[The cloud] is faster, but only by a factor of 2. Our setup and data granules aren't structured to take advantage of a faster cloud."
- "Worried about doing things 'on my own', outside of a cloud-hosted JupyterHub."
- "How does using data from AWS work with GEE?"
_Source: [The Cloud: Obstacles and Barriers Encountered by Users](https://agu23.ipostersessions.com/Default.aspx?s=C7-8E-7D-F2-9E-4D-4A-EE-D9-1A-E4-35-08-46-FA-3F) (AGU 2023 - Alexis Hunzinger, Christopher Battisto, Allison Alcott, Binita KC)_
### Considerations
We are now accustomed to living in a highly digital world, separated from physical reminders of the technology we use. No longer do we access documents from a row of filing cabinets, we now store them in cloud-based archives (e.g. Google Docs). We run code on high-performance computing clusters, removed from the whirring and warmth generated by servers that live away from our desks. The following are considerations for using powerful cloud-based resources:
- Removed from physical signs of energy usage (heat, noise) of supercomputers/servers
- Physical location of "the cloud", whose land is it on? What resources is it using?
- Environmental impacts of large server farms
- Consider testing locally before migrating a workflow to the cloud
**Does cloud storage and computing increase equity?**
- **Yes!** Cloud is a solution for equity, as it provides under-resourced organizations (e.g. small universities, international groups) access to equipment they don't own or maintain.
- **No!** Larger organizations, who already own and maintain equipment for storage and computing, often have the budget to also use cloud storage and computing. This increases their pool of resources, giving them a larger advantage.