1 of 10

Python & Amazon Web Services

PyLadies Talk Night

June 12, 2017

Presented by Julie Sturgeon

2 of 10

What are Amazon Web Services?

  • Suite of cloud computing products
  • Not just for big businesses!
  • Focus: Elastic Compute Cloud (EC2) & Simple Storage Service (S3)

3 of 10

Sooo many products

4 of 10

Why AWS is awesome

Pay per use

Cheap

No upfront cost

Easy provisioning

No upkeep

Scalable

Highly available

Security

5 of 10

What does this have to do with Python?

  • Use AWS to run Python applications
    • Demo: Run a Jupyter Notebook on EC2
  • Use Python API to manage AWS
    • Demo: using the Boto3 API with EC2 & S3

6 of 10

Running Jupyter Notebook on EC2

  • Have an easily accessible Python environment without using your own computing resources
  • One way
  • An easier way
  • Demo time!
  • Notebook from demo can be found here

7 of 10

Using the Boto3 API

  • Manage AWS resources with a Python API!
  • Demo: fetch files from S3, do some analysis, move resulting files to S3
  • There is some setup involved
  • More examples in the docs

8 of 10

Getting Started (Yay free stuff!)

  • AWS Free Tier
    • Free for 12 months
    • EC2: 750 hours/month on t2.micro
    • S3: 5 GB/month
  • AWS Educate (for students/educators)
    • Access to AWS Technical Essentials Training Course
    • Up to $100 in AWS credits
  • Github Student Developer Pack
    • Moar credits!
    • Other cool perks

9 of 10

Helpful tips & tricks

  • Remember to turn off your instances!
  • Practice safe security.
  • Be careful where you store your data!
  • If money is a concern, there are usually cheaper options.
  • There are other fish (cloud service providers) in the sea.

10 of 10

More Resources

  • Thanks to Prof. Jiannan Wang for the inspiration
  • Python & AWS Cookbook