Posts

AWS Serverless Architecture

Image
  Building a Modern Serverless Web Application on AWS: Architecture Explained In today’s cloud-native world, serverless architecture has become a game-changer for building scalable, cost-effective, and highly available applications. In this post, we’ll walk through a complete serverless web application architecture built on AWS , using services like Lambda, API Gateway, S3, Rekognition, and more. Here’s the architecture we’ll be breaking down:  Overview of the Architecture This architecture supports both static and dynamic website hosting and leverages serverless compute and storage services for seamless scalability and performance. The key components are: Static Website Hosting The static part of the website—typically HTML, CSS, JavaScript, and assets—is hosted in an S3 bucket , fronted by Amazon CloudFront for global content delivery and caching. Flow: Static website files are uploaded to S3 . CloudFront acts as a CDN, improving performance and reducing late...

AWS VPC

Image
Amazon Virtual Private Cloud (VPC) allows you to launch AWS resources in a logically isolated network. This cheat sheet provides an overview of VPC components and features, along with brief explanations. Networking and IP Addressing                                  CIDR Block : Defines the IP address range for your VPC (e.g.,  10.0.0.0/16 ).                       Private IP : An internal IP assigned to instances within a VPC. Public IP : An internet-routable IP assigned to instances in a public subnet. Elastic Network Interface (ENI) : A virtual network card attached to instances. Elastic Load Balancer (ELB) : Distributes incoming traffic across multiple instances in different subnets. DNS Hostnames : AWS can assign domain names to instances for easier access. Core Components VPC : ...