AWS Quick Reference

Posted: February 4, 2012 in TECH ZONE
  • Remote Login to a ec2 instance from linux terminal
    • #ssh -i  abc.pem  username@ipaddress.  //abc.pem is the private key for you keypair,  username can be ubuntu if its a Ubuntu instance & ec2-user  if its a Amazon Linux Machine.
  • To login to a ec2 instance from aws management console
    • Right click on the instance and select the option “connect”, which will ask you for the .pem file(private key).  //Windows systems are remotely logged in using RDP connection.
  • To create an duplicate ec2 instance, just right click on the instance and select the option “ Launch more like this“, which will create another instance but with custom options of instance type, zone, key-pair, security group etc.,
  • To create an AMI, to keep it as a template for future instance, just right click on the instance, and select the option “create Image(EBS AMI)”, which will create a AMI that can be used later to launch more instances with the similar settings.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s