Monitor Networking Activity
Why?
Failed test case: Expected to generate stress test to increase Networking Activity.
Expected:
NetworkOut > 999999,
but got:
NetworkOut = 46208.0.
- EC2 Service does not display instances (Policy issue)
- Cloudshell is not enabled for the policy assigned (Policy issue)
- Load Balancers do not display (Policy issue)
I was able to view the load balancer DNS, de-c1w3-alb-1425470307.us-east-1.elb.amazonaws.com, in the browser.
Since Cloudshell was not available, I could not install
- sudo yum install httpd-tools -y
- I cannot add this to User Data because permissions donāt allow stop and start
I used a workaround from the AWS CLI.
for i in {1..7000}; do curl -s http://curl http://de-c1w3-alb-1425470307.us-east-1.elb.amazonaws.com/ > /dev/null & done
This put the instance under stress.
Once again, the CloudWatch service was not available because of the configured policy.
Change of ALB Security Group Inbound Rules0/20 points earned
Failed test case: Expected to add the inbound rule for the ALB Security Group on port 80.
Expected:
Inbound rule for port 80 exists,
but got:
No inbound rule for port 80 found.
- I created a new rule and deleted the old ruleā¦I verified connectivity.
Execution of Launch Template30/30 points earned
All tests passed! Congratulations!
Creation of Dynamic Scaling Policy0/30 points earned
Failed test case: Dynamic scaling policy āde-c1w3-scaling-policyā was not found for ASG āc62825a3581670l13652295t1w240302954031-AutoScalingGroup-Dnn0w9uLUNbgā..
Expected:
None,
but got:
None.
I created a new de-c1w3-scaling-policy for 2 t3.nano. Both started. The t3.micro instances were terminated. I created a scaling group. Since Cloudshell was not working, I used the AWS CLI to run:
for i in {1..1000000}; do curl -s http://de-c1w3-alb-1425470307.us-east-1.elb.amazonaws.com/ > /dev/null & done
Lab ID
wzghhjbvhcnu
Iām working the problems but Iām not getting credit.