Professional Documents
Culture Documents
Group 9 - AWS Foundation POC
Group 9 - AWS Foundation POC
Prepared by:
GROUP 9
Homer Rodriguez
Gus Vincent Dato
Dirk Fatallo
Rowency Catorce
Jerry Juanico
Eugerico Carl Caranto
Ry Regilito
ACRONYMS
EC2 – Elastic Compute Cloud
LB – Load Balancer
ALB – Application Load Balancer
ASG – Auto Scaling Group
S3 – Simple Storage Service
AMI – Amazon Machine Image
Architecture Diagram
Steps
1. Launch new instance
2. Choose an AMI
3. Choose an Instance Type
4. Configure Instance Details including the bash script
5. Add Storage
6. Add Tags
7. Configure Security Group
8. Create an AMI for your newly created instance
9. Create Load Balancer
1. Configure Load Balancer
2. Configure Security Groups
3. Configure Routing
4. Register Targets
5. Create ALB Target Group
Steps
10. Create launch configuration
11. Create Auto Scaling Groups
1. Configure group size and scaling policies
2. Add notifications
3. Add tags
12. Create CloudWatch Alarm (for CPU Utilization
To validate that CloudWatch Alarm is working together with the ASG Policy, it should be penetrated. We used
loader.io web application to do the penetration test
Microsoft Word
Document
Scenarios
Scenario 1 (High): CPU utilization breaches the alarm above or equal to the threshold of 20% (for testing
purpose only, default range is 50%-60%), it will add 1 capacity unit(s) for the period of 60sec up to
maximum capacity unit.
Scenario 2 (Low): CPU utilization breaches the alarm below to the threshold of 20%, it will remove 1
capacity unit(s) for the period of 60 sec down to the minimum capacity unit.
In order for us to hit the CloudWatch Alarm, we will use a penetration testing tool (loader.io) with this
settings:Host: http://poc-hbr-lb-1728168559.ap-northeast-1.elb.amazonaws.com/
Test Type: Clients per test
# of Clients: 10000
Duration: 1min
Questions?