- Let's make Cloud ☁️
- Posts
- Let's make Cloud #59: Import entire applications into AWS CloudFormation, Hyperscale and Low Cost Serverless Functions at Meta, Hosting a Headless Hashnode UI on AWS Amplify
Let's make Cloud #59: Import entire applications into AWS CloudFormation, Hyperscale and Low Cost Serverless Functions at Meta, Hosting a Headless Hashnode UI on AWS Amplify
Import entire applications into AWS CloudFormation, Hyperscale and Low Cost Serverless Functions at Meta, Hosting a Headless Hashnode UI on AWS Amplify
Hello CloudMakers!
Today we shall see:
Import entire applications into AWS CloudFormation
Hyperscale and Low Cost Serverless Functions at Meta
Hosting a Headless Hashnode UI on AWS Amplify
Enjoy!
Import entire applications into AWS CloudFormation
This week, the talk of the town in the AWS universe is the unveiling of the Infrastructure as Code (IaC) generator and CDK Migrate. The IaC generator simplifies the transition of existing AWS resources into code, automating the creation of CloudFormation templates by scanning for resources and their interconnections within an AWS account. For those who lean towards programming, CDK Migrate brings this concept into the realm of the AWS Cloud Development Kit (CDK), allowing for infrastructure management using familiar programming languages.
After years of moving away from ClickOps and manual configurations, and passionately advocating for the adoption of IaC principles, we find ourselves circling back to the console… 😅
XFaaS: Hyperscale and Low Cost Serverless Functions at Meta
Ever wondered how serverless computing works at a large scale? Meta's XFaaS offers an insight, handling trillions of calls daily on over 100,000 servers. It addresses challenges such as load spikes, fast function startups, global load balancing without data center overload, and maintaining efficient resource use to control costs.
XFaaS consists of submitters, load balancers, a durable queue (DurableQ), schedulers, and worker pools. Functions are triggered by queues, events, or timers, and managed based on priority, deadlines, and resource availability. The system uses time-shifted computing to run functions during less busy times and cooperative JIT compilation to share code optimizations across workers. It also implements backpressure to prevent overloading, especially with downstream services. A very interesting read!
Hosting a Headless Hashnode UI on AWS Amplify
As some of you may know, my blog is hosted on the Hashnode platform. It's a great product, and for those interested, it offers the possibility to install a customized version.
In this article, the author shared their experience of setting up their personalized version of Hashnode on AWS Amplify. This move was driven by the desire for more customization options than what standard Hashnode features provided, such as inserting sponsor links or integrating a custom store with Stripe. The journey detailed in the article from adapting the standard Hashnode platform to a unique setup on AWS Amplify involved overcoming challenges like migrating away from a monorepo setup and making the system work seamlessly with AWS Amplify's capabilities.
Thank you for reading my newsletter!
If you liked it, please invite your friends to subscribe!
If you were forwarded this newsletter and liked it, you can subscribe for free here:
Have you read an article you liked and want to share it? Send it to me and you might see it published in this newsletter!
Interested in old issues? You can find them here!