《云成本優化策略、技巧和最佳實踐.pptx》由會員分享,可在線閱讀,更多相關《云成本優化策略、技巧和最佳實踐.pptx(26頁珍藏版)》請在三個皮匠報告上搜索。
1、Cloud Cost Optimization:Strategies,Tips,and Best PracticesMichael AgarwalDirector&Global SRE&Cloud Databases Practice Leader DatavailFill out the session evaluation and enter 325 years in ITPast:Software Developer,DBA,TPM,Cloud ArchitectCurrently Global Practice Leader at Datavail(Lead Cloud Migrati
2、on&Modernizations,Site Reliability Engineering,and NoSQL practices)10 years of experience with AWS&AzureMMichaelAgarwalDirector&Global Practice Leader(SRE,Cloud&NoSQL Databases)DatavailConnect or follow me on LinkedIn:https:/ at a GlanceDelivering a superior approach to leveraging data through appli
3、cation of a tech-enabled global delivery model&deep specialization in databases,data management,and application services.$25MInvestedin IP that improves the service experience and drives efficiency15+Yearsbuilding and operating mission critical data and application systems1,200+E5Datavail Cloud Prov
4、ider Partnerships Advanced Tier Services Partner 11+years experience 100+AWS Certified Consultants250+AWS Migrations,ModernizationsWindows(Microsoft)Workload Competency,One of top 5 Windows partners Oracle Services Competency,1 of top 10 Oracle App partners1 of top 10 Database Specialist Partners(Op
5、en Source/NoSQL)1 of 3 partners selected to deliver Aurora OptimizationsService Delivery Partner Amazon EC2,RDS,AuroraLaunch partner for Babelfish(SQL Server to Aurora)1 of top 50 Analytic partnersAzure Partner 19+years of experienceData+AI Solution PartnerDigital and App Innovation Solution Partner
6、550+Microsoft Consultant CertificationsRecognized in 2017 by Microsoft as Cloud for Global Good Partner of the Year 1 of 5 partners for Oracle App Workloads to Azure ProgramSelected as a go to partner for NoSQL databasesStrong expertise in cloud analytics and data management Strong expertise in app
7、modernizationOracle Application partner for Fusion Apps(ERP,SCM,HCM,CSX,EPM)Legacy Application partner for EBS,Hyperion,JDE,PeopleSoft,Essbase,WeblogicOracle Cloud Infrastructure(OCI)Partner 17+years of experience18 Specializations MySQL Expertise Badge 300+Oracle Certifications Certified Cloud Exce
8、llence Implementor for EPMRegularly selected by Oracle to present at Industry ConferencesSelected by Telecom Eq Manufacture for one of the largest Oracle Cloud implementations for ERP,EPM,SCM,HCM6Datavails Superpowers.Net App Modernization Application Modernization,Strategy&Implementation Cloud Nati
9、ve Development(Serverless/Containers/Kubernetes)DevOps Strategy and Implementation Sprint Based App Dev as a Service for Cloud Native Apps Managed ServicesAnalytics Data Estate Modernization Analytics Roadmaps Data Integrations Visualization CoE Data Governance/MDM Data Architectures-Business Outcom
10、es Analytics Managed Services AI/MLDatabases Data Estate Strategy/Planning Database Migrations to Cloud DB Modernization Strategy and Implementation Database Upgrades and Performance Tuning High Availability and Disaster Recovery Database Managed ServicesOracle Workloads Legacy Migrations to Cloud:E
11、BS,JDE,PeopleSoft,Hyperion,Essbase,Weblogic Oracle Database and Oracle Tech Stack Migrations&Modernizations AWS Architecture&Performance Tuning Oracle Application and Database Managed ServicesCloud PlatformsAgendaAWS Cost Structure OverviewTools review:Billing Alerts,Cost ExplorerCost Optimization:E
12、asy Wins(Easy Complexity)Cost Optimization:Not So Easy Wins(Medium/Hard Complexity)Cloud Center of E8EC2/RDS:Hourly rate,bigger the instance more hourly rate Example:t3.medium(2 VCPUs,4 GiB Memory):$0.0416 per hour Example:r5.24xlarge(96 vCPUs,768 GiB Memory):$6.048 per hour Savings Plan&Reserved In
13、stancesData Ingress vs EgressPay for what you use Pay for what features you needAWS Cost Structure OverviewAnother Example:DynamoDB$1.25 per million write requests units$0.25 per million read requests unitsUsing Global Tables?Replicated write request unit:$1.875 per million replicated write request
14、9Be Aware of What is Going OnMultiple billing alertsSomeone needs to own analyzing cost on regular basisAnalyze trendsCost center 10Other AWS Provided ToolsAWS Trusted AdvisorCost optimizer for Amazon WorkspacesInstance scheduler on AWSAWS Cost Anomaly DetectionAWS Compute O11EC2/RDS Pricing ModelRe
15、served Instances/Savings Plans provide up to 72%cost savings compared to on-demand instances 12Lifecycle Policies on StorageArchive to cheaper storage like GlacierPurge when not neededSet S3 bucket lifecycle policies for auto purge and archivePick the right S3 storage type:Reduced redundancy Infrequ
16、ent access Standard G13Avoiding MistakesPeer review deploymentsAWS Service Control P14Right Storage Type And SizeHDDGeneral purpose SSDProvisioned IOPS SSD15LicensingLicensing is often proportional to vCPUs so:Right size vCPUs Pick the latest instance type available,for example,R7 R6 R5Right Edition
17、 Do you really need Enterprise Edition or will Standard/Free Edition be OK?Right BYOL For Microsoft(SQL Server&Windows)and Oracle licenses,an Optimized License Assessment(OLA)is recommended before migrating to AWS16Do Not Leave Behind Unneeded/Unlinked ResourcesUsing Terraform/CloudFormation to crea
18、te and destroy AWS 17Right-size EC2s/RDSs etc.Instance types General purpose/memory optimized/CPU optimized 1 to 128 vCPUs 0.5 to 512 GB MemoryHorizontal scaling:Auto scaling groups For example:Auto scale number of EC2s/containers behind load balancer based on traffic/18Using Spot InstancesSpot Inst
19、ances provide discounts of up to 90%compared to on-demand instances.To use spot instances:Your workload/app must be good fit for spot instances:Able to keep state while workload may be stopped/restarted What you are willing to pay to meet spot pricing set by AWS19Adopting AWS Managed ServicesAWS off
20、ers many managed services like API Gateway,Lambda,DynamoDB,Kinesis,Glue,SQS,SNS,WAF,which can replace services running on EC2sCheck pricing,features compatibilityPricing often based on“invoking”/“events”Unlike EC2s,no consistently running resourcesExample for Lambda:First 6 Billion GB-seconds/month:
21、$0.0000166667 for every GB-second+$0.20 per 1M 20Unnecessary HA/DRRight type of HA/DR:Availability zone failure AWS region failureDo you really need HA/DR for:Dev environment Test environment Performance testing environment Prod environmentNote:Business defined RTO&RPO requirements should be aligned
22、 with HA/DR 21What Could Be Turned Off/On?Dev environmentTest environmentPerformance testing environmentProd environment?Orchestrate provisioning of just-in-time environmentsNote:Could be schedule based or event 22Migrating to Open-Source DatabasesCommercial license-based databases,such as Oracle an
23、d SQL Server,could have high licensing costs.Consider migrating databases to open-source databases like PostgreSQL and MySQL23Application RefactoringRefactor monolithic application into microservices.Microservices help with cost simply because each microservice could be scaled up or down based on tr
24、affic/volume/24Cloud adoption enabler(and not“red tape”)Business Transformation is aligned with Technology TransformationStandardization(e.g.,tagging,regions,naming conventions)Architecture patterns references Well Architected Reviews are encouraged Cloud Maturity ModelCost governance/optimizationPr
25、escriptive guidance in place for DevOps,SRE/DBA,Analytics,and Development teamsWhat is Cloud Center of Excellence?COELeaders+Architects SRE/DBASoftware Developer/Data EngineerDevOps EngineerPartnershipsTrainingCertificationsFill out the session evaluation and enter 26Thank YouMichael AgarwalDirector&Global Practice Leader Cloud D405-410-3225