AWS Solutions Architect Project (Cost Optimization Pillar) – Automated Cost Management – Part 4

In this final part, we will execute the CostGuardian cleanup automation, which helps identify and remove unused AWS resources, such as unattached EBS volumes, unassociated Elastic IPs, and optionally **idle EC2 instances,**to reduce unnecessary spend. We’ll also apply S3 lifecycle policy to automatically transition old objects to cheaper storage tiers over time. All steps prioritize cost optimization and manual control through approval-based workflows.

AWS Solutions Architect Project (Cost Optimization Pillar) – Automated Cost Management – Part 3

We will start automating the resource cleanup by setting up necessary infrastructure such as creating an IAM Role and IAM User for automation access, defining an SSM Automation Document that performs the cleanup actions, and setting up an SNS Topic to notify the users about resources being deleted. These steps ensure the cleanup process has the right permissions, execution logic, and visibility before we actually run it.

AWS Solutions Architect Project (Cost Optimization Pillar) – Automated Cost Management – Part 2

After setting up a wasteful resource, in this part we will approach the cost inefficiencies systematically using both immediate checking and data-driven analysis. This mirrors real-world cost optimization where some waste is immediately visible, while deeper insights require time and proper monitoring tools.

AWS Solutions Architect Project (Cost Optimization Pillar) – Automated Cost Management – Part 1

As the good AWS architecture has to be efficient in terms of operational cost, in this project we’ll simulate on how to build a workflow to detect unused resources, recommend cleanup actions, and remove them safely with proper governance. We’ll start by deploying a wasteful AWS environment built via CloudFormation template and fix the cost leaking that caused by it.

managing robots txt file for sfcc b2c commerce

Managing Robots.txt Across Salesforce B2C Commerce Environments

In the world of e-commerce, visibility is everything. But what happens when search engines index the wrong version of our site? Imagine a potential customer clicking a Google link, only to land on an unstable sandbox with test-mode payment gateways and an incomplete product catalog. Not only does this create a poor user experience, but it can also destroy trust and cost you real revenue.

AWS Solutions Architect Project (Performance Efficiency Pillar) – Serverless Application – Part 4

In this part, we are going to expose our Lambda functions via API gateway as REST endpoints to allow external applications interact via HTTP requests. In essence, API gateway is the main door for our serverless endpoints while it provides unified interface for all API requests and security with its built-in authentication, authorization, and rate limiting.

AWS Solutions Architect Project (Performance Efficiency Pillar) – Serverless Application – Part 3

Now we are going to create the core components of our serverless application that consists of 2 parts: the Lambda layer and the Lambda functions. The purposes of using Lambda layers are to reduce package size as it share common dependencies across functions while being cacheable to avoid any redeployment.

AWS Solutions Architect Project (Performance Efficiency Pillar) – Serverless Application – Part 1

Performance efficiency pillar focuses on using computing resources efficiently to meet system requirements and maintaining that efficiency as demand changes. This pillar is about delivering the right level of performance without over-provisioning or under-utilizing resources. In this project, we will develop a lightweight (REST API for CRUD functionalities) order management using AWS Lambda, API Gateway, DynamoDB, IAM, and CloudWatch to demonstrate a secure, scalable, and cost-efficient architecture that aligns with performance efficiency pillar.

More posts