UPLOAD

    7.7K

    AWSomeDays Istanbul - AWS Elastic and Management Tools

    Published: March 18, 2019

    AWSomeDays Istanbul - AWS Elastic and Management Tools

    Comments

    AWSomeDays Istanbul - AWS Elastic and Management Tools

    • 1. AWS Elasticity and Management Tools © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Elasticity and Management Tools Halil BAHADIR Manager, Solutions Architect halilb@amazon.com
    • 2. Triad of Services © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Triad of Services Latency Utilization CloudWatch Auto Scaling Elastic Load Balancing Execute AS Policy Auto Scaling group
    • 3. Elastic Load Balancing © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Elastic Load Balancing Elastic Load Balancing •Distributes traffic across multiple EC2 instances, in multiple Availability Zones •Supports health checks to detect unhealthy Amazon EC2 instances •Supports the routing and load balancing of HTTP, HTTPS, SSL, and TCP traffic to Amazon EC2 instances
    • 4. Classic Load Balancer - How It Works © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Classic Load Balancer - How It Works Availability Zone A Availability Zone B ELB X
    • 5. Application Load Balancer – How It Works © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Target Group /mobile Application Load Balancer – How It Works ALB Listener Rule Rule Target Group Target Group /api Target Target Target Target Target Target Target Health Check Health Check Health Check Listener Rule Register instances as targets in a target group, and route traffic to a target group.
    • 6. Comparison of Elastic Load Balancing © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Comparison of Elastic Load Balancing
    • 7. Amazon CloudWatch © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CloudWatch Amazon CloudWatch •A monitoring service for AWS cloud resources and the applications you run on AWS •Visibility into resource utilization, operational performance, and overall demand patterns •Custom application - specific metrics of your own •Accessible via AWS Management Console, APIs, SDK, or CLI
    • 8. Amazon CloudWatch Architecture © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon CloudWatch Architecture Amazon CloudWatch SNS Email Notification CloudWatch Metrics AWS resources that support CloudWatch Auto Scaling Available Statistics Statistics Consumer AWS Management Console CPUUtilization StatusCheckFailed Custom Application- Specific Metrics PageViewCount Amazon CloudWatch Alarm
    • 9. CloudWatch Metrics Examples  © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. CloudWatch Metrics Examples
    • 10. Auto Scaling © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Auto Scaling Auto Scaling •Scale your Amazon EC2 capacity automatically •Well-suited for applications that experience variability in usage •Available at no additional charge
    • 11. Auto Scaling Benefits © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Auto Scaling Benefits Better Cost Management Better Availability Better Fault Tolerance
    • 12. Launch Configurations © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •A launch configuration is a template that an Auto Scaling group uses to launch EC2 instances. •When you create a launch configuration, you can specify: •AMI ID •Instance type •Key pair •Security groups •Block device mapping •User data Launch Configurations
    • 13. Auto Scaling Groups © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Auto Scaling Groups Auto Scaling group Minimum size Desired capacity Maximum size Scale out as needed •Contain a collection of EC2 instances that share similar characteristics. •Instances in an Auto Scaling group are treated as a logical grouping for the purpose of instance scaling and management.
    • 14. Dynamic Scaling © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •You can create a scaling policy that uses CloudWatch alarms to determine: •When your Auto Scaling group should scale out. •When your Auto Scaling group should scale in. •You can use alarms to monitor: •Any of the metrics that AWS services send to Amazon CloudWatch. •Your own custom metrics. Dynamic Scaling
    • 15. Auto Scaling Basic Lifecycle © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Auto Scaling Basic Lifecycle Launch Instance instances Auto Scaling group Scale Out Amazon CloudWatch Scheduled Event Scale In Amazon CloudWatch Scheduled Event Attach to Group Detach from Group Terminate Instance X
    • 16. AWS Trusted Advisor © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •Best practice and recommendation engine. •Provides AWS customers with performance and security recommendations in four categories: •Cost optimization •Security •Fault tolerance •Performance improvement. AWS Trusted Advisor AWS Trusted Advisor
    • 17. Cost Optimization © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •Amazon EC2 Reserved Instance Optimization •Low-utilization Amazon EC2 Instances •Idle load balancers •Underutilized Amazon EBS volumes •Unassociated Elastic IP addresses •Amazon RDS idle DB instances Cost Optimization
    • 18. Security © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •Security groups •AWS IAM use •Amazon S3 bucket permissions •MFA on toot Account •AWS IAM password policy •Amazon RDS security group access risk Security
    • 19. Fault Tolerance © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •Amazon EBS Snapshots •Load balancer optimization •Auto Scaling Group Resources •Amazon RDS Multi-AZ •Amazon Route 53 name server delegations •ELB connection draining Fault Tolerance
    • 20. Performance Improvement © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. •High-utilization Amazon EC2 instances •Service limits •Large number of rules in EC2 security group •Over-utilized Amazon EBS magnetic volumes •Amazon EC2 to EBS throughput optimization •Amazon CloudFront alternate domain names Performance Improvement
    • 21. Knowledge Check © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Knowledge Check Amazon CloudWatch alarms True Application Load Balancer True or False: Auto Scaling helps you ensure that you have the correct number of EC2 instances available to handle the load for your application. Q: What feature would you use with an auto scaling policy to determine when your auto scaling group should scale out/in? Q: You have an application composed of individual services and need to route a request to a service based on the content of the request. What type of load balancer should you use?
    • 22. What we’ve talked about today… © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What we’ve talked about today… Amazon S3 Amazon Glacier IAM Amazon CloudWatch AWS Lambda Amazon API Gateway Amazon DynamoDB Amazon RDS Amazon SQS Amazon SNS Elastic Load Balancing Amazon VPC Amazon EC2
    • 23. Expand Your Cloud Skills with AWS © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Expand Your Cloud Skills with AWS Certification aws.amazon.com/certification Validate your proven technical expertise with the AWS platform and gain recognition for your skills Online videos and labs aws.amazon.com/training/ self-paced-labs Start working with an AWS service in minutes with free online instructional videos and labs aws.amazon.com/training Instructor-led courses Learn how to design, deploy, and operate highly available, cost-effective, and secure applications on AWS
    • 24. AWS Courses © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Courses
    • 25. Get Certified © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Get Certified
    • 26. Support Options © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Support Options The Technical Account Manager provides... ✓A dedicated voice within AWS to serve as your advocate. ✓Proactive guidance and insight into ways to optimize AWS through business and performance reviews. ✓Orchestration and access to the full breadth and depth of technical expertise across the full range of AWS. ✓Access to resources and best practice recommendations. Infrastructure Event Management provides... ✓A common understanding of event objectives and use cases through pre-event planning and preparation. ✓Resource recommendations and deployment guidance based on anticipated capacity needs. ✓Dedicated attention of the your AWS Support team during your event. ✓The ability to immediately scale down resources to normal operating levels post-event.
    • 27. Support Options © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Support Options AWS Trusted Advisor provides... ✓Insight into how and where you can get the most impact for your AWS spend. ✓Opportunities to reduce your monthly spend and retain or increase productivity. ✓Guidance on getting the optimal performance and availability based on your requirements. ✓Confidence that your environment is secure. The Concierge Service provides... ✓A primary contact to help manage AWS resources. ✓Personalized handling of billing inquiries, tax questions, service limits, and bulk reserve instance purchases. ✓Direct access to an agent to help optimize costs, and identify underutilized resources.
    • 28. Support Comparison © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Support Comparison
    • 29. Slide174 © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you!