Cloud Environment Setup

This is primarily for Cloud environments, not locally.

How environments work

Coming soon.


Corn is a base image that allows the provisioning of a multi-kernel Docker base image for JupyterHub deployments. corn uses the amazing Pangeo’s base image, installs all the environments it finds under ci/environments and makes them available as kernels in the base image so users can select which kernel to use depending on their needs. We’re able to update this environment leveraging GitHub Actions and deployment. Corn has streamlined a lot of environment settings and has been a big leap forward for our work in the Cloud — and you can use it too.

Corn full information coming soon. In the meantime, see:

slide with 3 headers: Update environment, GitHub Actions, and Deploy. Text description says “We use a CI pipeline that can build multiple Jupyter kernels for our Pangeo deployment. If a team needs a particular Python version or library not included in our base environment they can simple add theirs with an easy “bring your own environment” approach. A Github action will be trigger for any change to the Dockerfile or environment.yml. A new conda-lock environment will be created and a new base image build based on this environment (only for linux-64). The updated Docker image can be deployed to the JupyterHub using its configuration API. A team can be in control of their environment and deploy it in a matter of minutes.

Integration between Openscapes and 2i2c. We update the environment via GitHub Actions and Docker deployment.

Setting up corn locally

Setting up corn involves two steps: (1) Downloading the environment.yml, and (2) Setting up the environment using a package manager ( e.g. Anaconda Navigator, mamba, conda, etc.)

Download corn environment.yml

Using Anaconda Navigator

  • Open Anaconda Navigator
  • Import environment.yml file
  • Name your environment something like nasaopenscapes_env [your unique name for this environment]
  • Validating

more coming soon

TODO - from local machine how will you connect to AWS?

Cloud Primer for Amazon Web Services from NASA EOSDIS