Building your Python Cloud & Serverless applications using LocalStack!

Harsh Mishra (~HarshCasper)


6

Votes

Description:

DevOps teams worldwide are prioritizing the improvement of their cloud development and deployment processes. The traditional deploy-and-test cycles on public clouds can be slow and monotonous, causing developers to encounter frequent idle periods during testing and debugging.

Additionally, the rise in popularity of Infrastructure-as-Code tools like Terraform or Pulumi highlights the importance of efficient testing for automated infrastructure deployments. Deploying complex stacks with extensive resources, such as Kubernetes clusters or Database engines for development & testing can take 15 minutes or longer in real cloud environments.

This workshop will introduce LocalStack — an open-source local cloud stack that emulates over 80+ AWS services entirely on your local machine to start building your Python cloud & serverless apps. With over 47K+ Stars on Github and 130 million Docker pulls, LocalStack empowers Cloud & DevOps engineers to build their cloud applications reliably without connecting to a real AWS account or environment.

The workshop will allow the participants to build & deploy their first cloud & serverless app entirely locally without having any account. There are no specific requirements - the only prerequisite is having Python 3.x and Docker installed on your local machine.

Outline

The workshop will follow the following structured outline:

  • Intro to cloud & serverless development with Python [20 minutes]
  • Getting started with LocalStack [30 minutes]
    • Introduction to LocalStack
    • Quickstart with deploying a S3 website locally
    • QnA
  • Building your first Python cloud app with LocalStack [45 minutes]
    • Demo: Building a Python Serverless Image Resizer with S3 & Lambda
    • QnA
  • Deploying your Python cloud app using an IaC integration [45 minutes]
    • Demo: AppSync GraphQL API with DynamoDB tables
    • QnA
  • Sharing your cloud infrastructure state via Cloud Pods [30 minutes]
    • Demo: Pre-seeding cloud state on CI runners with Cloud Pods
  • Wrap-Up [5 minutes]
  • Quiz & QnA [10 minutes]

Workshop Format:

The workshop will be engaging and interactive, combining theoretical understanding and practical hands-on activities. It will commence with an introductory session, providing participants with a solid foundation through group discussions and shared experiences. The workshop will then proceed with comprehensive demos and practical development exercises.

Each demo will include interactive exercises that allow participants to apply their newly acquired knowledge before progressing to the next topic. This approach ensures active participation and reinforces understanding.

To conclude the workshop on a high note, an exciting quiz session will be conducted, allowing attendees to showcase their learning and further engage with the workshop content.

Target Audience

This workshop is suitable for a wide range of individuals, including students, software developers, cloud developers/architects, and DevOps/platform engineers. It is specifically designed for those interested in delving into local cloud development. The workshop is aimed towards gearing you to use LocalStack as a “must-have” in your cloud developer toolbox. Furthermore, it empowers attendees to develop and test their cloud applications without incurring any additional costs or utilizing additional resources.

Workshop Benefits

Participating in this workshop will provide you with valuable skills and insights, including:

  • Familiarity with common scenarios and use cases for implementing a cloud development and testing pipeline on AWS.
  • Understanding of service emulation techniques to enhance the local cloud development experience.
  • Introduction to various AWS services, such as Lambda, S3, DynamoDB, and more.
  • Knowledge of integrating cloud services using AWS CLI, CDK , and GitHub Actions.
  • Insights into advanced cloud collaboration features, such as Cloud Pods and testing utilities.
  • Hands-on experience in serverless and cloud application development, demonstrated through a locally run application.

Prerequisites:

This workshop requires the following prerequisites:

  • Python 3.x and Docker installed on your machine.
  • Familiarity with the command-line interface.

While it is beneficial, prior knowledge of cloud and serverless development is not mandatory for participation in this workshop.

Speaker Info:

Harsh is an engineer at LocalStack working at improving the developer experience of engineers developing/testing cloud applications on AWS. He is also an AWS Community Builder in the Serverless category and has previously worked at Red Hat, HackerRank, and Quansight! He is deeply passionate about cloud & serverless development, including DevOps, practises, Web engineering, and using technology to mitigate climate change.

Nancy Chauhan is an Engineer at LocalStack and is passionate about educating developers about cloud & security. She loves breaking down complicated concepts into easier tech content. Nancy is a CNCF ambassador and founder of Women in Cloud Native Community. She loves everything around Open source, DevOps, and security. Previously she worked with Blinkit and Zeotap as a DevOps engineer, developing solutions for software reliability.

Speaker Links:

  • Harsh Mishra
    • Personal blog
    • Technical blog
    • LinkedIn
    • Twitter
    • GitHub
    • Past talks: PyCon India '21, PyCon APAC '21, PyCon MY '21, EuroPython '21, Open Source Summit Latin America '22, GitKon '22, Python Web Conference '23
    • Open Source contributions:
      • Granted Google Peer Bonus Award for my contributions to moja global
      • Google Summer of Code student developer at MetaCall
      • Google Season of Docs technical writer at moja global
      • MLH Fellow for the Fall '21 Batch
      • Contributions to various open-source projects — LocalStack, Nebari, SciPy, CausalML, Conda Store, AsyncAPI, and more!
  • Nancy Chauhan
    • Personal blog
    • LinkedIn
    • Twitter
    • Past talks: DevOpsDays India 2022, CNCF Hyderabad Meetup, WomenTech Network 2022 Conference, WomenTech Network 2021 Conference, Rootconf, Pyladies India
    • Open Source contributions:
      • Google Summer of Code student developer at Fossi Foundation 2019
      • Open Source projects Contributions - TimVideos, LibreCores, Jenkins, Gitpod
      • Processing Foundation Fellow 2019
      • Kubernetes 1.27 Comms Team Shadow
      • CNCF Ambassador

Section: Cloud Computing
Type: Workshops
Target Audience: Beginner
Last Updated: