KEMBAR78
Module 1-Compute - Assignment | PDF | Computer Networking | Information Technology
0% found this document useful (0 votes)
14 views29 pages

Module 1-Compute - Assignment

The document outlines three assignments related to AWS services: taking backups and launching new EC2 instances, using EBS with EC2 Linux servers, and migrating instances between regions. It provides step-by-step instructions for creating backups, managing EBS volumes, and deploying applications using Elastic Beanstalk. Each assignment includes specific tasks and configurations to demonstrate the use of AWS features effectively.

Uploaded by

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

Module 1-Compute - Assignment

The document outlines three assignments related to AWS services: taking backups and launching new EC2 instances, using EBS with EC2 Linux servers, and migrating instances between regions. It provides step-by-step instructions for creating backups, managing EBS volumes, and deploying applications using Elastic Beanstalk. Each assignment includes specific tasks and configurations to demonstrate the use of AWS features effectively.

Uploaded by

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

Assignment 1

 How to take a backup of your instance and launch new instance from the Backup.

Synopsis:
Demonstrate how to take a backup of your instance and Launch Brand New instance from your backup with the
same configuration.

 Using EBS with EC2 Linux Server Instances.

Synopsis:
Demonstrate the creation, attaching, accessing, and updating of an additional Elastic Block Store (EBS) across
EC2 Linux Servers in the same Subnet as well as in the subnets (of a user created Virtual Private Network
(VPC)) created in different Availability Zones (AZs) of the region!

Steps to Take Backup EC2 Instance:

1. First Launch on EC2 Instance.


2. Above image will shows the running condition of Ec2 Instance.
3. Select EC2 Instance and go to Action tab Click on Image and Template. Select Create Image.
4. Give name of image I have given snapshot of server. Click on modify.

5. Below image will shows the ami sanpshot. We have taken.


6. Terminate instance.

7. Launuch New instance and select my AMI which we created and launct instance.
8. Below image will show the Backup of Instance we have taken and running condition in EC2 Instance.

 Using EBS with EC2 Linux Server Instances.


1. Launch an EC2 Instance name as Linux Server
2. In additional Volume section add Volume. Select how many Storage GB we want. I have selected
8 GB. And Launch Instance.

3. Instance running Condition.


4. EBS Volume Storage Details.

5. Modify EBS Volume Storage. Click on Action Select Attach Volume and give required Storage. I have
updated 8 GB to 12 GB. And click on modify.
6. Below image will shows the updated volume of EBS Storage.
Assignment 2
 Migrate your instance from One Region to Another Region

Synopsis:
I want to move or copy my Amazon Elastic Compute Cloud (Amazon EC2) instance to another subnet,
Availability Zone, or virtual private cloud (VPC).

Use the two methods for migrating the instance:


1.Use the AWS Systems Manager automation document AWSSupport-CopyEC2Instance.
2.Manually copy an instance and a launch a new instance from the copy.

1. Create an EC2 Instance.


2. Ec2 Instance Running Status.

1.Use the AWS Systems Manager automation document


AWSSupport-CopyEC2Instance:

3. Search AWS system Manager in serach bar. In services click on


Automation.
4. Search for “AWSSupport-copyEC2instance” in serach bar.
Select AWSSupport-copyEC2instance.
5. Click on Next.

6. In configurations select EC2 instance which we want to migrate.


7. Select Region I have selected Singapore Region. Remaing I go
for default settings.
8. Click on Execute.

9. Below image will shows the status.


10. Go to Singapore Region and see the Copied Instances from
Mumbai Region.
2.Manually copy an instance and a launch a new instance from the
copy.

1. Ec2 instance we have created. In the action bar Click on create


image.

2. Give name to image. Migrate to Singapore.


3. Click on create image.

4. Go to AMI section check the AMI is available or not.


5. Select AMI. Go to Action Click on Copy AMI.

6. Select Region where we want to Copy AMI. I have selected


Singapore Region. And then click on copy AMI.
7. Go to Singapore Region. And go to AMI section. Select AMI.
Click on Launch Instance from AMI.

8. Give name for instance select Key pair and Launch instance.
9. Status of Copied instance from Mumbai region to Singapore
Region.
Assignment 3
 Host and deploy an application using Elastic Beanstalk

Synopsis:
Create your example application, you'll use the Create a web app console wizard. It creates an Elastic Beanstalk
application and launches an environment within it. An environment is the collection of AWS resources required
to run your application code.

Steps to Create Elastic Bean Stalk:


1. Serach Elastic BeanStalk on search bar below image page will appears.
And then click on Create application.
2. In configure environment select web server environment. And
app name as demo webapp.

3. Select platform. I need to deploy python application so, I have


selected python in platform.
4. Next click on next.

5. Select VPC key pair and IAM role. In lab section I have created
IAM role. So, I have used same IAM role. And click on next.
6. Select Subnets which are available in VPC.

7. Click on Next.
8. Select security group as default.
9. Cliuck on Next.

10. In system select Basic. And deactivate Managed platform


updates.
11. Container option select Apache.

12. Click on next.


13. Review the configurations and submit.
14. Below image can see that Elastic Beanstalk application has
been successfully created.

15. In Environment section we can click on domain. So, we


can access the application. Below image we can see the access
of application.

You might also like