How can you keep cloud computing costs low for AI?
Learn from the community’s knowledge. Experts are adding insights into this AI-powered collaborative article, and you could too.
This is a new type of article that we started with the help of AI, and experts are taking it forward by sharing their thoughts directly into each section.
If you’d like to contribute, request an invite by liking or reacting to this article. Learn more
— The LinkedIn Team
Cloud computing is a powerful and flexible way to run AI applications, but it can also be expensive if you don't manage it well. In this article, you'll learn some practical tips to keep your cloud computing costs low for AI, without compromising on performance or quality.
Different cloud service providers offer different features, prices, and options for AI. You should compare them based on your specific needs, such as the type and scale of your AI projects, the availability and reliability of their services, and the support and tools they provide. Some cloud service providers may also offer discounts, credits, or free tiers for certain AI use cases or customers.
-
Jyotishko Biswas
Solves Business Problems using AI | AI Leader | 17+ years exp. in AI | Experienced in Generative AI & LLMs | Guest Speaker on AI - IIM, JK Lakshmipat University etc. | Deployed enterprise-wide AI solutions | ex Deloitte
If company is providing GPU fitted laptops, then employees can build light weight AI solutions on their laptop. For example HP has high power laptop brand Workstation, and it's Generation 9 version is fitted with GPU. One can run light weight AI solutions on it. instead of using cloud environment.
(edited) -
Andrew Wildrix
Cybersecurity and IT Expert with experience in CIO and VP of Engineering roles. Former solutions architect in both enterprise and SMB environments with proven sales results.
To avoid overspending, you need to monitor and optimize your cloud usage regularly. For example, you can use tools and metrics to track your cloud performance, utilization, and spending. You can also use automation and policies to scale up or down your cloud resources according to your AI workload and demand. You can also leverage spot instances or reserved instances to save money on unused or predictable cloud capacity. A multi-cloud orchestrator that can shift loads to cloud services on off peak hours can get the processing costs extremely reasonable.
One of the main sources of cloud computing costs is the amount and type of resources you use, such as compute, storage, network, and memory. You should optimize your cloud resources to match your AI workload, and avoid overprovisioning or underutilizing them. You can use tools like cloud monitoring, auto-scaling, and load balancing to adjust your resources dynamically based on demand and performance. You can also use spot instances, reserved instances, or pre-emptible instances to save money on idle or interruptible resources.
-
Jayant Swamy
CTO | Machine Learning | Deep Learning | Artificial Intelligence | Data Engineering | Technologist | Strategy | ex-Accenture
Some are obvious, others like considering edge/on-prem many not be as obvious. To keep cloud computing costs low for AI: 1. Right-size resources to fit actual needs. 2. Opt for reserved and spot instances for predictable workloads and non-critical tasks, respectively. 3. Reduce data transfer costs by minimizing movement in/out of the cloud. 4. Use auto-scaling to adjust resources based on demand. 5. Consider edge computing to process data locally.
-
Arun Prasad
Product Management, C.A.S.E Automotive Business(Connected, Autonomous, Shared and Electric)
The right Sizing of GPUs is a still a skill that is often overlooked. Often times, there is tendency to pick and choose the highest configuration of GPU and the thought process is Higher Number of Cores and Ram, the better it is. This is incorrect. Even a 4 year old, previous Generation GPUs are most likely sufficient for most computer vision and AI tasks. The newer architecture and GPU may offer improved performance but it’s a trade off that one needs to make. The difference is sometimes unnoticeable. The best part of using older generation GPUs is that the cost of these are significantly less and the availability is high. These GPUs have mostly reached end of life and Cloud Providers offer huge discounts to these types instances.
(edited)
Data is essential for AI, but it can also generate a lot of cloud computing costs, especially if you store, transfer, or process large volumes of data. You should manage your cloud data efficiently, and apply techniques like compression, encryption, deduplication, and caching to reduce your data footprint and improve your data security. You should also choose the right data storage and processing services for your AI needs, and consider using edge computing or hybrid cloud to minimize your data movement and latency.
-
Sabu Narayanan
Digital & AI Transformation Leader
Optimising the training data is one way to reduce the cost of cloud computing for AI implementation. There is an optimal size of the sample date you need to train the model and anything more is not going to make any meaningful difference. The law of diminishing returns is very relevant in this context too
-
Navveen Balani
AI, Blockchain & IoT Leader | Linkedin Top Voice AI | Google Cloud Certified Fellow| Generative AI | Technology Sustainability | Author-Definitive Handbook Series (Gen AI, Prompt Engineering,Multi-Cloud, IoT, Blockchain)
Managing your cloud data efficiently is key to controlling costs. Utilize serverless data processing services for on-demand, scalable computing resources that you pay for only when your code runs, avoiding idle resources. Additionally, adopt optimized data formats like Apache Parquet or ORC, which not only reduce storage needs with their compression capabilities but also speed up data-intensive operations like training AI models. These formats allow more efficient querying and can lower the compute resources needed, directly impacting costs. By focusing on serverless architectures and data optimization, you can trim unnecessary expenses and streamline your cloud-based AI workloads.
AI can also help you optimize your cloud computing costs for AI, by using machine learning and analytics to analyze your cloud usage patterns, identify cost-saving opportunities, and automate your cloud management tasks. You can use AI to optimize your cloud resource allocation, data lifecycle, billing and budgeting, and cloud governance and compliance. You can also use AI to enhance your cloud security and performance, and prevent costly errors or breaches.
-
Mercedes Soria, MS, MBA, PMP
GHC Award winner | Board Member | EVP Software Engineering, Chief Intelligence Officer @ Knightscope | Startup Advisor | ForbesWomen forum | CHIEF | US Dept of State speaker |Women in STEM advocate
Predictive analytics can help in cloud cost optimization as it uses historical data to forecast future resource needs and spending. By applying machine learning models, it identifies patterns in resource consumption and predicts when demand will increase or decrease. Knowing this information enables proactive scaling of resources, avoiding over-provisioning and underutilization. It helps in planning budget allocation, ensuring that cloud expenditures align with actual business needs. This not only maximizes cost efficiency but also ensures readiness for surges in demand, maintaining performance without incurring unnecessary costs
-
Aline Oliveira
Data Team Lead | Data Strategist | Data Scientist Senior Specialist | Data Career Mentor | Speaker
By leveraging machine learning and analytics, AI can analyze usage patterns, identify cost-saving opportunities, and automate management tasks. It can optimize resource allocation, streamline data lifecycle management, and enhance billing, budgeting, governance, and compliance processes. AI also fortifies cloud security, ensuring robust protection against errors and breaches, ultimately leading to more efficient and cost-effective cloud operations.
Another way to keep your cloud computing costs low for AI is to learn from the best practices and case studies of other cloud AI users, who have successfully implemented cost-effective and scalable AI solutions on the cloud. You can find many resources online, such as blogs, podcasts, webinars, courses, and books, that share valuable insights and tips on how to optimize your cloud AI costs. You can also join online communities and forums, where you can ask questions, get feedback, and exchange ideas with other cloud AI enthusiasts.
-
Navveen Balani
AI, Blockchain & IoT Leader | Linkedin Top Voice AI | Google Cloud Certified Fellow| Generative AI | Technology Sustainability | Author-Definitive Handbook Series (Gen AI, Prompt Engineering,Multi-Cloud, IoT, Blockchain)
Leverage "Well-Architected" frameworks provided by cloud vendors, which outline key concepts, design principles, and architectural best practices. These frameworks guide you through the core strategies to optimize your cloud environment, including cost-efficiency. By adopting these principles, you can build and deploy systems that are high-performing, resilient, and cost-effective. The case studies often showcase real-world scenarios where companies have successfully reduced costs while maintaining or improving their AI capabilities, providing a roadmap for similar savings. Following these frameworks and learning from case studies helps you avoid common pitfalls and apply proven strategies to your cloud infrastructure.
-
Devanshu B.
Here are some key considerations: Industry-Specific Best Practices: Explore case studies and best practices specific to your industry. Understanding how organizations in your domain have implemented cost-effective AI solutions on the cloud can provide valuable insights. Cloud Provider Documentation: Cloud service providers often publish case studies, whitepapers, and documentation highlighting best practices for optimizing costs. Take advantage of these resources to gain a deeper understanding of how to efficiently use cloud services for AI. Community Forums and User Groups: Participate in community forums and user groups related to cloud computing and AI. Engage with professionals who have hands-on experience.
(edited)
Finally, you should experiment and iterate with different cloud computing options and configurations for your AI projects, and measure their impact on your costs and results. You should test different cloud service providers, resources, data, and AI tools, and compare their performance, quality, and efficiency. You should also monitor and evaluate your cloud AI costs regularly, and make adjustments as needed. By experimenting and iterating, you can find the optimal balance between your cloud AI costs and benefits.
-
Ivan Verges
Software Engineer | QA Automation Engineer | Founder @ AI Dominicana
When working with cloud computing, it's good to test features and compare the performance and costs, so you can make the right choice when deploying something there. A common way to experiment is to use the free tiers some cloud providers gives us to test and learn, this way we don't spend a lot of money to find out how some service work and how we can use it for our usecase. Also we should experiment with our model, analyze we're using the right data and the right algorithms to create a better model, and reduce costs by deploying efficient models.
-
Brian L. Keith
Data, AI & Cloud Leader | Azure Cloud | I help government leaders to digitally transform the way they operate and deliver services.
I recommend you leverage cloud provider monitoring and optimization tools, such as AWS Cost Explorer, Azure Cost Management, or Google Cloud’s Cost Management Tools, to identify opportunities for cost reduction.
-
Jyotishko Biswas
Solves Business Problems using AI | AI Leader | 17+ years exp. in AI | Experienced in Generative AI & LLMs | Guest Speaker on AI - IIM, JK Lakshmipat University etc. | Deployed enterprise-wide AI solutions | ex Deloitte
We should use business understanding and intuitive methods to reduce iterations for deciding final independent variables in model, final hyperparameters etc. Sometimes what we do is use brute force where we try lot of combinations of hyperparameters and check for accuracy of all combinations and then select the final hyperparameters. This can be expensive, instead using intuition and knowledge, one can reduce the combination of hyperparameters being tested and hence reduce computational cost.
-
Svetlana Makarova, MBA
Top Artificial Intelligence Voice | AI Product Strategy & Implementation Advisor | I help founders & executives adopt AI in their business
It's important to align your strategy and requirements with the cloud services that will enable your solution. You can either right-size the services for your needs, so you're not overpaying for unused power. Or, use auto-scaling to adjust resources based on demand. It is just as important to monitor usage and set alerts to avoid surprises. Continuously review and optimize as your AI requirements evolve.