16 min read
AWS IAM policies: follow the request, find the Deny
Animated AWS IAM walkthroughs explain policy types, permissions boundaries, KMS, cross-account access and why one matching Deny overrides every Allow.
Aesthetic Infra is where developers, and anyone curious about systems, learn infrastructure by doing: read a clear explanation, check what you understood, then practice it in a lab.
From the article: Speeding up EC2 and Lambda boot time
A cold start builds an environment and runs INIT before your handler. In this example the user waits about 2.5 s, and 1.8 s of that is INIT.
INIT repeats on every new environment, so it is the part worth removing.
Read the full articleTraffic jumps five-fold at 9 a.m. Which setting takes INIT off the first request without changing code?
Measure one cold start, then take INIT off the request path for the live alias.
aws lambda invoke --function-name tickets-api out.jsonaws logs tail /aws/lambda/tickets-api | grep REPORTREPORT … Duration: 200.00 ms … Init Duration: 1800.00 msaws lambda put-provisioned-concurrency-config \ --function-name tickets-api --qualifier live \ --provisioned-concurrent-executions 5Not run yet
Each article covers one stop on the path a request takes, from the user's device to the code that answers it. Pick a stop to see what it covers.
Where the request enters AWS. Caching and the global network decide how long the trip from the user takes.
Questions it answers
Article: AWS acceleration: pick the right service for the slow leg
Four ways to learn on Aesthetic Infra. Articles are open today; questions, labs and discussion are in development.
Guides on cloud, networking and infrastructure that explain how things work underneath, not just which buttons to press.
Browse articlesAvailable
Short questions after each topic, each with the reasoning behind the answer, so you know what you actually understood.
In development
Tasks you complete directly on the platform, with checks that tell you when your setup works.
In development
Ask and answer questions under each topic, and publish your own articles for others to learn from.
In development
Every article is published in English and Vietnamese.
16 min read
Animated AWS IAM walkthroughs explain policy types, permissions boundaries, KMS, cross-account access and why one matching Deny overrides every Allow.
14 min read
Six AWS acceleration services — CloudFront, Global Accelerator, S3TA, VPN, DAX, ENA/EFA — chosen by the slow leg, caching and protocol.
16 min read
How to shorten Lambda cold starts and EC2 scale-out time with SnapStart, Provisioned Concurrency and warm pools, plus where each one stops working.
Pick an article and read it end to end. Questions and labs for each topic will open here as they are ready.