iFwzx / mini_project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Overview:

This project involves using Visual Studio Code (VS Code) to interact with AWS services, specifically for moving data from an EC2 instance to an S3 bucket and creating a Lambda layer. The primary goal is get data from mysql to RDS using lambda function. However, we encountered an issue with numpy not being recognized by the Lambda environment, even after attempting to create a layer for it.

Tools and Technologies:

Visual Studio Code
AWS EC2
AWS S3
AWS Lambda

Process:

Moving Data from EC2 to S3
Configured AWS CLI in VS Code.
Used AWS CLI commands to transfer files from an EC2 instance to an S3 bucket.
Creating a Lambda Layer for reuirmenets.
Packaged the reuirmenets library into a ZIP file.
ploaded the ZIP file as a reuirmenets layer via CLI.
I get error that I need for numpy in the Lambda function.

Created a Lambda layer in an attempt to include numpy:
Packaged the numpy library into a ZIP file.
Uploaded the ZIP file as a Lambda layer via CLI.
Issues Encountered
numpy Not Recognized: Despite creating a Lambda layer for numpy, the Lambda function did not recognize the library. A screenshot of the error is provided to illustrate the issue.

About


Languages

Language:Jupyter Notebook 61.8%Language:Shell 24.2%Language:Python 14.0%