Take the role of the cloud engineer who moves a council's permits API to Amazon ECS on Fargate: a VPC whose workloads have no internet route, Aurora PostgreSQL Serverless v2 behind RDS Proxy with IAM authentication end to end, ECS blue/green releases with a Lambda hook and an alarm that roll a bad release back on their own, expand-and-contract migrations, scaling that survives releases, and all of it as four AWS CDK stacks in TypeScript.
Cloud Engineer - AWS. Advanced.
For cloud engineers who use the AWS console and CLI, know VPCs, security groups and load balancers at associate level, and read TypeScript and SQL, and want to run a container service on ECS Fargate with Aurora Serverless v2 behind RDS Proxy and no database password, a network with no internet route, and blue/green releases that roll a bad release back on their own, all as AWS CDK stacks.
Before the first command, three questions need a definite answer: do you know enough to follow the lessons, does your machine have the right tools, and may your AWS identity create what the project creates? This lesson answers each with a check you can run. It also says what the project teaches, so you know which gaps are expected, and what the lab deliberately never does.
Merrowdale's digital team inherited a permits API with five recurring incidents: bad releases that nobody could withdraw quickly, a database password copied to laptops, connection exhaustion on renewal day, an internet route from the subnet that holds residents' data, and logs that vanished with the instances. This page explains the platform built in answer to them as one connected system: what lives where, how a resident's request travels, who is allowed to do what, how a re
Everything in this platform, from the VPC to the alarm that rolls a release back, is written as TypeScript and turned into AWS resources by the AWS Cloud Development Kit. This lesson explains what the CDK actually produces, how a TypeScript object becomes a resource, and why this app is four stacks rather than one. It assumes you can read TypeScript classes and know what a CloudFormation stack is in outline; it explains the rest.
The audit finding was specific: the subnet holding residents' data could reach the internet through a NAT gateway, used only for package updates and pulling images. This lesson builds the answer, a VPC in which the tasks and the database have no route to the internet at all, and explains how a Fargate task can still pull its image, write its logs and accept an operator's shell. You need the VPC basics from the prerequisites: subnets, route tables, security groups.
On the old platform, the API was a process on two hand-built instances, released by copying files over SSH. Here it is a container image that Amazon ECS runs on AWS Fargate, with no instance to patch or log in to. This lesson builds up the ECS vocabulary in the order the pieces depend on each other, then reads the project's task definition and service. It assumes you can build and run a container with Docker.
The council's database was PostgreSQL on an instance sized for renewal day and idle the rest of the month. This lesson explains Amazon Aurora, then what "Serverless v2" changes about paying for and sizing its compute, and why this project's cluster has a floor of half a capacity unit rather than zero. It assumes you know PostgreSQL as a user; it does not assume you have run Aurora.
Two entries in the incident log meet here: too many clients on renewal day, and a database password copied to places it should never have been. This lesson explains how a connection pool in front of the database answers the first, and how IAM database authentication, used at both ends of that pool, removes the password from the application entirely. It assumes you know what a database connection and a transaction are, and how an IAM policy grants an action on a resource.
The application has no password, but the database still has one: its master user's, which creates the application's roles in the first place and is the way back in if IAM authentication is ever misconfigured. This lesson follows that one credential: where it is kept, the only two pieces of code allowed to read it, and how it changes every thirty days without anyone noticing. It assumes the previous lesson.
A blue/green release runs the old and the new version of the API side by side against one database, and a rollback hands the database back to the old version. This lesson explains how the schema changes without breaking either: migrations as numbered files applied by a one-off task before the release, and the expand-and-contract discipline that keeps every change compatible in both directions. It assumes you know SQL tables, constraints and transactions.
The first incident in the log was a release that reached every resident at once and took forty minutes to withdraw. This lesson explains how ECS's built-in blue/green deployments prevent both halves of that: the new version is started beside the old one and tested on its own before residents reach it, and the old version keeps running until the new one has proved itself under real traffic. It assumes the ECS lesson and the architecture's request path.
A release can go wrong in ways that are visible at once and in ways that only show under real use. This lesson compares the three automatic exits a release has in this platform, what each one catches, how long residents are exposed in each case, and what no rollback can undo. It assumes the blue/green lesson.
Renewal reminders go out on the first of the month and traffic rises about twentyfold for three days. On the old platform someone added capacity by hand. This lesson explains how the service adds and removes tasks on its own, why it scales on requests rather than CPU, why the obvious request metric would stop working after the first release, and how the database follows. It assumes the ECS, Aurora and proxy lessons.
The last incident in the log: nobody could say which build served a request, and the logs lived on instance disks that were replaced when an instance failed. This lesson covers where every signal in the platform goes and how to use it: logs that name the release and the task, metrics from the load balancer, the service, the proxy and Aurora, one dashboard, the alarm that gates releases, and ECS Exec for the rare moment you need a shell. It assumes the earlier lessons.
"Serverless" databases and containers that scale suggest a platform that costs nothing when nobody uses it. This one costs about half a dollar an hour while idle, and almost none of that is the containers. This lesson works through where the money goes, why each item is there, what a team could trade, and how to check the figures for yourself. Every figure is an on-demand price for the Asia Pacific (Mumbai) Region, taken from AWS's published price lists between September and
The lab makes a few deliberate simplifications so that it can be built, exercised and destroyed in an afternoon. Each one is listed in the cdk-nag acknowledgements or in the lessons, and each has a production answer. This lesson collects them, says what changes in the code, and what each change costs. None of it is something you deploy in this project; it is what you would put in front of a team that wanted to run the platform for real.
This runbook takes an AWS account with nothing of this project in it to a running permits API, three releases through ECS blue/green, two releases withdrawn automatically, and back to nothing. It has seven milestones; cleanup follows the last one, and is linked from every milestone that creates something billable, so you can stop and remove everything at any point.
Most failures on this platform are quiet. A task that cannot reach an AWS service times out rather than erroring; a security group drops packets without answering; a release that fails is rolled back automatically and leaves residents unaware. Diagnosis is therefore mostly about knowing where each component writes down what it did. The scenarios are written as an interviewer would pose them. This page is how to practise them.
An interviewer who hears "I built an ECS service with blue/green and Aurora" will spend the next twenty minutes finding out whether you know why each piece is there. The questions are written to rehearse exactly that: what the design does, why it was chosen over the obvious alternative, and what would change if a constraint changed. This page is how to use them.
Everything this project creates in AWS belongs to one of four CloudFormation stacks, plus the CDK bootstrap stack from milestone 2. Destroying the four stacks removes every billable resource. This page does that in the right order, explains why it takes over half an hour, proves the result with a check that looks for each kind of resource directly, and shows how to remove the bootstrap stack if nothing else in your account uses it.
Nothing in this milestone touches AWS or costs anything. It makes sure that the commands in the next six milestones will run, and that they will run against the account you mean.
The CDK deploys through CloudFormation, but it needs a few things in your account first: a bucket to upload the Lambda functions' code to, and roles to deploy with. That set is the bootstrap stack, CDKToolkit, created once per account and Region and shared by every CDK app there.
This is the slow, expensive and rarely changed half of the platform: the VPC with no route out, the VPC endpoints, the ECS cluster and the image repository in the foundation stack; Aurora Serverless v2, RDS Proxy and the master secret in the data stack. Billing starts here.
The first release puts the API on the platform: the image is built and pushed, the schema is created by the migration task, and the service stack creates the load balancer, the service and everything around it. At the end a request from your machine reaches Aurora through the load balancer, a task and the proxy, without a password anywhere.
Release 1.1.0 adds EV charging bays to the zone list, on a column added by migration 2. This is the first release with a version already serving, so ECS runs every stage of its blue/green deployment, and you can watch two versions answer at once.
Two releases go wrong here, on purpose, in two different ways, and ECS withdraws both without you touching anything. Between them, the good release 1.2.0 goes out.
The platform is now at release 1.2.0. This milestone does the things an operator does on an ordinary day: rotates the master password, opens a shell in a running task, lets the service scale out under load, and reads the dashboard and the logs to explain what happened in the earlier milestones.
Every billable resource this project created belongs to one of the four stacks. Destroying them stops the charges; the leftovers check proves it. If you created the CDK bootstrap in milestone 2 and nothing else uses it, it can go too.
Learning Access: INR 199 plus 18% GST. Source Pack: INR 399 plus 18% GST. 90 days of online access. No auto-renewal.
This project creates billable AWS resources in your own account: RDS Proxy, Aurora Serverless v2, VPC interface endpoints, an Application Load Balancer, Fargate tasks, Lambda functions, Secrets Manager and CloudWatch. While the stacks exist they cost about 0.5 USD per hour at on-demand prices in the Mumbai region whether or not the API is used (roughly 360 USD for a month left running); prices differ by region and change over time. AWS charges are billed by AWS and are separate from project access. No alarm in this project limits spending: destroy the stacks when you finish and check that nothing is left. The council, its residents and its permits are fictional and synthetic. This is a learning reference, not a hosted service or a production deployment.
Vectametric Project Source Licence (2026-09-27): lawfully obtained source may be copied, modified and deployed for personal learning and interview preparation, including personal portfolio demonstrations with attribution. These permissions continue after online access expires. Do not resell or redistribute the Source Pack or its original source files, unchanged or modified. Commercial or client production use requires separate written permission. Third-party components, such as the AWS CDK, Node.js, Fastify, node-postgres and the AWS SDK, retain their own licences. See LICENSE.txt and the Project Source Licence section of the site Terms for the full rules.
You can read the project material without deploying it. Running a cloud build requires the accounts, permissions and tools listed in that project's prerequisites. Deployment runs in your environment, not in a hosted Vectametric lab.
Yes. Learning Access includes the online source-file browser and explanations. The Source Pack adds the downloadable reference repository where available. The project's licence governs use of the source.
No. Cloud and CI usage are separate. Read the project's cost notice, set a budget and stop deadline, and follow its destruction and leftover-resource checks.
The project curriculum lists the available scenarios and interview topics. These focus on understanding the architecture and explaining decisions; they are not a promise of particular interview questions or a job.
The project page and checkout show the online access period for your selected plan. Access does not auto-renew. Downloaded source remains subject to its licence; future releases are not automatically included.
Review the Terms and No-Refund Policy before confirming access. All sales are final; Vectametric does not offer refunds.
Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy