Coca-Cola(Serverless Computing) : A Case Study

Anirudhi Thanvi
5 min readSep 22, 2020

Whenever you feel bad , just remember that Coca-Cola only sold 25 bottles the first year. #Never_Give_up!!!

:Anirudhi Thanvi

On May 8, 1886, Dr. John Pemberton served the world’s first Coca-Cola at Jacobs’ Pharmacy in Atlanta, Ga. From that one iconic drink, they’ve evolved into a total beverage company. In 1960, they acquired Minute Maid. That was the first step toward becoming a total beverage company.

The Coca-Cola Company — with more than 500 brands sold in over 207 countries — runs hundreds of marketing promotions every year. According to Michael Connor, digital marketing platform architect at Coca-Cola North America, this event triggered an internal push to move to the public cloud with Amazon Web Services (AWS).

Do anyone ever thought why AWS??

AWS and Cloud Computing

AWS - Amazon Web Services benefits their user by providing services at the low cost, which do not have any upfront cost. Amazon Web Service is easy to use and the user should not worry about the servers, security, and databases. AWS has several advantages which make users rely on them.
1. It’s easy to use.
2. Flexible
3. Cost effective
4. Reliable
5. Scalable and high-performance
6. Secure
7. Go global in a minute
8. Increase speed and agility and many more…

If you double the number of experiments you do per year you’re going to double your inventiveness !!!

How company accelerated its development — Serverless ?

Earlier back in 2014, The Coca-Cola Company migrated to AWS to reduce costs and increase operational efficiencies. Moving to a DevOps model, The Coca-Cola Company leveraged AWS Elastic Beanstalk to enable its creative agencies to more efficiently deploy applications. The company also used AWS Auto Scaling to optimize performance and costs with its applications, allowing them responding better to sudden influxes of site traffic. By migrating to AWS, The Coca-Cola Company achieved 40 percent operational savings, coupled with an 80 percent reduction in IT help desk tickets due to added automation.

More than 75 percent of our sales are from small stores, and we wanted to find a better way to reach them without having to spend a lot of money on truck deliveries and keeping track of inventory for store managers. They wanted to place inventory closer to consumers while also making ordering and delivery easier and faster. Coca-Cola Argentina decided to move its application development environment to Amazon Web Services (AWS) to quickly create the new application. They wanted to take advantage of the agility and scalability of AWS, and they liked AWS and the way its services are integrated.

Coca-cola went from $13000 per year to $4.500 per year after switching to serverless

Serverless will still have you learn and use a bunch of the same frontend frameworks but it will take away the pressure of doing all the backend, management, plugging of security holes, etc. This will allow you to focus on the app, the UX, UI, and the business logic while everything else will be served on a platter.

Source : Dzone.com

Would you like to know How Serverless exactly works??

Their vending machines that you find around the globe have an integrated communication system with the Coca-Cola HQ. The logic behind the vending machines is very clear. The customer purchases a beverage, the machine calls the payment gateway (which so happens to be a Coca-Cola partner) to verify the purchase which makes a Rest API call to the AWS API Gateway which triggers a lambda.

The AWS Lambda will handle all the business logic behind the transaction. If a user initiated the transaction through a mobile device there’s a 5th step involved which is to do a push notification to their phone submitting the information to Android Pay or Apple Pay.

Another great part of their Serverless execution is that all that correspondence occurs in under 1 second and they possibly need to pay when they have a actual request.

What’s Trending now for Coca-Cola Company?

  1. Creating a New Mobile App for Ordering and Delivery on AWS: After selecting AWS, Coca-Cola Argentina worked with YOPDev to create Wabi, a mobile app for product order and delivery. Wabi runs on multiple Amazon Elastic Compute Cloud (Amazon EC2) instances and uses AWS Auto Scaling to scale up or down depending on user traffic. Additionally, Wabi uses Amazon Simple Storage Service (Amazon S3) for image storage, and the company’s developers rely on AWS CodeDeploy to automate software deployment and AWS CodePipeline to manage its continuous delivery approach.
  2. Delivering products to customer in under 15 minutes : With the Wabi mobile app, Coca-Cola Argentina offers a digital ordering experience that speeds order and delivery time.
  3. Deploying Software Features in Months Instead of a Year : Coca-Cola Argentina is using the agility of the cloud and its automated AWS-enabled continuous delivery pipeline to create Wabi features quickly.
  4. Encouraging other companies to use wabi : Based on the initial success of Wabi and its expansion into new South American markets, Coca-Cola Argentina has made the Wabi ecosystem available to other consumer packaged goods companies in the region, including distributors of food and household cleaning products.

Conclusion !!!

Serverless has been such a major advance forward for The Coca-Cola company that they have made it so when you to have a thought in the company and you take it to the architecture, your thought process idea must be based on Serverless. And same as The Coca-Cola company many of startups and industries are shifted to Public Cloud for Better Maintenance, Scalability and Performance to AWS.

Thank you for giving your valuable time and reading it to the end!!!
I hope you find it helpful and like it.
Just give a clap if you found something interesting here…

--

--