Cost Effective Way of Travelling in the “Cloud”- Quite Literally!!

Saikrishna Annavajjula - Aug 7 - - Dev Community

I came to realize recently that, similarities between cloud computer and award traveling is quite intriguing. As we delve into these realms, we'll uncover how meticulous planning and critical thinking can harness maximum benefits, be it through optimizing credit card points for travel enthusiasts or choosing the perfect AWS services for tech-savvy professionals. Join me as I draw insightful parallels between these seemingly disparate worlds.

Hold on.. lets go in to the details..

The Art of Point Transfers in Award Travel
In the realm of award travel, savvy individuals don't merely redeem credit card points for flights or hotel stays. Instead, they leverage the power of point transfers to enhance the value derived from each point spent. This often involves transferring points to airline loyalty programs or even to partner airlines, where the value per point can be significantly higher than redeeming points directly with the issuing airline.

Drawing Parallels in AWS
Similarly, in AWS, the journey towards cost optimization extends beyond a simple choice between EC2 instances and other services. Just as travelers explore various avenues to increase the value of their points, AWS users should consider a broader range of services and configurations to tailor their infrastructure to specific needs and budgets.

Let me breakdown a scenario

AWARD TRAVEL

Lets assume you have a requirement to embark on a seamless journey from Washington DC to Alaska with a direct flight, departing from an airport of your choice on your chosen dates.

Lets look in to our options.

  • Cash You can take an easy route by spending some $$$ book the most convenient flight..The simplest way to travel with least amount of effort.

Image description

  • CreditCard points Perhaps you're hesitant to spend actual money and would rather utilize credit card points instead. This way, you're not directly spending cash. It requires some effort in strategic planning and selecting a card that offers a superior sign-on bonus. Based on 1 cents per point valuation, you will need 43,000 points.

Image description

  • Airline points May be you do a bit more discovery work and found out that you get even better value if you transfer to airlines which is your credit card’s preferred travel partner. We now need 15K points to travel. Now compare with above two options and this seems to be the cheapest option, yielding us 2.86 cents per chase point.

Image description

You are not done yet.... more research gives you even better value.

  • Partner airline points By transferring the credit card points to a partner airline of united airline, you will travel in same united flight and an exact itinerary. But you only spend 10K points one way. Which yields you a whopping 4.3 Cents value per creditcard point spent.

Image description

Conclusion: By employing strategic thinking, you can optimize the value derived from your credit card points. Utilizing credit card points instead of cash may seem economical; however, maximizing their potential by transferring them to airlines or partner airlines could yield greater benefits.


Lets draw some parallels..


AWS SERVICES

Lets assume you have a requirement of running a web application that processes user requests and performs lightweight data transformations. This application experiences variable traffic, peaking during business hours and dropping significantly overnight.

Example Workload Specifications:
CPU Usage: 1 vCPU
Memory Usage: 2 GB RAM
Traffic Pattern: Variable, with peaks during business hours
Monthly Traffic Volume: Approximately 500,000 requests

  • EC2 INSTANCES
  1. On-Demand
    Probably an easiest and least effort way to spin up and configure your application. Go to console launch and EC2 and configure your app...
    $0.092 per Hour for t3.medium instance = ~$66/month (assuming full month usage).

  2. Reserved
    Perhaps you're hesitant about investing heavily and creating a single point of failure. In that case, consider applying some planning ahead to configure your application to operate on an reserved instance, allowing for not spending as much as on-demand.
    Using EC2 Reserved Instances (1-year term): Assume 40% savings over On-Demand = ~$39.6/month

  • CONTAINERIZE May be you do a bit more discovery work and found out that you can run the same workload in a container running on EKS or ECS and get high availability and scaling.

Image description

Containerize your app and running on ECS/EKS Fargate:
$0.04048 per vCPU-Hour + $0.004445 per GB-Hour = ~$58/month (estimation)

  • SERVERLESS May be you dont want to build a container or maintain an EC2 but you still want to run it as efficiently as it is but even cheaper.

Assume average execution time of 200ms per request at 128MB memory = $0.00001667 per GB-second + $0.20 per million requests = ~$12/month (estimation)

Analysis and Recommendations

Cost Efficiency: For variable workloads with significant traffic fluctuations, Lambda offers the most cost-efficient option due to its pay-per-use model, charging only for actual execution time and memory used.

Predictable Workloads: For applications with predictable, steady-state workloads, committing to EC2 Reserved Instances can offer substantial savings compared to On-Demand pricing.

Flexibility vs. Cost: Spot Instances provide a balance between cost and flexibility, offering lower prices than On-Demand instances but with the risk of interruption.

Containerized Workloads: For containerized applications, both ECS Fargate and EKS Fargate offer simplicity and cost predictability, charging based on actual resource consumption without the need to manage underlying servers.

Conclusion:
The choice of service depends on the workload characteristics and cost considerations for highly variable workloads or those that can benefit from serverless architecture, Lambda is often the most cost-effective.For steady-state applications where cost predictability is crucial, EC2 Reserved Instances offer significant savings.
Spot Instances are suitable for fault-tolerant applications where cost savings outweigh potential interruptions.ECS/EKS Fargate provides a good balance for containerized applications, offering simplicity and scalability without managing server infrastructure.
It's essential to monitor actual usage and costs closely, as AWS pricing models can vary based on region, instance types, and other factors. Additionally, consider using AWS Cost Explorer and Savings Plans for further optimization.

Empowering Decisions with AWS Cost Management Tools

To navigate this complex landscape effectively, AWS provides a suite of cost management tools. These tools offer insights into spending patterns, enabling users to make informed decisions about service allocation and optimization strategies. Just as travelers rely on apps and websites to track rewards and find the best deals, AWS Cost Explorer and Budgets empower users to analyze their cloud spending and identify opportunities for improvement.

Embracing the Journey of Continuous Optimization

The quest for cost optimization in both award travel and AWS is a journey of continuous learning and adaptation. Whether it's mastering the art of point transfers or navigating the intricacies of AWS pricing models, the key to success lies in staying informed, being adaptable, and making strategic choices that align with your goals.

By applying the same level of critical thinking and strategic planning to AWS service selection as you do to award travel, you can unlock significant savings and ensure that every dollar spent—whether in points or cloud resources—delivers maximum value. Remember, the ultimate goal is not just to save money but to ensure that every investment supports your broader objectives and enhances your ability to innovate and grow.

If you have made this far… Thank you for reading!! I would love to hear your feedback, thoughts and comments below..

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player