Let’s Architect! Cost-optimizing AWS workloads
AWS Architecture BlogLet’s Architect! Cost-optimizing AWS workloadsby Luca Mezzalira, Federica Ciuffo, Vittorio Denti, and Zamira Jaupaj | on30 AUG 2023| inAmazon Elastic Container Service,Architecture,AWS Budgets,AWS Cloud Financial Management,AWS Lambda,Compute,Graviton,Thought Leadership|Permalink|Comments|ShareEvery software component built by engineers and architects is designed with a purpose: to offer particular functionalities and, ultimately, contribute to the generation of business value. We should consider fundamental factors, such as the scalability of the software and the ease of evolution during times of business changes. However, performance and cost are important factors as well since they can impact the business profitability.This edition of Let’s Architect! followsa similar series post from 2022, which discusses optimizing the cost of an architecture. Today, we focus on architectural patterns, services, and best practices to design cost-optimized cloud workloads. We also want to identify solutions, such as the use of Graviton processors, for increased performance at lower price. Cost optimization is a continuous process that requires the identification of the right tools for each job, as well as the adoption of efficient designs for your system.AWS re:Invent 2022 – Manage and control your AWS costsGovern cloud usage and avoid cost surprises without slowing down innovation within your organization. In this re:Invent 2022 session, you can learn how to set up guardrails and operationalize cost control within your organizations using services, such asAWS BudgetsandAWS Cost Anomaly Detection, and explore the latest enhancements in the AWS cost control space. Additionally,Mercado Libreshares how they automate their cloud cost control through central management and automated algorithms.Take me to this re:Invent 2022 video!Work backwards from team needs to define/deploy cloud governance in AWS environmentsCompute optimizationWhen it comes to optimizing compute workloads, there are many tools available, such asAWS Compute Optimizer,Amazon EC2 Spot Instances,Savings Plans, andGravitoninstances. Modernizing your applications can also lead to cost savings, but you need to know how to use the right tools and techniques in an effective and efficient way.ForAWS Lambdafunctions, you can use theAWS Lambda Cost Optimization videoto learn how to optimize your costs. The video covers topics, such as understanding and graphing performance versus cost, code optimization techniques, and avoiding idle wait time. If you are usingAmazon Elastic Container Service(Amazon ECS) andAWS Fargate, you can watch a Twitch video oncost optimization using Amazon ECS and AWS Fargateto learn how to adjust your costs. The video covers topics like using spot instances, choosing the right instance type, and using Fargate Spot.Finally, withAmazon Elastic Kubernetes Service(Amazon EKS), you can useKarpenter, an open-source Kubernetes cluster auto scaler to help optimize compute workloads. Karpenter can help you launch right-sized compute resources in response to changing application load, help you adopt spot and Graviton instances. To learn more about Karpenter, read the postHow CoStar uses Karpenter to optimize their Amazon EKS Resourceson theAWS Containers Blog.Take me toCost Optimization using Amazon ECS and AWS Fargate!Take me toAWS Lambda Cost Optimization!Take me toHow CoStar uses Karpenter to optimize their Amazon EKS Resources!Karpenter launches and terminates nodes to reduce infrastructure costsAWS Lambda general guidance for cost optimizationAWS Graviton deep dive: The best price performance for AWS workloadsThe choice of the hardware is a fundamental driver for performance, cost, as well as resource consumption of the systems we build. Graviton is a family of processors designed by AWS to support cloud-based workloads and give improvements in terms of performance and cost. This re:Invent 2022 presentation introduces Graviton and addresses the problems it can solve, how the underlying CPU architecture is designed, and how to get started with it. Furthermore, you can learn the journey to move different types of workloads to this architecture, such as containers, Java applications, and C applications.Take me to this re:Invent 2022 video!AWS Graviton processors are specifically designed by AWS for cloud workloads to deliver the best price performanceAWS Well-Architected Labs: Cost OptimizationTheCost Optimization section of the AWS Well Architected Workshophelps you learn how to optimize your AWS costs by using features, such as AWS Compute Optimizer, Spot Instances, and Savings Plans. The workshop includes hands-on labs that walk you through the process of optimizing costs for different types of workloads and services, such asAmazon Elastic Compute Cloud, Amazon ECS, and Lambda.Take me to this AWS Well-Architected lab!Savings Plans is a flexible pricing model that can help reduce expenses compared with on-demand pricingSee you next time!Thanks for joining us to discuss cost optimization! In 2 weeks, we’ll talk about in-memory databases and caching systems.To find all the blogs from this series, visit theLet’s Architect!list of contenton theAWS Architecture Blog.TAGS:cost optimization,Let's Architect,re:Invent,serverless,workshopsLuca MezzaliraLuca is Principal Solutions Architect based in London. He has authored several books and is an international speaker. He lent his expertise predominantly in the solution architecture field. Luca has gained accolades for revolutionizing the scalability of front-end architectures with micro-frontends, from increasing the efficiency of workflows, to delivering quality in products.Federica CiuffoFederica is a Solutions Architect at Amazon Web Services. She is specialized in container services and is passionate about building infrastructure with code. Outside of the office, she enjoys reading, drawing, and spending time with her friends, preferably in restaurants trying out new dishes from different cuisines.Vittorio DentiVittorio Denti is a Machine Learning Engineer at Amazon based in London. After completing his M.Sc. in Computer Science and Engineering at Politecnico di Milano (Milan) and the KTH Royal Institute of Technology (Stockholm), he joined AWS. Vittorio has a background in distributed systems and machine learning. He's especially passionate about software engineering and the latest innovations in machine learning science.Zamira JaupajZamira is an Enterprise Solutions Architect based in the Netherlands. She is highly passionate IT professional with over 10 years of multi-national experience in designing and implementing critical and complex solutions with containers, serverless, and data analytics for small and enterprise companies.CommentsView Comments
Every software component built by engineers and architects is designed with a purpose: to offer particular functionalities and, ultimately, contribute to the generation of business value. We should consider fundamental factors, such as the scalability of the software and the ease of evolution during times of business changes. However, performance and cost are important factors […]
Luca Mezzalira
Amazon Elastic Container Service Architecture AWS Budgets AWS Cloud Financial Management AWS Lambda Compute Graviton Thought Leadership