Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2 : ( 8 0 Marks ) . You are asked to use Auto Scaling using the default VPC to automatically launch Amazon EC

Question 2: (80 Marks).
You are asked to use Auto Scaling using the default VPC to automatically launch Amazon EC2 instances in response to conditions specified. Then, test the Auto Scaling by terminating two running instances and observe while Auto Scaling automatically creates replacement instances.
2.1 Create a VPC Security Group called WebDMZ to permit access for web traffic via HTTP.
2.2 Create an Auto Scaling group using the Launch Configuration. To create an Auto Scaling Groups, it will be a good idea to first create a Launch Configuration.
Create a Launch Configuration, and configure it as follows:
a. Your instance must run amazon Linux 2 AMI.
b. Instance type: t2.micro.
c. Name: MyASG-LG.
d. Use the Boot Strap Scripts in the appendix.
e. Use the default storage.
f. Assign security group: Select an existing security group created in Question 2.1.
g. Create and launch configuration with or without a key.
Create an Auto Scaling Groups, and configure it as follows:
a. Name = pracASG.
b. Group size =3.
c. Subnet = Select three subnets.
d. Scale your instances between 3 and 6.
e. Scale group size:
Metric type = Average CPU utilisation
Target value =80
Instances need =60 seconds
f. Add tag: Name = MyPracASG.
2.3 Test your Auto Scaling by simulating instances failover.
Note: the minimum size for your Auto Scaling group is 3 instances. Thus, if you simulate a failover by terminating two running instances, Auto Scaling must launch new instances to replace them.
NOTE: Ensure all configuration screenshots are in the final document.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Lab Manual For Database Development

Authors: Rachelle Reese

1st Custom Edition

1256741736, 978-1256741732

More Books

Students also viewed these Databases questions

Question

Write an elaborate note on marketing environment.

Answered: 1 week ago