Testing Python AWS applications using LocalStack
2K views
·
Jan 25, 2023
Visit Channel:hands-on.cloud
This video demonstrates how to test various AWS services, such as S3 and Lambda, using LocalStack and Python Boto3 library on your local machine. Check out the supporting blog article to see examples of working with Amazon DynamoDB and KMS services.
The entire course content is available for you at: https://hands-on.cloud/quick-introduction-to-python-for-aws-automation-engineers/.
The supporting blog article is available at: https://hands-on.cloud/testing-python-aws-applications-using-localstack/.
This video has been created using Synthesia: https://hands-on.cloud/recommends/synthesia-io/.
LocalStack website: https://localstack.cloud/
Boto3 documentation for AWS Lambda (client): https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda.html
Boto3 documentation for Amazon S3 (client): https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html
00:00 - Intro
00:25 - Prerequisites
00:47 - What is LocalStack?
02:07 - How to install LocalStack?
02:37 - LocalStack configuration – Environment variables
03:49 - LocalStack configuration – AWS CLI
04:33 - LocalStack configuration – AWS CLI alias
04:49 - LocalStack configuration – AWS CLI alias test
05:18 - LocalStack configuration – Boto3 client
05:59 - LocalStack configuration – Boto3 resource
06:22 - How to create an S3 bucket in LocalStack using Boto3?
07:21 - How to list LocalStack S3 buckets using Boto3?
07:38 - How to upload a file to the LocalStack S3 bucket using Boto3?
08:26 - How to download files from the LocalStack S3 bucket using Boto3?
08:42 - How to delete a file from the LocalStack S3 bucket using Boto3?
09:28 - How to test the Python AWS Lambda function using LocalStack and Boto3?
11:40 - How to test the Python AWS Lambda function interacting with S3 using LocalStack and Boto3?
Show More
Show LessComments
loading text loading
loading text loading
loading text
loading text loading
loading text
loading text loading
loading text
loading text loading
loading text