Connect EC2 Remote Nodes from Ansible Control Node by retrieving secrets from SSM Parameter Store

Written by gourav-das | Published 2020/12/27
Tech Story Tags: ansible | ec2 | aws-iam | parameter-store | kms | cloud-vault | secret-manager | security

TLDR An Ansible Control Node uses AWS Key Management Service (KMS) to encrypt & decrypt secure strings. The Ansible Controller will fetch the remote instance, Private Key, from SSM Parameter Parameter and use it to connect it to the Target Node and execute the Ansible Playbook. Don't worry, in the Demo, all required steps automated through Cloudformation Template. A similar solution would work on other Cloud Native Services hosted on Azure, GCP, Windows VMs, Containers Technology, etc. as well as On-Prem Infrastructure.via the TL;DR App

no story

Written by gourav-das | Tech Enthusiast and Clouder. AWS 6x & Azure 2x Certified. & I still watch One piece and spongebob
Published by HackerNoon on 2020/12/27