Posts

Showing posts from March, 2024

Connect AWS EC2 Instance with Session manager [ Input can be Tag key and Name /InstanceID/InstanceIP/Instance Name]

 export AWS_PROFILE And AWS_REGION before executing . #!/bin/bash #+---------------------------------------------------------------------------------------------+ # SCRIPT DATE : 26/01/2023 | # AUTHOR : Praveen HA | # MODIFIED DATE : 26/01/2023 | # | # Supported OS : CentOS7.x, RHEL8.x , RHEL9.x , Ubuntu22.x Ubuntu20.x x64 and ARM Architecture | # DESCRIPTION | # This script will establishes Session through SSM | # Execution step | # ./ccoe-connect.sh <instanceid>/<Instance ...