(Optional) To prepare to connect to a Linux instance from Windows using PuTTY 1. Download and install PuTTY from . Be sure to install the entire suite. 2. Start PuTTYgen (for example, from the Start menu, choose All Programs, PuTTY, and PuTTYgen ). 3. Under Type of key to generate , choose SSH-2 RSA . 4. Choose Load . By default, PuTTYgen displays only files with the extension .ppk . To locate your .pem file, choose the option to display files of all types. 5. Select the private key file that you created in the previous procedure and choose Open . Choose OK to dismiss the confirmation dialog box. 6. Choose Save private key . PuTTYgen displays a warning about saving the key without a passphrase. Choose Yes . 7. Specify the same name for the key that you used for the key pair. PuTTY automatically adds the .ppk file extension. Create a Virtual Private Cloud Amazon Virtual Private Cloud (Amazon VPC) enables you to launch AWS resources into a virtual network that you've defined. We strongly suggest that you launch your container instances in a VPC. If you have a default VPC, you also can skip this section and move to the next task, Create a Security Group (p. 7) . To determine whether you have a default VPC, see Supported Platforms in the Amazon EC2 Console in the Amazon EC2 User Guide for Linux Instances . Otherwise, you can create a nondefault VPC in your account using the steps below. Important If your account supports EC2-Classic in a region, then you do not have a default VPC in that region. To create a nondefault VPC 1. Open the Amazon VPC console at . 6
AWS Batch User Guide Create a Security Group 2.From the navigation bar, select a region for the VPC. VPCs are specific to a region, so you shouldselect the same region in which you created your key pair.3.On the VPC dashboard, choose Start VPC Wizard4.On the Step 1: Select a VPC Configurationpage, ensure that VPC with a Single Public Subnetselected, and choose Select5.On the Step 2: VPC with a Single Public Subnetpage, enter a friendly name for your VPC for VPCname. Leave the other default configuration settings, and choose Create VPC. On the confirmationpage, choose OKFor more information about Amazon VPC, see What is Amazon VPC? in the Amazon VPC User GuideCreate a Security GroupSecurity groups act as a firewall for associated compute environment container instances, controllingboth inbound and outbound traﬃc at the container instance level. You can add rules to a security groupthat enable you to connect to your container instance from your IP address using SSH. You can also addrules that allow inbound and outbound HTTP and HTTPS access from anywhere. Add any rules to openports that are required by your tasks.Note that if you plan to launch container instances in multiple regions, you need to create a securitygroup in each region. For more information, see Regions and Availability Zones in the Amazon EC2 UserGuide for Linux Instances.NoteYou need the public IP address of your local computer, which you can get using a service. . is . . .
You've reached the end of your free preview.
Want to read all 91 pages?
- Spring '17
- ........., Amazon Web Services, AWS, Amazon Elastic Compute Cloud