SlideShare a Scribd company logo
Setup Jupyter on AWS (Amazon Web Services) EC2
(Elastic Compute Cloud) instance
Amazon Web Serices (AWS)
Amazon Web Services (AWS) is a subsidiary of Amazon that provides on-demand cloud computing platforms
to individuals, companies and governments, on a paid subscription basis. The technology allows subscribers
to have at their disposal a virtual cluster of computers, available all the time, through the Internet.
The AWS technology is implemented at server farms throughout the world, and maintained by the Amazon
subsidiary. Fees are based on a combination of usage, the hardware/OS/software/networking features chosen
by the subscriber, required availability, redundancy, security, and service options.
In 2019, AWS comprised more than 150 services spanning a wide range including computing, storage,
networking, database, analytics, application services, deployment, management, mobile, developer tools, and
tools for the Internet of Things. The most popular include Amazon Elastic Compute Cloud (EC2) and Amazon
Simple Storage Service (S3).
AWS owns a dominant 34% of all cloud (IaaS, PaaS) while the next three competitors Microsoft, Google, and
IBM have 11%, 8%, 6% respectively.
AWS EC2
Amazon Elastic Compute Cloud (EC2) forms a central part of Amazon.com's cloud-computing platform,
Amazon Web Services (AWS), by allowing users to rent virtual computers on which to run their own computer
applications. Users can boot an Amazon Machine Image (AMI) to configure a virtual machine, which Amazon
calls an "instance". A user can create, launch, and terminate server-instances as needed, paying by the
second for active servers – hence the term "elastic". EC2 provides users with control over the geographical
location of instances that allows for latency optimization and high levels of redundancy.
Following Instance Types:
 General Purpose: A1, T3, T2, M5, M5a, M4, T3
 Compute Optimized: C5, C5n, C4
 Memory Optimized: R5, R5a, R4, X1e, X1, High Memory, z1
 Accelerated Computing: P3, P2, G3, F1
 Storage Optimized: H1, I3, D2
Following paying method for instance were offered:
 On-demand: pay by the hour without commitment.
 Reserved: rent instances with one-time payment receiving discounts on the hourly charge.
 Spot: bid-based service: runs the jobs only if the spot price is below the bid specified by bidder.
Python & Anaconda
Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and
first released in 1991, Python has come to become one of the most widely used programming languages
worldwide (after Java and C) and the most used for machine learning/ A.I.
Available in two versions, Python 2.X and Python3.X, the community is moving towards Python3.X since support
for 2.X will stop after 2020.
Anaconda is a free and open-source distribution of the Python and R programming languages for scientific
computing (data science, machine learning applications, large-scale data processing, predictive analytics, etc.),
that aims to simplify package management and deployment. Package versions are managed by the package
management system conda. The Anaconda distribution includes more than 1400 popular data-science packages
suitable for Windows, Linux, and MacOS.
The default installation of Anaconda2 includes Python 2.7 and Anaconda3 includes Python 3.7. However, you
can create new environments that include any version of Python packaged with conda.
Jupyter & Setup Process
Jupyter Notebook (formerly IPython Notebooks) is a web-based interactive computational environment for
creating Jupyter notebooks documents. The "notebook" term can colloquially make reference to many different
entities, mainly the Jupyter web application, Jupyter Python web server, or Jupyter document format depending
on context. A Jupyter Notebook document is a JSON document, following a versioned schema, and containing
an ordered list of input/output cells which can contain code, text (using Markdown), mathematics, plots and rich
media, usually ending with the ".ipynb" extension.
To set up Jupyter on an AWS EC2 instance:
 Create an AWS Account (if don’t have already)
 Create, launch, and connect an EC2 instance (preferably a free tier one for this tutorial)
 Download & install Anaconda (can also activate a virtual environment, if needed)
 Create Password for Jupyter Notebook
 Create configuration file for Jupyter and certificates for supporting https
 Configure Jupyter via the configuration file generated above
 Run Jupyter using Screen (so that even if disconnected, Jupyter still runs)

More Related Content

What's hot (16)

PDF
Cheat sheet compare AWS and azure computing
Ganesh Pol
 
PPTX
BACD Presentation
Brian Bullard
 
PPT
Amazon web services: A Quick Introduction from Cloudreach
cloudreachslideshare
 
PPTX
Amazon EMR Facebook Presto Meetup
stevemcpherson
 
PDF
AWS EMR (Elastic Map Reduce) explained
Harsha KM
 
PPTX
Cloudstack Open source and you
Brian Bullard
 
PDF
PAC 2019 virtual Stefano Doni
Neotys
 
PDF
Taking Web Application Deployment from Infancy to Maturity in AWS
P3 InfoTech Solutions Pvt. Ltd.
 
PDF
Getting Started with Amazon EMR
Arman Iman
 
PPTX
Study and implementation a cloud solution based on
Dendani Bilal
 
PPTX
Cloud Patterns And Applications
Rashmi Agale
 
PPTX
Multi-Cloud API
SUSE
 
PPTX
Ford's AWS Service Update - May 2020 (Richmond AWS User Group)
Ford Prior
 
PPTX
Programming for Lego Mindstorms using Eclipse to take you back to your childh...
Benjamin Cabé
 
PDF
Introduction to AWS (Amazon Web Services)
Albert Suwandhi
 
PPTX
themidgame-tube-slides
Pedro Moy
 
Cheat sheet compare AWS and azure computing
Ganesh Pol
 
BACD Presentation
Brian Bullard
 
Amazon web services: A Quick Introduction from Cloudreach
cloudreachslideshare
 
Amazon EMR Facebook Presto Meetup
stevemcpherson
 
AWS EMR (Elastic Map Reduce) explained
Harsha KM
 
Cloudstack Open source and you
Brian Bullard
 
PAC 2019 virtual Stefano Doni
Neotys
 
Taking Web Application Deployment from Infancy to Maturity in AWS
P3 InfoTech Solutions Pvt. Ltd.
 
Getting Started with Amazon EMR
Arman Iman
 
Study and implementation a cloud solution based on
Dendani Bilal
 
Cloud Patterns And Applications
Rashmi Agale
 
Multi-Cloud API
SUSE
 
Ford's AWS Service Update - May 2020 (Richmond AWS User Group)
Ford Prior
 
Programming for Lego Mindstorms using Eclipse to take you back to your childh...
Benjamin Cabé
 
Introduction to AWS (Amazon Web Services)
Albert Suwandhi
 
themidgame-tube-slides
Pedro Moy
 

Similar to Setup Jupyter on AWS (Amazon Web Services) EC2 (Elastic Compute Cloud) instance (20)

PDF
Big Data Step-by-Step: Infrastructure 2/3: Running R and RStudio on EC2
Jeffrey Breen
 
PPTX
Introduction to python history and platforms
Kirti Verma
 
KEY
R Jobs on the Cloud
John Doxaras
 
PDF
Python Scripting Tutorial for Beginners | Python Tutorial | Python Training |...
Edureka!
 
PDF
Cloud Computing With Amazon Web Services, Part 3: Servers on Demand With EC2
white paper
 
PDF
Cloud Computing With Amazon Web Services, Part 3: Servers on Demand With EC2
white paper
 
PDF
Parallel Computing for Econometricians with Amazon Web Services
stephenjbarr
 
PDF
Sentiment Analysis in R on AWS cloud
IRJET Journal
 
PDF
London level39
Travis Oliphant
 
PPTX
Reinvent recap
Jason Poley
 
PDF
Practical Examples of Serverless Architecture using AWS Lambda and PyWren as ...
Juan Pizarro
 
PPTX
Adv. R (AWS) EDITED.pptx
VinayGupta946658
 
PDF
AWS 2017 re:Invent re:Cap - TriNimbus Presentation Slides
TriNimbus
 
PDF
Big data + cloud computing glossary for community
Kumar Chinnakali
 
PDF
Python as the Zen of Data Science
Travis Oliphant
 
PPTX
re:Invent re:Peat
Steve Houël
 
PDF
AWS Certified Solutions Architect Associate Notes.pdf
fayoyiwababajide
 
PPTX
Dbms
vatsaanadi
 
PDF
Elasticwulf Pycon Talk
Peter Skomoroch
 
PDF
UCT AWS_IOT
uniconvergetechnologies
 
Big Data Step-by-Step: Infrastructure 2/3: Running R and RStudio on EC2
Jeffrey Breen
 
Introduction to python history and platforms
Kirti Verma
 
R Jobs on the Cloud
John Doxaras
 
Python Scripting Tutorial for Beginners | Python Tutorial | Python Training |...
Edureka!
 
Cloud Computing With Amazon Web Services, Part 3: Servers on Demand With EC2
white paper
 
Cloud Computing With Amazon Web Services, Part 3: Servers on Demand With EC2
white paper
 
Parallel Computing for Econometricians with Amazon Web Services
stephenjbarr
 
Sentiment Analysis in R on AWS cloud
IRJET Journal
 
London level39
Travis Oliphant
 
Reinvent recap
Jason Poley
 
Practical Examples of Serverless Architecture using AWS Lambda and PyWren as ...
Juan Pizarro
 
Adv. R (AWS) EDITED.pptx
VinayGupta946658
 
AWS 2017 re:Invent re:Cap - TriNimbus Presentation Slides
TriNimbus
 
Big data + cloud computing glossary for community
Kumar Chinnakali
 
Python as the Zen of Data Science
Travis Oliphant
 
re:Invent re:Peat
Steve Houël
 
AWS Certified Solutions Architect Associate Notes.pdf
fayoyiwababajide
 
Elasticwulf Pycon Talk
Peter Skomoroch
 
Ad

Recently uploaded (20)

PDF
Optimizing Large Language Models with vLLM and Related Tools.pdf
Tamanna36
 
PPTX
01_Nico Vincent_Sailpeak.pptx_AI_Barometer_2025
FinTech Belgium
 
PDF
apidays Singapore 2025 - Streaming Lakehouse with Kafka, Flink and Iceberg by...
apidays
 
PPTX
How to Add Columns and Rows in an R Data Frame
subhashenia
 
PPTX
SlideEgg_501298-Agentic AI.pptx agentic ai
530BYManoj
 
PDF
OOPs with Java_unit2.pdf. sarthak bookkk
Sarthak964187
 
PPTX
apidays Singapore 2025 - From Data to Insights: Building AI-Powered Data APIs...
apidays
 
PPT
Growth of Public Expendituuure_55423.ppt
NavyaDeora
 
PDF
Development and validation of the Japanese version of the Organizational Matt...
Yoga Tokuyoshi
 
PPTX
Feb 2021 Ransomware Recovery presentation.pptx
enginsayin1
 
PDF
1750162332_Snapshot-of-Indias-oil-Gas-data-May-2025.pdf
sandeep718278
 
PPTX
apidays Helsinki & North 2025 - API access control strategies beyond JWT bear...
apidays
 
PPTX
apidays Helsinki & North 2025 - Running a Successful API Program: Best Practi...
apidays
 
PPTX
What Is Data Integration and Transformation?
subhashenia
 
PPTX
thid ppt defines the ich guridlens and gives the information about the ICH gu...
shaistabegum14
 
PPTX
05_Jelle Baats_Tekst.pptx_AI_Barometer_Release_Event
FinTech Belgium
 
PDF
Using AI/ML for Space Biology Research
VICTOR MAESTRE RAMIREZ
 
PDF
The European Business Wallet: Why It Matters and How It Powers the EUDI Ecosy...
Lal Chandran
 
PDF
Data Science Course Certificate by Sigma Software University
Stepan Kalika
 
PDF
A GraphRAG approach for Energy Efficiency Q&A
Marco Brambilla
 
Optimizing Large Language Models with vLLM and Related Tools.pdf
Tamanna36
 
01_Nico Vincent_Sailpeak.pptx_AI_Barometer_2025
FinTech Belgium
 
apidays Singapore 2025 - Streaming Lakehouse with Kafka, Flink and Iceberg by...
apidays
 
How to Add Columns and Rows in an R Data Frame
subhashenia
 
SlideEgg_501298-Agentic AI.pptx agentic ai
530BYManoj
 
OOPs with Java_unit2.pdf. sarthak bookkk
Sarthak964187
 
apidays Singapore 2025 - From Data to Insights: Building AI-Powered Data APIs...
apidays
 
Growth of Public Expendituuure_55423.ppt
NavyaDeora
 
Development and validation of the Japanese version of the Organizational Matt...
Yoga Tokuyoshi
 
Feb 2021 Ransomware Recovery presentation.pptx
enginsayin1
 
1750162332_Snapshot-of-Indias-oil-Gas-data-May-2025.pdf
sandeep718278
 
apidays Helsinki & North 2025 - API access control strategies beyond JWT bear...
apidays
 
apidays Helsinki & North 2025 - Running a Successful API Program: Best Practi...
apidays
 
What Is Data Integration and Transformation?
subhashenia
 
thid ppt defines the ich guridlens and gives the information about the ICH gu...
shaistabegum14
 
05_Jelle Baats_Tekst.pptx_AI_Barometer_Release_Event
FinTech Belgium
 
Using AI/ML for Space Biology Research
VICTOR MAESTRE RAMIREZ
 
The European Business Wallet: Why It Matters and How It Powers the EUDI Ecosy...
Lal Chandran
 
Data Science Course Certificate by Sigma Software University
Stepan Kalika
 
A GraphRAG approach for Energy Efficiency Q&A
Marco Brambilla
 
Ad

Setup Jupyter on AWS (Amazon Web Services) EC2 (Elastic Compute Cloud) instance

  • 1. Setup Jupyter on AWS (Amazon Web Services) EC2 (Elastic Compute Cloud) instance
  • 2. Amazon Web Serices (AWS) Amazon Web Services (AWS) is a subsidiary of Amazon that provides on-demand cloud computing platforms to individuals, companies and governments, on a paid subscription basis. The technology allows subscribers to have at their disposal a virtual cluster of computers, available all the time, through the Internet. The AWS technology is implemented at server farms throughout the world, and maintained by the Amazon subsidiary. Fees are based on a combination of usage, the hardware/OS/software/networking features chosen by the subscriber, required availability, redundancy, security, and service options. In 2019, AWS comprised more than 150 services spanning a wide range including computing, storage, networking, database, analytics, application services, deployment, management, mobile, developer tools, and tools for the Internet of Things. The most popular include Amazon Elastic Compute Cloud (EC2) and Amazon Simple Storage Service (S3). AWS owns a dominant 34% of all cloud (IaaS, PaaS) while the next three competitors Microsoft, Google, and IBM have 11%, 8%, 6% respectively.
  • 3. AWS EC2 Amazon Elastic Compute Cloud (EC2) forms a central part of Amazon.com's cloud-computing platform, Amazon Web Services (AWS), by allowing users to rent virtual computers on which to run their own computer applications. Users can boot an Amazon Machine Image (AMI) to configure a virtual machine, which Amazon calls an "instance". A user can create, launch, and terminate server-instances as needed, paying by the second for active servers – hence the term "elastic". EC2 provides users with control over the geographical location of instances that allows for latency optimization and high levels of redundancy. Following Instance Types:  General Purpose: A1, T3, T2, M5, M5a, M4, T3  Compute Optimized: C5, C5n, C4  Memory Optimized: R5, R5a, R4, X1e, X1, High Memory, z1  Accelerated Computing: P3, P2, G3, F1  Storage Optimized: H1, I3, D2 Following paying method for instance were offered:  On-demand: pay by the hour without commitment.  Reserved: rent instances with one-time payment receiving discounts on the hourly charge.  Spot: bid-based service: runs the jobs only if the spot price is below the bid specified by bidder.
  • 4. Python & Anaconda Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python has come to become one of the most widely used programming languages worldwide (after Java and C) and the most used for machine learning/ A.I. Available in two versions, Python 2.X and Python3.X, the community is moving towards Python3.X since support for 2.X will stop after 2020. Anaconda is a free and open-source distribution of the Python and R programming languages for scientific computing (data science, machine learning applications, large-scale data processing, predictive analytics, etc.), that aims to simplify package management and deployment. Package versions are managed by the package management system conda. The Anaconda distribution includes more than 1400 popular data-science packages suitable for Windows, Linux, and MacOS. The default installation of Anaconda2 includes Python 2.7 and Anaconda3 includes Python 3.7. However, you can create new environments that include any version of Python packaged with conda.
  • 5. Jupyter & Setup Process Jupyter Notebook (formerly IPython Notebooks) is a web-based interactive computational environment for creating Jupyter notebooks documents. The "notebook" term can colloquially make reference to many different entities, mainly the Jupyter web application, Jupyter Python web server, or Jupyter document format depending on context. A Jupyter Notebook document is a JSON document, following a versioned schema, and containing an ordered list of input/output cells which can contain code, text (using Markdown), mathematics, plots and rich media, usually ending with the ".ipynb" extension. To set up Jupyter on an AWS EC2 instance:  Create an AWS Account (if don’t have already)  Create, launch, and connect an EC2 instance (preferably a free tier one for this tutorial)  Download & install Anaconda (can also activate a virtual environment, if needed)  Create Password for Jupyter Notebook  Create configuration file for Jupyter and certificates for supporting https  Configure Jupyter via the configuration file generated above  Run Jupyter using Screen (so that even if disconnected, Jupyter still runs)