Image for post
Image for post

Amazon Lambda is probably the most famous serverless AWS service. Generally, It offers a low-cost solution and a relatively simple and straightforward platform for implementing functions in different languages. If your script is not complex, setup is incredibly simple. But, One of the main problems with Lambda is that it becomes tricky to set up as soon as your functions and triggers get more complex.

If you were using the Docker platform, you would import your custom packages with PIP. Unfortunately, there is no docker and PIP package manager. There are just built-in packages available. So the AWS found a solution named Lambda Layers. …


Image for post
Image for post

I think that all of the DevOps know the Boto library in Python. Boto3 is a really wonderful library for AWS operations. But nowadays GoLang is a popular language like Python in the DevOps community. Sometimes you can need only one binary executable file instead of tons of python scripts.


“sender.sh” script can send an email with attachment by using Amazon SES services (Amazon Simple E-mail Services). It needs the AWS Cli tool.

Image for post
Image for post

Install

You have to just install the AWS CLI tool. There are many ways to install the Amazon Web Service Command Line Client (aka AWS Cli) including using pip package manager, homebrew package manager or just downloading the raw executables.(http://docs.aws.amazon.com/cli/latest/userguide/installing.html) As a Mac user, I prefer to use Homebrew ( https://brew.sh/ )

brew install awscli

or

pip3 install --upgrade --user awscli

After installing AWS Cli, you must configure the credential file. You can use this command:

aws configure

This command asks your aws access key and secret key and region. …

About

Batur Orkun

DevOps & Software & Architect & Linux Geek — http://baturorkun.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store