SSH with AWS Lambda

Carlos Bertin Cano
5 min readJul 31, 2020

AWS Lambda is the base service of the AWS serverless offering, briefly talking it is a managed container service in which we just care about the code. Lately, it has been used a lot to make automation of all kinds thanks to its low cost and easy implementation.

A not very common, but very useful use for lambda is to execute commands through SSH, we can send commands to our EC2 instances and do some automation of boring and repetitive processes, for example, you can get information about the machines and their processes, install Cloudwatch or SSM agent, etc., etc. Here the imagination is the…

--

--

Carlos Bertin Cano

🚀 Cloud Application Architect @ AWS | Crafting digital dreams in the celestial realm of cloud computing | Turning complexity into elegance ☁️🏗️🌌