Easy way to add a layer in AWS Lambda

<p><strong>AWS Lambda</strong>&nbsp;is a powerful tool for running code in the cloud without the need for infrastructure management. It interacts perfectly with other AWS cloud services, however, to make your function more scalable and manageable, sometimes you need to add additional libraries or dependencies. AWS provides a convenient function for this &mdash;&nbsp;<strong>Lambda Layers</strong>.<br /> This is not the first article on this topic on the Internet, but having such a set-up as:&nbsp;<strong>windows</strong>,&nbsp;<strong>python&nbsp;</strong>and&nbsp;<strong>jupyter notebook</strong>, I had to tinker a little before writing a small script that will help easily and painlessly add the desired library to the lambda function.</p> <p>We will need&nbsp;<strong>AWS_ACCESS_KEY_ID&nbsp;</strong>and&nbsp;<strong>AWS_SECRET_ACCESS_KEY</strong>. If they are not at hand, then you ask the administrator of your account to send them, and if you are the administrator, then in the AWS console we go to&nbsp;<strong>IAM</strong>-&gt;&nbsp;<strong>Users</strong>, click on your&nbsp;<strong>username</strong>, go to the&nbsp;<strong>Security credentials</strong>&nbsp;tab and click&nbsp;<strong>Create access keys</strong>&nbsp;in the&nbsp;<strong>Access keys</strong>&nbsp;section. Saving our AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.</p> <p><a href="https://awstip.com/easy-way-to-add-a-layer-in-aws-lambda-2bc2c4f08295"><strong>Click Here</strong></a></p>
Tags: Layer AWS