Cost of Cloud Computing: Virtual Server vs Serverless Model

8 months ago
Cost of Cloud Computing: Virtual Server vs Serverless Model Image

Cloud computing refers to the practice of using a network of remote servers (rather than a local server or personal computer) to host, manage, and process data. The cloud offers numerous benefits from reliability to operational agility to cost effectiveness. About a year ago we expounded on some of the top reasons to choose cloud computing, speaking at a high level of the reasons why many businesses opt to utilize cloud services.

Since that time, clients have asked us for more details about the cost of cloud computing. A valid question, but challenging to answer since “the cloud” isn’t a single entity or type of service, despite what the name suggests. In the same way physical clouds come in different forms (stratus, cumulus, cirrus, to name a few), cloud computing is often broken into different services: IaaS (Infrastructure-as-a-Service), PaaS (Platform-as-a-Service), and SaaS (Software-as-a-Service). And a few years ago, the Functions-as-a-Service (also known as “Serverless”) model entered the scene.

As a result, in order to give insights on the cost of cloud computing, we need to more specifically select a type of service. Due to the relevance to our industry, we decided to compare IaaS costs to Serverless costs in this post. These services are commonly available, and all of the big three cloud providers (Amazon Web Service (AWS)Microsoft Azure, and Google Cloud Platform) offer them.

IaaS – the Virtual Cloud Server

We have been asked, “Does a virtual server mean there’s no actual hardware? And no physical server?” The answer to that question is no. A virtual server runs on an actual, physical server. That physical server, however, is not the one that you have to maintain or pay for in its entirety. The cloud provider is responsible for making sure the physical server is up and running at all times.

Instead, in the virtual cloud server model, you maintain the virtual server as if it were you own piece of equipment. It runs an operating system, and contains database software, a web server, and other applications to deliver your site or services to your customers. You maintain the virtual server by connecting to it remotely over a network. Once connected, the administrator updates software and performs other software maintenance tasks as if the virtual server were a dedicated physical server. Keep in mind that the relationship between the physical server and the virtual server is not one-to-one. A single physical server can run hundreds of virtual servers.

Cost of Cloud Computing: IaaS

In much the same way that costs vary if you purchase your own physical server, the price of the virtual server depends on its storage capacity and the speed of its processors. You pay more for extra data storage and additional processing speed.

For virtual servers, your provider will charge you for every hour the server is running, even if it never receives a request from a customer. If it were a physical computer, imagine that you are paying so long as it is plugged in, even if it isn’t doing much. There is a minimum you will pay each month because the virtual server is reserved for you.

Let’s look at a simple example for what a virtual cloud server could cost per month. Using today’s prices for cloud services from AWS, a virtual server capable of serving a million web page requests per month would cost just under 5 cents per hour. The total per month would be about $34. In this example, you’ve reserved that space on the virtual server expecting about a million hits on your page in a month…all for $34.

Serverless Model

Another relevant model of cloud computing is the Serverless model. The folks at devops.com explain this well, stating “’Serverless’ denotes a special kind of software architecture in which application logic is executed in an environment without visible processes, operating systems, servers or virtual machines. It’s worth mentioning that such an environment is actually running on the top of an operating system and uses physical servers or virtual machines, but the responsibility for provisioning and managing the infrastructure belongs entirely to the service provider.”

As a result, developers simply write small, focused bits of independent code to accomplish a single task – like handling a login form, or completing a search. The service provider then runs the developer’s piece of code just when a user makes a request for that service. The service provider will automatically allow the appropriate number of these independent tasks to run simultaneously to meet demand. Efficiencies are gained because the provider is free to decide how to best utilize its infrastructure to serve requests from all of its clients. For a more detailed and technical explanation of the serverless model, check out this article from Network World.

Cost of Cloud Computing: Serverless

In the serverless model, you pay based on the amount of time that your independent pieces of code run. You are charged by the second of computing power that you use, instead of how much memory and storage space used (as in the virtual cloud server model). As mentioned above, if there is no activity on your virtual server, there is still a monthly “rental” fee because the server is reserved for you whether you use it or not. In contrast, since the serverless service is charged based on its running time, if there is no activity, there is no charge.

Let’s look at a simple example for what a serverless server could cost per month using today’s prices from Google Cloud Platform. Let’s say you add a function (independent piece of code) that takes 1 second to run (like a search on your website) and transfers a modest amount of data back to the user (about 1/10 of a MB). That function runs 1 million times in a month due to user requests. The charge for that month would be just under $11.

Which is right for you?

Serverless services are often better for very large scale applications where you want to put the responsibility for meeting demand for your services in the hands of Amazon, Microsoft, Google, or whoever you choose as your cloud provider. With a serverless model, the services provided can scale globally without any action on your part. Your provider does all the work as your business grows. Further, it may be more affordable for some large scale applications. In our simple example above, the monthly price difference between the two models is under $25, but with a large scale application that $25 would be multiplied many times based on user activity.

With the virtual server model, you can still expand and scale as your business grows, but it requires you to maintain the virtual server. You have to consciously increase the storage capacity and tell it how to handle the increased volume. It is, though, a good solution if you have long tasks running on the server, as they can become expensive in the serverless model. Likewise, since a service provider may run software for several different customers on the same physical server, there can be challenges with bugs from “neighbors” impacting the availability or performance of you application. This can be a problem if you are working with sensitive data.

It’s hard to evaluate any service in general terms, which is why it’s so important to work with an app developer who understands the options and can provide salient advice. If you have an idea you’re considering, we’d love to help you think through it. Please get in touch.

Let’s build something together

Have an idea? We help clients bring ideas to life through custom apps for phones, tablets, wearables, and other smart devices.
Recent Posts

Technology

Top 10 Tech Disruptions Over the Past 10 Years

Technology is changing at such a rapid pace that we have seen many tech disruptions in a relatively short time.  A “disruptive technology” could be defined as one that displaces an established technology, thereby shaking up an industry and reshaping its future trajectory. A tech disruptor could also be a ground-breaking product that creates an entirely new industry.  Join our drive down the technology superhighway as we rediscover the top tech disruptions over the past 10 years and dive into what’s next. 2014: Amazon Echo Brings the IoT Home Amazon Echo barreled into our lives this year, causing us to rethink how we might use technology in our homes. Powered by Amazon’s voice control system Alexa, the Echo started with just a few intelligent voice commands. Alexa now boasts thousands of “skills” and has become the central hub in so-called smart homes, helping to bring the Internet of Things (IoT) to a much wider audience. Followed quickly by Google Home and more recently by Apple HomePod, this technology is sure to continue to grow. 2015: Autonomous Vehicles Inspire Change The autonomous car, aka the self-driving car, is envisioned as one capable of sensing its environment and navigating without human input. The quest to develop technologies that could enable such a feat began to rise in 2015. Consumers have benefitted from numerous changes in car technology (think adaptive speed tech, proximity sensors, guidance systems, etc.) as manufacturers began pursuing this vision. This dramatic reshaping of the automotive industry certainly deserves a call-out. 2016: Oculus Rift Opens Up Virtual Reality Virtual reality (VR) as a concept has been around for decades and offers increasing value in everything from military training to surgery simulation to product development and testing. Although Google had been selling Google Glass prototypes since 2013, VR’s availability to consumers was limited until the introduction of Oculus Rift in 2016. With its launch, VR exploded into many homes. The system was a hot gift and introduced the concept of VR to a broader audience—it’s hard not to enjoy (or laugh with?) someone experiencing VR for the first time! 2017: AI Takes the Stage Artificial intelligence (AI) is a science-fiction trope brought to life. With numerous large companies investing billions of dollars on research in this field, it’s poised to influence how we live and work in the coming years. Applications include everything from automating tasks using bots to enabling computers to answer complex, multi-tiered questions by “learning” from previous queries. 2018: 5G Begins Its Rollout As connectivity became more ubiquitous, fast and reliable internet demand increased. It’s not enough to watch a streaming movie in the middle of nowhere—it has to be smooth! Beginning in 2018, 5G promised to bring more channels for higher speed, lower latency, and greater bandwidth for more connected devices. But 5G wasn’t exciting for smartphone fans only: the benefits had implications for healthcare, education, smart homes, connected cars, and more. 2019: 3D Printers Revolutionize the 4th Industrial Revolution Although the technology and equipment for 3D printing were available in the mid-1980s, 3D printing was imprecise, bulky, and costly. Thirty years later, 3D printing made it to the mainstream as a disruptive technology. This disruptive technology appeared in 2019 as part of predictive maintenance in manufacturing. Smart sensors helped identify potential problems, and 3D printers built new parts before needing to be needed. 2020: Passwordless Authentication Hits Big Tech For many of us, forgetting our passwords is a daily occurrence, but those days may be behind us, thanks to the push for passwordless authentication in 2020. While the world stood still during the COVID-19 pandemic, big tech companies like Microsoft began to push for two-factor authentication and passwordless logins, and an identity management startup called Beyond Identity launched its passwordless identify platform in April. Companies like Adobe and Facebook began utilizing new security features to give us the luxury of forgetting those complicated passwords. 2021: IoT Builds the Virtual World Technology automation through IoT didn’t begin in 2021, but this year brought a boon for intelligent everything. The IoT connects objects in the real world—navigation systems, thermostats, your virtual assistant, Alexa—with virtual identifiers on the internet. These identifiers “talk” virtually to create a web of connections and collaborations between the devices. Although IoT has been used in home-based applications, 2021 brought the technology to new areas, including manufacturing, mining, and healthcare. 2022: ChatGPT Redefines Human-Computer Interaction In 2022, ChatGPT emerged as the undeniable frontrunner and the most influential tech disruption of the year. Developed by OpenAI, this groundbreaking language model harnessed the power of the GPT-3.5 architecture to revolutionize human-computer interactions. With its ability to understand context, generate coherent responses, and adapt to users’ needs, ChatGPT transcended traditional chatbots, becoming a sophisticated conversational AI companion. Its applications spanned diverse industries, from customer support to creative writing, education, and even healthcare. As ChatGPT continuously learned and evolved, it showcased the transformative potential of artificial intelligence, leaving an indelible mark on the technology landscape of 2022 and beyond. 2023: Apple Vision Pro Unleashes the Power of Spatial Computing In 2023, spatial computing, specifically the Apple Vision Pro, emerged as the pinnacle of technological disruption, revolutionizing how we interact with digital information. Years earlier, Apple’s visionary smartwatch had cemented Apple as the leader in wearable technology. In 2023, the Apple Vision Pro promises to enable users to seamlessly integrate virtual elements into their physical surroundings, unlocking unparalleled immersion and productivity. We can now see a future where the days of limited screen real estate are gone; users can effortlessly interact with a vast array of applications and data in a three-dimensional, contextually aware environment. This leap in spatial computing may solidify VR’s position as an indispensable tool and open up new frontiers in communication, productivity, and entertainment, forever changing the way we perceive and interact with technology. What’s next? Tech disruptions in the 21st century have transformed our reality into a digital-first experience. Technology is changing faster than ever. Backed by a confluence of all these giant leaps forward, the future is a brave new world. Our predictions for what’s next include: Prediction 1: Quantum Computing Revolutionizes Data Processing Quantum computing is poised to shatter the boundaries of traditional computing capabilities. With its ability to leverage quantum mechanics principles, it will handle complex problems at speeds that were once deemed impossible. Industries such as pharmaceuticals, logistics, and cryptography will see groundbreaking advancements, leading to accelerated drug discovery, optimized supply chains, and next-level data security. As quantum computers become more accessible, researchers and innovators will unlock the potential for solving real-world challenges that were previously impossible. Prediction 2: Hyper-Automation Transforms Workforce Efficiency Hyper-automation is revolutionizing the business world with advanced technologies like AI, machine learning, and robotic process automation (RPA). By automating complex processes, companies can boost productivity, streamline operations, and free up time for creative and strategic initiatives. This transformational trend empowers workers through upskilling and reskilling, leading to a promising future where technology complements human expertise for greater success. Prediction 3: AI-Driven Personalization Enhances User Experience As AI continues to integrate deeply into our digital lives, offering personalized experiences across platforms becomes the new norm. Users are already encountering tailored content, services, and product recommendations that cater precisely to their preferences in e-commerce, entertainment, content consumption, and even healthcare. However, this era of heightened personalization is also bringing data privacy and ethical AI usage to the forefront, driving the need for responsible AI development and regulation to ensure user trust and societal well-being. More Transformative Digital Solutions At InspiringApps, we’re passionate about harnessing the power of tech’s newest disruptions to create transformative digital solutions. More than that, we’re thrilled to collaborate with our clients’ brilliant ideas and make them a reality. Could your digital product idea be the next big thing in your industry? See how we helped Fidelity National Financial create a transformative solution for the real estate industry with their award-winning product, inHere.

9 days ago

Webinars

Building an Inspiring Business Using AI & Automation

CEO Brad Weber of InspiringApps joined Adam Torres on the Mission Matters Podcast to announce his new book and dive into InspiringApps’ latest insights on the business applications of artificial intelligence. The discussion explores challenges and lessons learned in growing a company, emphasizing the significance of a strong team and strategic decision-making, and predicting the future of AI from revolution to best practice. Watch the Podcast Key Takeaways AI & Automation AI is transforming how we create solutions. Artificial intelligence (AI) has become a significant force in our lives, particularly through our mobile devices. AI can predict our routes and provide traffic information, making it a useful tool for automation and more.  Representing one specific type of AI, ChatGPT has gained popularity because of its ability to generate content. However, there has been a backlash due to concerns about copyright infringement. Despite this, companies like InspiringApps are finding ways to integrate generative AI capabilities into products, creating more targeted solutions for consumers. We need to approach AI implementation thoughtfully. Overall, AI presents both opportunities and challenges for businesses, and it’s crucial to approach its implementation thoughtfully. While some see potential benefits, others worry about job security. For example, starting out as a copywriter in this space may be challenging, as entry-level positions could be affected.  Large companies initially reacted with fear to ChatGPT, but now they are seeking guidance to understand the technology better and implement best practices within their organizations. Building an Inspiring Business Complex business challenges are no match for inspirational leadership. In his chapter of the new book, Brad discusses the challenges and importance of growing a successful company and cultivating a winning culture. He emphasizes the need for a strong team and a solid organizational structure. The concept of “team” is crucial to Brad. He has found that having a cohesive leadership team and solid continuity across all roles in the organization is essential. InspiringApps invests in meeting its team’s needs and involving everyone in decision-making, making it a great place to work and keeping turnover low. Brad also addresses the idea of creating cool stuff for clients versus building a real business. He shares a personal story about being “slapped with a backhanded compliment.” In this experience, Brad came to realize the need for long-term sustainability and formalizing roles for success. InspiringApps is as nimble as a startup but as mature as an enterprise when it comes to app development capabilities. As the company continues to grow, the team recognizes the importance of understanding its strengths and bringing value to clients, whether they are startups or large enterprises. Entrepreneurship & App Development “Despite having many business degrees, I’ve made many business mistakes.” BRAD WEBER, CEO | INSPIRINGAPPS, BOULDER CO Brad shares his experiences and mistakes, hoping that others can learn from them. He believes that learning from both “triumphs and goofs” is valuable. Growing a company is fraught with risk. Cultivating a winning culture requires an employee-based team. A flat org structure will only take you so far. Create cool stuff for clients or build a real business. To get the full story on topics like these, buy the book on Amazon today!

12 days ago

Blog Categories
App Design
App Development
App Marketing
Business & Strategy
Client Projects
Events
InspiringApps News
Mobile Industry
Technology
Webinars