17
loading...
This website collects cookies to deliver better user experience
# I use node 14.5.0
nodenv shell 14.5.0
# And Python3
virtualenv -p python3.8 .venv
source .venv/bin/activate
us-east-1
. If you do not need a custom domain, you can skip the first part.git clone https://github.com/dacort/jupyter-static-website.git
cd jupyter-static-website
pip install -r requirements.txt
cdk bootstrap aws://ACCOUNT-NUMBER-1/REGION-1
cdk deploy CloudfrontCertificateStack -c domain_name=notebooks.example.com
CloudfrontCertificateStack.certificatearn
- you'll need the value of this for the next phase.-c
options below.AWS_DEFAULT_REGION
environment variable.cdk deploy EmrStudioPublisherStack \
-c domain_name=notebooks.example.com \
-c certificate_arn=arn:aws:acm:us-east-1:012345678912:certificate/f07b01a4-3e8c-4639-8a22-b7a20a832de3
EmrStudioPublisherStack.cloudfrontendpoint
output) that has a pre-populated example site.git clone
the repository, add a new notebook, and push it back up! If you're using EMR Studio, you can add your CodeCommit repository and make your changes to your Jupyter notebooks there.site/docs/notebooks/
directory will automatically be published.nav
section of the mkdocs.yml
file.nav:
- Home: index.md
- Notebooks:
- Oura Sleep Analysis: notebooks/damons_sleep.ipynb
- Intro to Data Processing on AWS: notebooks/intro_data_processing_aws.ipynb
fig.show(renderer="jupyterlab")