AWS BEST PRACTICES Module 3: Costs Optimization July 2017.

Slides:



Advertisements
Similar presentations
Ivan Pleština Amazon Simple Storage Service (S3) Amazon Elastic Block Storage (EBS) Amazon Elastic Compute Cloud (EC2)
Advertisements

Ed Duguid with subject: MACE Cloud
EPAM Private Cloud Integration with AWS February, 2015.
STANFORD UNIVERSITY INFORMATION TECHNOLOGY SERVICES IT Services Storage And Backup Low Cost Central Storage (LCCS) January 9,
The Total Cost of (Non) Ownership of Storage In The Cloud Jinesh Varia Technology Evangelist.
© 2009 IBM Corporation ® IBM Software Group Introduction to Cloud Computing Vivek C Agarwal IBM India Software Labs.
EPAM Private Cloud For Project Managers and Coordinators June, 2015 Basic Concepts.
EPAM Private Cloud Management tools on UI June, 2015.
An Introduction to Cloud Computing. The challenge Add new services for your users quickly and cost effectively.
Introduction to Amazon Web Services (AWS)
EPAM Private Cloud Five Hints to Optimize Costs June, 2015.
Promoting Open Source Software Through Cloud Deployment: Library à la Carte, Heroku, and OSU Michael B. Klein Digital Applications Librarian
Cloud Computing. What is Cloud Computing? Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable.
EPAM Private Cloud Integration with AWS February, 2015.
Physical Servers. Expensive Difficult Ownership Virtual Servers.
How AWS Pricing Works Jinesh Varia Technology Evangelist.
Grigori Melnik, Fernando Simonazzi Microsoft patterns & practices patterns & practices symposium 2013 Autoscaling in Windows Azure aka.ms/autoscaling.
Cloud Computing is a Nebulous Subject Or how I learned to love VDF on Amazon.
Data Hosting and Security Overview January, 2011.
Extending Auto-Tiering to the Cloud For additional, on-demand, offsite storage resources 1.
© 2012 Eucalyptus Systems, Inc. Cloud Computing Introduction Eucalyptus Education Services 2.
Anytime, Anywhere Access Benefits Functionality Work Order Administration Dispatch Work Order Work Order Details New Work Order Additional Functionality.
Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:
St. Petersburg, 2016 Openstack Disk Storage vs Amazon Disk Storage Computing Clusters, Grids and Cloud Erasmus Mundus Master Program in PERCCOM Author:
SEMINAR ON.  OVERVIEW -  What is Cloud Computing???  Amazon Elastic Cloud Computing (Amazon EC2)  Amazon EC2 Core Concept  How to use Amazon EC2.
Structured Container Delivery Oscar Renalias Accenture Container Lead (NOTE: PASTE IN PORTRAIT AND SEND BEHIND FOREGROUND GRAPHIC FOR CROP)
EPAM Cloud Orchestration
AWS BEST PRACTICES Module 3: Security in AWS July 2017.
Course: Cluster, grid and cloud computing systems Course author: Prof
EPAM Cloud Orchestration
Understanding The Cloud
Avenues International Inc.
AWS Solution Architect Associate Exam associate-dumps.html Free AWS Solution Training Exam Question.
AWS BEST PRACTICES Module 1: Overview July 2017.
Amazon AWS Solution Architect Associate Exam Questions PDF associate.html AWS Solution Training Exam.
AWS Integration in Distributed Computing
Infrastructure Orchestration to Optimize Testing
Amazon Storage- S3 and Glacier
Amazon Instance Purchasing Options
An Introduction to Cloud Computing
EPAM Cloud Orchestration
Introduction to Amazon Web Services Overview of AWS Services
Azure Functions and Automation: The SQL Agent in the Cloud
Logo here Module 3 Microsoft Azure Web App. Logo here Module Overview Introduction to App Service Overview of Web Apps Hosting Web Applications in Azure.
SEMINAR IN DATABASE SYSTEMS
Cloud Management Mechanisms
in All Office 365 Apps for Enterprise Companies
Welcome to AWS Certification Exam
AWS COURSE DEMO BY PROFESSIONAL-GURU. Amazon History Ladder & Offering.
Cisco’s Intelligent Automation for Cloud
Exploring Azure Event Grid
The Brocade Cloud Manageability Vision
EPAM Cloud Orchestration
Amazon AWS Solution Architect Associate Exam Dumps For Full Exam Info Visit This Link:
Amazon AWS Solution Architect Associate Exam Questions PDF associate-dumps.html AWS Solution Training.
2018 Valid Amazon AWS-Solution-Architect-Associate Exam Study Guide - AWS-Solution-Architect-Associate Questions Answers Realexamdumps.com
EPAM Cloud Orchestration
+Vonus: An Intuitive, Cloud-Based Point-of-Sale Solution That’s Powered by Microsoft Office 365 with Tools to Increase Sales Using Social Media OFFICE.
Microsoft Virtual Academy
EPAM Cloud Orchestration
Azure Event Grid with Custom Events
InLoox PM Web App product presentation
Excelian Grid as a Service Offers Compute Power for a Variety of Scenarios, with Infrastructure on Microsoft Azure and Costs Aligned to Actual Use MICROSOFT.
Order-to-Cash (Project-Based Services) Scenario Overview
Hybrid Storage Competitive Sales Guide INTERNAL ONLY
AWS Cloud Computing Masaki.
Microsoft Virtual Academy
Welcome to the WeWork 200 Portland St, Boston MA.
Microsoft Virtual Academy
Productive + Hybrid + Intelligent + Trusted
Presentation transcript:

AWS BEST PRACTICES Module 3: Costs Optimization July 2017

Performance Optimization AWS Best Practices Training Program Basic Approaches Course overview Basic infrastructure requirements Reliability and Performance overview Costs optimization overview Monitoring tools overview Useful tools overview Security in AWS Basic security principles and tools Access management Data encryption and protection Network security Costs Optimization The “Minimum Principle” and Auto Scaling Serverless architectures Container-based architectures Resources review and optimization Using Reserved Instances Using Spot Instances Performance Optimization AWS Service Limits Components selection and review Backup Components failure withstanding

Introduction

AWS COSTS ELEMENTS OVERVIEW EC2 Instance (Compute) EBS Volumes EBS IOPS AWS VM Price Date Transfer Elastic IP Elastic LB Mind Other Services!

AWS EC2 Billing Modes On Demand: Pay-as-you-go approach. Reserved Instances: Reserve capacities for 1 or 3 years. Actual usage rate does not matter No upfront – pay monthly during 1 year Partial upfront – pay a portion upfront, and the rest – during the reservation period All upfront – pay all upfront, only once, for the whole period Spot Instances: Pay 30-90% of On Demand, but be ready that the instance can be shut off:

AWS COSTS OPTIMIZATION: SHORT OVERVIEW Project costs is one of the crucial challenges managers face. Uncontrolled and unreasonable usage of virtual resources on AWS can lead to unexpected expenses, that can be easily omitted by keeping in mind several simple rules: Use the “Minimum” principle: order the resources with the minimum capacity, necessary for your needs. You can always expand, when necessary. Select proper resources: the correct resource selection can provide you with the necessary results without extra expenses. Use auto scaling to dynamically adjust your infrastructure to your needs Use Serverless and Container based approaches. Utilize resources reasonably: monitor low utilized resources and adjust their usage. Stopped resources cost up to 70% less than running ones Use Reserved and Spot Instances: a Spot instance can cost up to 90% less than an on-demand one. Use schedules: automate the start/stop processes Set up Quotas: to track and control monthly expenses

Take Minimum … and Scale

HINT 1: Take the minimum… and scale AWS allows you to order the minimum necessary resources, and scale them – either manually or automatically, according to your needs. T2: burstable performance instances M4/M3: general purpose instances C4/C3: compute optimized instances X1/R4/R3: memory optimized instances P2/G2/F1: accelerated computing instances I3: High I/O instances D2: Dense-storage instances

HINT 2: Use Serverless and Container-Based Apps Amazon EC2 Container Service AWS Lambdas Automatic scaling Automatic provisioning No need to manage infrastructure No need to learn new language You can use any library, including native Bring your code $0.20 per million requests, 1M free Easily manage Docker containers Flexible container placement Designed for use with other AWS services Extensible Performance at scale Secure

Reasonable Resources Usage

HINT 3: Use resources reasonably Turn Off the Lights Developer, test, training instances Use simple instance start and stop Or tear down and build up all together using AWS CloudFormation Instances are disposable! Cuts ONLY compute price!

Using Schedules Running VM Stopped VM The Idea Running VM Stopped VM <show live schedules> Automate infrastructure management Minimize human factor Set up any convenient schedule Automatic check of schedules execution

HINT 3: Use resources reasonably AWS Trusted Advisor aws.amazon.com/premiumsupport/trustedadvisor/ Free with Business or Enterprise Support (that EPAM has)

HINT 3: Use resources reasonably Use Optimization Statistics on the Monitoring Page cloud.epam.com/maestro2/ui/monitoring

HINT 3: Use resources reasonably Low Utilization report

Reserved and Spot Instances

HINT 4: Use Reserved Instances Reserved instances can help cut costs for predictable infrastructures significantly:

HINT 5: Use Spot Instances Spot Instances Rules Price based on supply/demand You choose your maximum price/hour Your instance is started if the Spot price is lower Your instance is terminated if the Spot price is higher, with 2 minutes notice But: You did plan for fault tolerance, didn’t you? Best Practice Use Bid Advisor Set the bid price closer to the price of the on- demand instance of the similar type Set up fault tolerance Spot block: guaranteed capacity for 1-6 hours with 30-50% discount

HINT 5: Use Spot Instances Bid Advisor Use the Bid Advisor tool to check the profit of each type of spot instances, and to estimate the possibility of outbidding https://aws.amazon.com/ec2/spot/bid-advisor/

HINT 5: Use Spot Instances Use Cases Stateless web/app server fleets Testing Batch workload Web servers Continuous integration (CI) High performance computing (HPC) Grid computing Media rendering/transcoding See more at: aws.amazon.com/ec2/spot

Expenses Control Tools

EPAM Orchestrator Monthly Quotas: Overview Monthly quotas specify the desired limit for Cloud Expenses within the month. In case several quota rules are specified, the narrowest (with smallest limit) is applied. ALL - the quota is applied cumulatively to all regions in which the project is activated. All AWS(EPAM/GCP/Azure) – the quota is applied cumulatively to all regions of an external provider, in which the project is activated. EACH - the quota is applied to each region in which the project is activated. EACH AWS(EPAM/GCP/Azure) – the quota is applied in each region of an external provider, in which the project is activated. Region by name – Specify a quota for a specific region

EPAM Orchestrator Quotas: Management Review quota settings Update quota limits Specify quota depletion actions

EPAM Orchestration Resource Quotas Item Description Limit Type Volumes Number of storage volumes created 5 Daily Volume size Size of each storage volume 500 GB Total volume size Total size of each volume 2.5 TB Instances Number of instances created 20 Resource utilization The cost of the utilized infrastructure 300 USD Monthly PM can set approvals for VM Creation!

Unusual Activities Report EPAM Orchestrator analyzes your AWS activities and informs you in case unusual activity is detected. When a daily resource creation quota in AWS is exceeded on your project within an hour, Project Coordinators and Delivery managers get a notification via SMS and a respective email with the details on these activities, and two action buttons: Approve: verify that the enormous resource creation activities are expected Reject: all the resources listed in the report will be terminated, and the related accounts deleted When limits are set, we can start controlling meeting them. This report reacts on limits exceeding If Approve or Reject button is not pressed by Project Coordinator or Delivery Manager within 15 minutes after the notification, EPAM Cloud Support team can take the responsibility to Reject resources creation and to take all the necessary hack-protection measures.

NEXT STEPS

Security Education: Online Course Get a free course on AWS APN portal (https://partnercentral.awspartner.com/SelfRegisterPartner) Pass an APN Course or a Certification Submit a Certificate Get a badge Get to the pro-list for further courses + Investigate our Web Site (https://epa.ms/cloud-learn) + Watch the Video Portal (https://videoportal.epam.com)

Issues Resolving Flow Please also feel free to address EPAM Cloud Consulting team (SpecialEPM-CSUPConsulting@epam.com)

AWS Enterprise Support Access 24/7 customer support with less than 1 hour response time Response to critical events less than 15 minutes Support by Senior Cloud Support Engineers via email, chat and phone in case of critical events Unlimited number of cases Dedicated technical Account Manager and Concierge Agent Free Infrastructure Event Management Service Access to AWS Trusted Advisor and Support API functions Regular communication including AWS resource usage reporting, monitoring, recommendations on infrastructure optimization and improvement Access to Amazon documentation

Home Work Get a free course on AWS APN portal (https://partnercentral.awspartner.com/SelfRegisterPartner) Pass AWS TCO and Cloud Economics Course

Documentation Hybrid Cloud Guide Terms and Conditions Cloud Security Policy https://epa.ms/hybrid-cloud https://epa.ms/cloud-doc-terms https://epa.ms/cloud-security The guide providing the details on integration with AWS and Azure. EPAM Cloud terms and conditions: terms definitions, parties responsibilities EPAM Cloud Security policies and approaches FAQ Cloud Glossary Cloud Consulting https://epa.ms/cloud-faq https://epa.ms/cloud-glossary https://epa.ms/cloud-consulting What’s New Release Notes Video Overview Address us if you have any questions! EPAM Cloud frequently asked questions See the whole documentation set on https://epa.ms/cloud-doc

Performance Optimization AWS Best Practices Training Program Basic Approaches Course overview Basic infrastructure requirements Reliability and Performance overview Costs optimization overview Monitoring tools overview Useful tools overview Costs Optimization The “Minimum Principle” and Auto Scaling Serverless architectures Container-based architectures Resources review and optimization Using Reserved Instances Using Spot Instances NEXT: Security in AWS Basic security principles and tools Access management Data encryption and protection Network security Performance Optimization AWS Service Limits Components selection and review Backup Components failure withstanding

Thank you for attention! Cloud in Yammer: https://epa.ms/cloud-yammer EPAM Cloud Consulting team (SpecialEPM-CSUPConsulting@epam.com)