Sandro Volpicella
Sandro Volpicella
@sandrovolpicella.com
I teach developers about the cloud โ ๐จ๐ฝโ๐ป Platform Lead @hashnode ๐ New Book: https://cloudwatchbook.com โ AWS Fundamentals Book: https://awsfundamentals.com ๐ผ Builds https://kitlytics.com ๐ค AWS Community Builder
822 followers100 following551 posts
It builds the visualization for you. Automatically. This means your documentation actually matches production. Finally. See the setup guide www.youtube.com/watch?v=0Hs...
And it draws the boxes for you. This is the closest we have gotten to self-updating docs. It feels like magic when you see it work. Full walkthrough www.youtube.com/watch?v=0Hs...
By connecting Kiro to our AWS account, we generate maps from ๐ซ๐๐๐ฅ๐ข๐ญ๐ฒ. If the code changes, the map updates. We show exactly how to set this up in our new video. Watch it here www.youtube.com/watch?v=0Hs...
The full list covers more like typosquatting and token management. But if you fix these 6, you are already ahead of 90% of projects. We cover more security best practices here: awsfundamentals.com/newsletter
`npm install` runs scripts by default. This is how malware gets in. Use `--ignore-scripts` to be safe. ๐. ๐๐จ๐๐ค๐๐ข๐ฅ๐๐ฌ ๐๐ซ๐ ๐ฆ๐๐ง๐๐๐ญ๐จ๐ซ๐ฒ If you don't use `npm ci`, you are installing different versions than your team. That breaks things. And it opens security holes.
๐. ๐๐ ๐ ๐ข๐ฌ ๐ง๐จ๐ญ ๐จ๐ฉ๐ญ๐ข๐จ๐ง๐๐ฅ If you maintain a package, enable 2FA. Attackers target maintainers to inject malicious code. ๐. ๐๐๐๐ซ๐๐ญ๐ฌ ๐๐จ๐ง'๐ญ ๐๐๐ฅ๐จ๐ง๐ ๐ข๐ง ๐๐๐ I've seen API keys in published packages too often. Use `.npmignore` to whitelist what you publish.
So when your infrastructure changes, your diagram changes. No more stale documentation excuses. This is how we are doing it now. Link ๐ www.youtube.com/watch?v=0Hs...
2. There is a tiny monitoring cost ($0.0025 per 1,000 objects). So if you have millions of tiny files, stick to Standard. For everything else, let AWS optimize the costs for you. We visualized all the S3 storage classes here: awsfundamentals.com/infographic...
Everyone tells you to move old data to Glacier to save money. But they usually forget to mention the pain. โข Retrieval fees hurt. โข Waiting 5-12 hours for data sucks. That is why I prefer ๐๐ ๐๐ง๐ญ๐๐ฅ๐ฅ๐ข๐ ๐๐ง๐ญ-๐๐ข๐๐ซ๐ข๐ง๐ . It solves the biggest problem with archiving:
For buckets with millions of tiny files (<128KB). Because the monitoring fee per object will eat up your savings. But for logs, media, and backups? It is the best default setting in AWS. We broke down all the storage classes in this infographic: awsfundamentals.com/infographic...
Everyone tells you to move old data to Glacier to save money. But they usually forget to mention the pain. โข Retrieval fees hurt. โข Waiting 5-12 hours for data sucks. That is why I prefer ๐๐ ๐๐ง๐ญ๐๐ฅ๐ฅ๐ข๐ ๐๐ง๐ญ-๐๐ข๐๐ซ๐ข๐ง๐ . It solves the biggest problem with archiving:
8. ๐๐ฎ๐ซ๐ง ๐จ๐ง ๐๐ ๐. This should be non-negotiable for every maintainer. 9. ๐๐ฌ๐ ๐ ๐ซ๐๐ง๐ฎ๐ฅ๐๐ซ ๐ญ๐จ๐ค๐๐ง๐ฌ. Don't use your personal token for CI/CD. Use automation tokens. 10. ๐๐๐ญ๐๐ก ๐จ๐ฎ๐ญ ๐๐จ๐ซ ๐ญ๐ฒ๐ฉ๐จ๐ฌ. `react` is not `rceact`. Typosquatting is real.
Most of these take 5 minutes to set up. But they save you weeks of headaches later. Join 11,000+ devs learning real-world AWS: awsfundamentals.com/newsletter
6. ๐๐ซ๐จ๐ญ๐๐๐ญ ๐ฒ๐จ๐ฎ๐ซ ๐ฌ๐ฎ๐ฉ๐ฉ๐ฅ๐ฒ ๐๐ก๐๐ข๐ง. Consider a local proxy like Verdaccio to control what comes in. 7. ๐๐จ๐ง'๐ญ ๐ฅ๐๐๐ค ๐ฏ๐ฎ๐ฅ๐ง๐๐ซ๐๐๐ข๐ฅ๐ข๐ญ๐ข๐๐ฌ. If you find a bug, report it privately. Don't put it on Twitter.
2. ๐๐จ๐๐ค ๐ฒ๐จ๐ฎ๐ซ ๐๐๐ฉ๐๐ง๐๐๐ง๐๐ข๐๐ฌ. Don't just install. Use `npm ci` or `yarn install --frozen-lockfile` to ensure everyone uses the exact same version. 3. ๐๐ฅ๐จ๐๐ค ๐ฆ๐๐ฅ๐ข๐๐ข๐จ๐ฎ๐ฌ ๐ฌ๐๐ซ๐ข๐ฉ๐ญ๐ฌ. Attackers love post-install hooks. Add `--ignore-scripts` to your install commands.
You can cache specific fields or full queries. No need to spin up a separate Redis instance. ๐ ๐ ๐ข๐ง๐-๐๐ซ๐๐ข๐ง๐๐ ๐๐๐๐๐ฌ๐ฌ Control who sees what. You can use @auth directives to lock down specific fields based on user groups. ๐ฑ ๐๐๐๐ฅ๐ข๐ง๐ ๐๐ฎ๐ฉ๐ฉ๐จ๐ซ๐ญ
AppSync has great SDKs that handle offline data synchronization automatically. Stop the back-and-forth. Let the frontend drive. Grab our full visual guide here awsfundamentals.com/infographic...