Home / Companies / Stream / Blog / Post Details
Content Deep Dive

Series: Building a Social Network with Flask & Stream – Part 11

Blog post from Stream

Post Details
Company
Date Published
Author
Spencer P.
Word Count
2,283
Language
English
Hacker News Points
-
Summary

The eleventh installment of a tutorial series on creating a full-stack application with Flask and Stream focuses on deploying the web app using Zappa and AWS Lambda. It guides users on setting up an AWS account and AWS CLI, emphasizing the use of Zappa for deploying serverless functions on AWS, which offers infinite scalability without the need for multiple containers or load balancers. The tutorial explains the transition from SQLite to PostgreSQL for persistent data storage using AWS RDS and the shift to AWS SES for email services. Configuration adjustments for development and production environments are highlighted, including the division of credentials into separate configurations. The tutorial covers installing necessary Python packages like boto3, psycopg2, and Zappa, and provides steps for setting up the database and email client on AWS. It concludes with instructions for deploying the app using Zappa, creating an S3 bucket for logs, and customizing the Zappa settings for a production environment, ultimately resulting in a complete web application with a permanent database and client-side data retrieval.