How To Launch AWS EC2 Linux Instances on your local terminal with MobaXtrem

Abhishek - Aug 17 - - Dev Community

Step 1. Launch an ec2 instance.
Step 2. Enter the name and click the Ubuntu
Image description
Step 3. Let the remaining configurations be remained as it
Step 4. Before clicking on Launch Instance, enter the Key pair name create a key pair, click on the create new key pair, let the remaining settings be remained as it is.
Image description

Step 5. .pem file will be downloaded (keep it safe and secure)
Step 6. Now go to your MobaXtrem.
Step 7. Now set the private key to the terminal, tools -> SSH key generator.
Image description
Step 8. Click on Conversions-> import private keys
Step 9. Select the key which you downloaded and provide a name
Step 10. Click on save as private key, a key will be generated and will automatically download
Step 11. Now create a new ssh session, Enter the public ip from the ec2 instance dashboard as host.
Image description
(take this ip for host)
Step 12. Click on advance SSH option, select private key which we generated and click Ok.
Image description
Step 13. Now Double click on it it will as login:, here we have to enter the name from ec2 dashboard
Image description
(take the user name present in the ec2 you create and paste it in the terminal)

.
Terabox Video Player