0% found this document useful (0 votes)
51 views10 pages

FSC Assignment 2 - PES12021023

This document summarizes the steps taken to create Amazon EC2 and EFS resources and connect them. It describes: 1. Creating two EC2 instances using the AWS CLI and dashboard, including launching instances and assigning security groups. 2. Creating an EFS file system and enabling life cycle management, along with a mount target. 3. Mounting the EFS file system on both EC2 instances and testing access by creating a file on one instance and viewing it from the other.

Uploaded by

Kalavathi J
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views10 pages

FSC Assignment 2 - PES12021023

This document summarizes the steps taken to create Amazon EC2 and EFS resources and connect them. It describes: 1. Creating two EC2 instances using the AWS CLI and dashboard, including launching instances and assigning security groups. 2. Creating an EFS file system and enabling life cycle management, along with a mount target. 3. Mounting the EFS file system on both EC2 instances and testing access by creating a file on one instance and viewing it from the other.

Uploaded by

Kalavathi J
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Fundamentals of Scalable Computing (FSC) – UE21CS643A – Assignment 2

PONNANNA M B
SRN: PES1PG21CS028 PESU ID: PES1202102834

Step 1: Create Amazon EC2 resources (1st Instance) - CLI

Figure 1 - EC2 Dashboard of us-east-1 before instance creation

Step 1.1: Create two security groups

Figure 2 - Created two security groups


Step 1.2: Add rules to the security groups to authorize inbound/outbound access

Figure 3 - Add rules to the security groups to authorize inbound/outbound access

Figure 4.1 - Verify both security groups


Figure 4.2 - Verify both security groups

Step 1.3: Launch an EC2 instance

Figure 5.1 - Get Subnet ID's


Figure 5.2 - Get Subnet ID's

Figure 5.3 - Get Subnet ID's


Figure 6.1 - Run Instance

Figure 6.2 - Run Instance


Figure 6.3 - Run Instance and Describe Instance

Figure 7 - EC2 Dashboard of us-east-1 after instance creation


Step 2: Create Amazon EFS resources

Step 2.1: Create a File System and Enable Life Cycle Management

Figure 8 - Created File System and Enabled Life Cycle Management

Step 2.2: Create Mount Target

Figure 9 - Create and Describe Mount Targets


Figure 10 - EFS Dashboard of us-east-1 after EFS creation

Step 3: Create Amazon EC2 resources (2nd Instance) – AWS EC2 Dashboard

Figure 11 - Creating EC2 Instance using AWS EC2 Dashboard


Figure 12 - Creating EC2 Instance using AWS EC2 Dashboard

Figure 13 - EC2 Dashboard of us-east-1 after instance creation


Step 4: Mount the file system on EC2 Instances and Test

 Install puTTY and Connect to the EC2 Instances using the Public DNS and the private keys.
 Public DNS of 1st Instance - ec2-3-86-218-125.compute-1.amazonaws.com
 Public DNS of 2nd Instance - ec2-44-201-83-147.compute-1.amazonaws.com

Figure 14 - Mounted EFS on 1st Instance and created a file

Figure 15 - Mounted EFS on 2nd Instance and viewed the file created on the 1st Instance

You might also like