Questions tagged [aws-ec2-instance-connect]

Amazon EC2 Instance Connect provides a secure way to connect to instances using Secure Shell (SSH). You use AWS Identity and Access Management (IAM) policies and principals to control SSH access to instances, removing the need to share and manage SSH keys. All connection requests using EC2 Instance Connect are logged to AWS CloudTrail to enable auditing of connection requests.

See: Connecting to Your Linux Instance Using EC2 Instance Connect

61 questions
-1
votes
1 answer

How to access my instance through SSH writing boto3 code

UserData = user_data, SecurityGroupIds=[sg.group_id] ) for bucket_name in sys.argv[1:]: try: response = s3.create_bucket(Bucket=ec2-assignbuke2, CreateBucketConfiguration={'LocationConstraint': 'eu-west-1'}) print (response) except Exception as…
1 2 3 4
5