Book Image

Designing AWS Environments

By : Mitesh Soni, Wayde Gilchrist
Book Image

Designing AWS Environments

By: Mitesh Soni, Wayde Gilchrist

Overview of this book

Amazon Web Services (AWS) provides trusted,cloud-based solutions to help you meet your business needs. Running your solutions in the AWS Cloud can help you get your applications up and running faster while providing the security to meet your compliance requirements. This book begins by familiarizing you with the key capabilities to architect and host applications, websites, and services on AWS. We explain the available options for AWS free tier with virtual instances and demonstrate how you can launch and connect them. Using practical examples, you’ll be able to design and deploy networking and hosting solutions for large deployments. Finally, the book focuses on security and important elements of scalability and high availability using AWS VPC, Elastic Load Balancing, and Auto scaling. By the end of this book, you will have handson experience of working with AWS instances,VPC, Elastic Load Balancing, and Auto scalingrelated tasks on Amazon Web Services.
Table of Contents (12 chapters)

Logging in to Linux instances


In the previous section, we looked at EC2 key pairs, and associating them with instances. In this section, we're going to use a key pair to log in to a Linux instance from Windows. Then, we will add more Linux users and generate key pairs for them to use.

To connect and log in to Linux instances, we use the SSH2 protocol. We don't use a password, because we provide the private key for authentication. If you are connecting from a Windows laptop or desktop, you will need an SSH client. There have been rumors that Microsoft is planning on adding an SSH client to PowerShell, but that hasn't happened yet. There are many good free SSH clients you can use.

For this example, we're going to use PuTTY. You can download PuTTY by going to https://putty.org/ and then clicking the link on the download page:

You're going to need putty.exe to SSH, but if you're going to be working with Linux instances from Windows, you'll probably also need puttygen.exe, pageant.exe, and psftp...