Connecting to a Linux instance in AWS using PuTTY A few month ago, I wrote a column that described how to log into a Windows-based instance of Amazon Web Services (AWS). Although I don’t normally write about something so simple as logging into an instance, it is a very useful step for anyone new to AWS. This article will show you how to log in to a Linux server instance. This is why I am covering it. First, it is quite different from logging into a Windows instance. Second, I have shown you how to create a WordPress website in a recent column. Most WordPress instances are Linux-based. There are many ways to access a Linux instance. PuTTY is the utility that we will be using for this article. PuTTY is a client you can use to establish SSH sessions. The download page is available here. PuTTY is designed for Linux instances. However, a Windows version is also available. To connect to an instance using the PuTTY client you will need some information. These include the instance ID, name of the private keys you used when creating the instance, and public DNS name. All of this information can be accessed through the Elastic Compute cloud (EC2) console as shown in Figure 1. [Click on the image to see a larger version.] Figure 1: Gather all the information required from the EC2 console. The next step is to install PuTTY. PuTTYgen is the utility that will allow you to do this. This utility comes with PuTTY and should be installed on your computer. To generate the key you need, open PuTTYgen. Next, choose the SSH-2 RSA option. Next, click on the Load button. Select your private key file. (You will need to select the All Files option to allow the utility to display.PEM files. Next, click on the Save Private Key button (see Figure 2). Do not be alarmed by the message that indicates that a passphrase is not being used. Simply specify a name for your private key file. Figure 2: Click on the Save Private Key button. Now launch PuTTY. You will first need to enter the host name. This can be tricky as the host name will vary depending on the Linux instance. The host name is composed of a user name, @ symbol, and the public DNS address for the instance. The EC2 console can provide the public DNS name, as you can see in Figure 1. The user name will however vary. These are the most popular user names:

Amazon Linux: ec2-user RHEL: ec2-user, root Ubuntu: ubuntu, or root Centos: centos […]

AWS adds Operations Management to Large Enterprises. After years of testing, Amazon Web Services Inc. has launched a new service for infrastructure management and operations management. This service is targeted at large-scale datacenters looking to migrate to the cloud. The new service, AWS Managed Services (MS), provides a managed framework to deal with policies, best practices, operational procedures, and other work required by large organizations. Jeff Barr, AWS spokesperson, stated that IT staff are responsible for installing software, patching, monitoring operations, taking and recovering backups, and dealing in security and operational emergencies. It simplifies deployment, migration, management, and support by dedicated Amazon employees. Barr stated that AWS MS offers the following features:

Monitoring and resolution of incidents Change control Provisioning Management of patches Access […]

According to Amazon Web Services, AWS Adds.NET and Java Support in Cloud Development Kit. Support for.NET (and Java) are two of the most widely used development approaches. This announcement was made last week by Amazon Web Services. The open-source AWS CDK hit general availability last July, sporting an an infrastructure-as-code approach that could initially be used with TypeScript/JavaScript and Python. C# and Java were available in developer previews at the time. AWS cloud developers can use the CDK to model and provision cloud resources using services like AWS CloudFormation. Martin Beeby, AWS’s director of cloud services, stated that the AWS CDK allows you to create, compose, and share custom resources that meet your requirements. The AWS CDK can be used to model a VPC with its associated routing configurations and security configurations. The code could be wrapped into a construct, and shared with the rest. This will allow you to start creating libraries of these constructs which you can use to standardize how your organization creates AWS resources. AWS says defining infrastructure as code enables developers to:

Keep application code and infrastructure in the same repository Make infrastructure changes […]