Introduction SSH is commonly used to connect to Linux-based Amazon EC2 instances for server administration and troubleshooting. Sometimes an EC2 instance may be running normally. However, the SSH connection can still fail due to issues with the Security Group, Network ACL, route table, SSH service, key permissions, or instance configuration.… Continue Reading How to Troubleshoot SSH Connection Issues in AWS EC2

Step 1: Verify that the EC2Config service is running Before you attempt to reset the administrator password, verify that the EC2Config service is installed and running. You use the EC2Config service to reset the administrator password later in this section. To verify that the EC2Config service is running Open the… Continue Reading Resetting the Windows administrator password using EC2Config

Ansible automation – Logging user-data script output for EC2 Date Posted: 06-10-2017 When you write ansible playbooks, you may want to log the user_data output of EC2 instance launch. To achieve this, add these below codes at the top of your script vi user_data.sh #!/bin/bash -e exec > >(tee /var/log/user-data.log|logger… Continue Reading Ansible automation – Logging user-data script output for EC2