Home » Education » Deploy Python/Flask app with MySQL to the cloud | Beginner | Tutorial | Beanstalk | RDS

Deploy Python/Flask app with MySQL to the cloud | Beginner | Tutorial | Beanstalk | RDS

Written By Learn Cloud by Doing on Wednesday, Apr 12, 2023 | 11:00 PM

 
In this tutorial, you deploy a Flask application to the cloud using AWS Elastic Beanstalk service for provisioning all cloud resources you need. Beanstalk is a managed service that enables deploying web applications fast and easily to the AWS cloud. With Beanstalk, you don’t need to interact with other services since Beanstalk automates the deployment process for you. In this video, you are going to learn: - User & permission management with IAM - AWS and EB CLI configuration and usage - Deploying a Python/Flask Web application with MySQL to Elastic Beanstalk - Accessing MySQL database on RDS Go straight to the point: 00:00 - Intro 01:00 - Configuration 03:54 - Deploy & Test 06:42 - Explore database 09:29 - Clean up This video is inspired by the following AWS tutorial: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-flask.html How to: Create AWS account: https://aws.amazon.com/premiumsupport/knowledge-center/create-and-activate-aws-account/ Install and configure AWS CLI: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html Git setup: https://support.atlassian.com/bitbucket-cloud/docs/install-and-set-up-git/ Retain your database when terminating your environment: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.managing.db.html#using-features.decoupling.db Reference: Github repository for the Flask TO-DO app: https://github.com/learncloudbydoing/python-flask-todo.git Database Client extension for VS Code: https://marketplace.visualstudio.com/items?itemName=cweijan.vscode-mysql-client2 Figure out your current IP: https://whatismyipaddress.com Like and subscribe footage by grdynb from Pixabay. Produced by: Gabriel Costa Silva Narrated by: Emma Polly – Yes, Amazon Polly ;) Full disclaimer: Unless clearly stated by the cloud platform (AWS, Azure, etc), cloud services charge usage fees. We do not take any responsibility for any incurring expense you may be charged while trying to follow instructions on our videos.