Build an order API for a bookseller from managed AWS services: API Gateway validates and throttles requests before any code runs, Lambda and DynamoDB create each order exactly once however often clients retry, a change stream, EventBridge Pipe and SQS queue keep every accepted order safe through a warehouse outage, and CodeDeploy releases new versions gradually and rolls back on an alarm.
Cloud Engineer - AWS. Intermediate.
This project builds an order API for a fictional bookseller from managed AWS services, and along the way teaches each service as it is used. This page says what you should bring, what is taught here, and the small amount of AWS you need before the first lesson: accounts and Regions, how AWS decides who may do what, and how the command line signs in. Everything else, from Lambda to CodeDeploy, has its own lesson.
This project builds an order service for a bookseller from managed AWS services. The API answers within a few hundred milliseconds; a queue then carries each order to a warehouse system that may be slow, down or unwilling. The design makes three promises: an order is created exactly once however often a client retries, an accepted order is never lost, and a bad release reaches only a small share of customers before it is withdrawn. This page explains how the pieces fit togeth
All four pieces of this project's code are AWS Lambda functions, and several of the design's choices only make sense once you know what Lambda does between a request arriving and your code running. This lesson follows one invocation of orders-api from the outside in, then looks at the settings in the template that decide how it behaves.
Every request from a customer's app arrives at Amazon API Gateway first. In this project the gateway does four jobs before any code runs: it checks who is calling, checks the request is shaped like an order, limits how fast requests may arrive, and refuses old encryption. What gets past it reaches orders-api. This lesson explains each of those jobs, how the template switches them on, and what a client sees when one of them says no.
Two kinds of identity meet in this project. People, customers and staff, sign in to Amazon Cognito and prove who they are to the API with a token. Code, the four functions, the Pipe and CodeDeploy, act through IAM roles that say exactly which AWS resources each may touch. This lesson follows a customer's sign-in to the moment orders-api knows whose order it is, then reads the roles that limit what the code itself can do.
The orders, the idempotency records and the warehouse stub's shipments all live in Amazon DynamoDB tables. DynamoDB is fast and cheap when you design the table around the questions you will ask it, and awkward when you do not. This lesson starts from the questions the order API asks, derives the table's keys from them, and then looks at the four DynamoDB features the rest of the design relies on: conditional writes, a sparse index, the change stream and time to live.
A customer on a train taps "Place order". The request reaches the API, the order is created, and the answer is lost when the train enters a tunnel. The app does what a careful client should: it tries again. Without help, the customer now has two orders and receives two parcels. This lesson is about making that retry harmless, first in the API and then at every later step where the same thing can happen.
The warehouse system is slow on a good day, unavailable on a bad one, and sometimes refuses an order outright. If the API called it while the customer waited, every warehouse problem would become a customer's problem, and an order caught in an outage would simply be lost. This lesson follows an order after the API has answered: how it reaches a queue without risking a lost write, how a worker processes queued orders in batches, and what happens to an order the warehouse canno
About fifty AWS resources make up this project, and none of them is created by hand. One file, template.yaml, describes them all; one command creates them; one command deletes them. This lesson explains how: what AWS CloudFormation does with a template, what the AWS Serverless Application Model (SAM) adds on top, how your code gets from your disk into Lambda, and why the project uses two stacks rather than one.
The old order server replaced all of its code at once on every release. A bug in a release reached every customer until someone noticed and released again. This lesson is about the opposite: putting a new version of orders-api in front of a small share of real requests, watching for errors, and moving back automatically if they appear, without anyone being awake.
A customer writes in: "I ordered two books an hour ago and the app still says received." To answer, you need to find that one order among thousands, see which component last touched it, and see what went wrong there. This lesson covers the three kinds of signal the functions produce, how the project ties them to one order, and the alarms and dashboard that tell you something is wrong before a customer does.
The old order server cost the same on a quiet Tuesday as on launch night. A serverless design promises to cost almost nothing when idle and to grow with use. This lesson tests that promise with arithmetic: what one order costs, what a million cost, what the system costs while nobody uses it, and which parts break the "almost nothing" rule. It ends with how to see the real bill.
This guide builds the order API in your own AWS account, checks that one order travels all the way to the warehouse stub, and shows how a new release goes out and how a bad one rolls back. Cleanup removes everything afterwards. Read it before you start: the resources cost little while idle, but they cost something until they are deleted.
Almost every problem in this system shows up as something wrong with an order: there are two of it, it is stuck at received, it is in the dead-letter queue, the customer cannot see it, or a release made it fail. The first useful question is always how far did this order get? The system is built so you can answer that for any single order, and the scenarios practise doing it. Start with the scenario list and pick a symptom.
Building the project is half of being able to talk about it. The other half is explaining why each piece is there, what it costs and what it does not protect against, to someone who will push on every claim. The question list is organised by topic: the architecture as a whole, the request path, asynchronous processing, releases and operations, and security and cost.
Everything this project creates belongs to two CloudFormation stacks: the application stack and the artifact bucket's stack. Deleting them, in that order, removes everything. This page can be used at any point, including after a failed or half-finished deployment, and after the approved window has ended: the guard always allows cleanup.
Before anything is created in AWS, two questions must have firm answers: does the code work, and exactly where will it run? The local checks answer the first without an account. The input file and the guard answer the second, and keep answering it before every later step.
CloudFormation cannot read code from your disk. Before it can create a Lambda function, the code must be in S3, and sam deploy needs a bucket to upload it to. This milestone creates that bucket in a small stack of its own, then writes the settings file the deployment reads.
This milestone creates the whole application from one template: about fifty resources, in a few minutes, with one command. Understanding what sam deploy shows you before you answer y is the point of the step.
A stack that says CREATE_COMPLETE is not yet a working system. This milestone signs in as three users and follows one order through every component, then sends requests the system must refuse.
The run ends when nothing remains, not when the last check passes. Two stacks hold every resource; deleting them in the right order removes everything, and a leftover check confirms it.
Learning Access: INR 199 plus 18% GST. Source Pack: INR 399 plus 18% GST. 90 days of online access. No auto-renewal.
AWS usage is separate from project access. Nothing is billed by the hour for capacity: a deployment and verification session of an hour or two costs a few US cents. Left deployed, the stack costs a few US dollars a month for alarms, a dashboard and the services that keep polling the table's stream and the queue, until the cleanup procedure removes it. The local checks cost nothing. This is a learning reference, not a hosted lab or a production-readiness guarantee.
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 packages downloaded when building, such as Powertools for AWS Lambda, boto3 and fastjsonschema, 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