AWS

How to connect aws ec2 instance Linux server console

In traditional Data center environment , VM ware and other cloud providers like Azure having options to connect Linux virtual server serial console . Through IMM console or through web browser or through some application call . Normally why we want to connect with Linux server console? If you are unable to reach your instance via ssh , problem diagnostics…

Continue Reading

AWS

How to attach role to AWS EC2 instance after launching

Few years back this feature was not available in AWS .Once instance launched with particular role you can not replace . Need to launch the instance with required role .This is really challenge task in real time scenario Now Amazon enabled this beautiful features . So you can attache or replace the role to instance anytime even in EC2 instance…

Continue Reading

AWS

ssh_exchange_identification: read: Connection reset by peer aws

There is lot of possibilities for this type of error . You can try below steps one by one. As a first step check what is really going on while establishing ssh connection. Ex: 1.ssh -v -i /home/cent/keys/my-key.ppk user@192.168.1.2 2. Check the public and private keys are proper ,correct pair , also check the permission of the keys.3.IP of the…

Continue Reading

Common, EC2

AWS EC2 tagging best practices

    AWS EC2 tagging best practices Tags provide identification and classification of AWS resources by the association of descriptive metadata.for example, application identifier, environment, or owner. Each tag consists of a key and a value, both of which are user-defined strings. Tags can be used as a filter when requesting resources, such as EC2 instances, based on tag keys…

Continue Reading

EC2

AWS EC2 Error: Host key not found, Permission denied (publickey), or Authentication failed, permission denied

    Host key not found, Permission denied If you connect to your instance using SSH and get any of the following errors Host key not found in [directory] Permission denied (publickey) Authentication failed, permission denied possible reasons: Check the keypair name in Description filed of your instance , and verify that you are using the correct private key file.…

Continue Reading

EC2

AWS EC2 Error: User key not recognized by server

    Error: User key not recognized by server This error occurs when you are connecting ssh to AWS EC2 instalce Linux servers .Mostly the key you are submitting to connect your instance not recognized by server. You can get more details while you connecting to instance using ssh -vvv option ssh -vvv -i [your key name].pem ec2-user@[public DNS address…

Continue Reading

EC2

Error connecting to your instance: Connection timed out

  Error connecting to your instance: Connection timed out This is one of most common error which we use to get when you try to connect your AWS EC2 cloud instance. “Network error: Connection timed out or Error connecting to [instance], reason: -> Connection timed out: ” The reason could be from below any one   First Check your security group rules .…

Continue Reading

EC2

AWS EC2 Instance Immediately Terminates

    AWS EC2 Instance Immediately Terminates After launching an instance normally the status will change from pending state to running . But in sometime the status will goes to terminate state suddenly . You can find the information from your AWS console by using “EC2 console screen logs” or you can use CLI , you can find with JSON…

Continue Reading

EC2

Amazon Time Sync Service

    Amazon Time Sync Service Amazon provides the Amazon Time Sync Service, which you can access from your instance. This service uses a fleet of satellite-connected and atomic reference clocks in each AWS Region to deliver accurate current time readings of the Coordinated Universal Time (UTC) global standard through Network Time Protocol (NTP). The Amazon Time Sync Service automatically…

Continue Reading

Compute, EC2

what is t2 unlimited in AWS EC2 t2 instance type?

    what is t2 unlimited in AWS EC2 t2 instance type? AWS recently introduced “t2 unlimited concept”  in t2 series. The advantage in t2 series is “burst capability” when comparing with other instance type.So whenever load comes it can burst the CPU to handle the load . It will utilize the cpu credit to provide high performance . But…

Continue Reading

EC2

Error: Server refused our key or No supported authentication methods available

    Error: Server refused our key or No supported authentication methods available When try to connect AWS EC2 Linux instance sometimes you may come across this error. Server refused our key or Error: No supported authentication methods available Most of the time reason could be incorrect AMI user name. below are the default user names for different flavor Linux. Try to…

Continue Reading

EC2

Status Check Failed (Instance)" aws ec2

    Status Check Failed (Instance)” aws ec2 Normally Instance Status Check’ verifies that your instance’s operating system is accepting traffic. When it fails it means that the operating system inside the instance is not responding to traffic, for example this can happen when a Windows instance hangs or when a Linux instance kernel panics or network is disabled inside the…

Continue Reading

Compute, EC2

EC2 Failing instance status checks

    EC2 Failing instance status checks I hope most of the administrators may come across this issue in AWS ” EC2 Failing instance status checks” . Why this issue occurring ? Yes , there could be multiple reason for each operating system . But one of the frequent reason would be Operating System fail to boot. Remeber you are just…

Continue Reading

EC2

Unable to ssh/ping to my aws ec2 instance 

Everyone come across  this issue in day to day job.There could be multiple reason for this issue .”Unable to ssh/ping to my ec2 instance ” .First you need to look out what kind of error message you are getting . If you read the error message carefully we can shortout easily . Otherwise we have to check all the possible…

Continue Reading