Posts

Showing posts from December, 2023

Installing Higher Python Versions on AWS Cloud9 and Creating Lambda Layers for Snowflake Connector

This blog post addresses two critical aspects for developers working with AWS Cloud9 and Lambda functions: 1. Installing Higher Python Versions on Cloud9 This section guides you through the process of installing a specific version of Python (3. 9 in this example) on your Cloud9 environment, ensuring compatibility with dependencies like urrlib3 >= 2. 0. 0. 2. Creating Lambda Layers for Snowflake Connector with Different Python Versions Learn how to build a Lambda Layer containing the Snowflake connector, enabling its use in your Lambda functions regardless of the default Python version on your Cloud9 environment. Installing Python 3.9 on Cloud9 Preparation: Create a New Cloud9 Environment: Start with a fresh environment to avoid conflicts with existing configurations. Update System Dependencies: Ensure compatibility with Python 3. 9 by running the following commands: sudo yum remove openssl-devel sudo yum install gcc openssl11-devel bzip2-devel libffi-devel Installati...