Day 47: Test Knowledge on aws ๐ป ๐
Today, we will be testing the aws knowledge on services in AWS, as part of the 90 Days of DevOps Challenge.
Task-01
Launch an EC2 instance using the AWS Management Console and connect to it using SSH.
Login into the Ec2 instances via SSH through command prompt
Then install the apache2 server on the server
Now, we need to install the simple website on the Apache web server
Now, you can see the output of the website
Monitor the EC2 instance using Amazon CloudWatch and troubleshoot any issues that arise.
Now, creating the dashboard with the name app_monitoring
We can also add the cloud watch alarm that will trigger
Select the pre-instance metrics to set resources
Create the email alert for this
Task-02
Create an Auto Scaling group using the AWS Management Console and configure it to launch EC2 instances in response to changes in demand.
Navigate to the autoscaling group of ec2
The template is required for the creating the auto-scaling group
As you can see the auto-scaling group is created.
Use Amazon CloudWatch to monitor the performance of the Auto Scaling group and the EC2 instances and troubleshoot any issues that arise.
Use the AWS CLI to view the state of the Auto Scaling group and the EC2 instances and verify that the correct number of instances are running.
First we need to install the ec2 instance in the server
Verify the autoscaling group to the server
-
We hope that these tasks will give you hands-on experience with aws services and help you understand how these services work together. If you have any questions or face any issues while doing the tasks, please let us know.
Happy Learning :)
Mohammed Muqafamuddin