A tip for using AWS SDK on EC2 with role to get security credentional

let ssm = new AWS.SSM({region: 'us-east-2'});
AWS.config.region = 'us-east-2';
let ssm = new AWS.SSM();




Software Engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

A quick and simple Moodle tutorial

Moodle module options

Challenges in Practicing TDD

[LeetCode]#338. Counting Bits

Get into Facebook Amazon Netflix Google?

Mapping of Software Design Patterns to Science

Reverse Engineering Quantum Black Boxes

Creating N1QL Labelled Image Database using Couchbase, FastAPI, and SerpApi

How to Mount a Share Folder in all my VirtualBox Virtual Machines

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
Steve Mu

Steve Mu

Software Engineer

More from Medium

AWS CDK: attach permissions to existing role

Manage SSO using AWS Cognito

AWS Lambda is a responsive cloud service that inspects actions within the application and responds…

Building & Running Multi-arch containers in EKS