AWS Tweet-Sized Lessons (@AwsTricks) profile picture

Simple tips and tricks to make your cloud-life a bit easier. Not affiliated with #AWS. All mistakes made here are @RafalWilinski’s fault.

Cloud
Joined January 2020
Don't know which EBS Volume type is suitable for you? 🔥 io1 - High throughput SSD, low latency, best for DBs 🚛 st1 - HDD; big data, warehouses, logs storage, streaming 🥶 sc1 - cheapest, slowest, data accessed infrequently 🚗 gp2 - most workloads, boot volumes, everything else
1
14
AWS Tweet-Sized Lessons retweeted
Even though I'm not a big fan of Offline @dynamodb, I know that it's immensely helpful, especially in the dev & testing phase. I've tried all the setup and usage methods, run through most common problems so you don't have to. Now go ship. dynobase.dev/run-dynamodb-lo…
1
7
2
54
AWS Tweet-Sized Lessons retweeted
Prerelease of @dynobase 1.3.0 is now available! 🚀 Massive perf improvements thanks to Electron 11 , V8 compilation cache, and HTTP(s) connections reuse ✍️ Added "Query Patterns" and "Clear Filters" btn 🐛 Numerous bugfixes Download it from Github - github.com/Dynobase/dynobase…
3
5
33
AWS Tweet-Sized Lessons retweeted
For the last few months, I've been working on a tool that simplifies monitoring and troubleshooting serverless apps. It's called Cloudash. Think of it as a desktop app for AWS, tailored for the serverless use case. Today I've released the 0.1 version: github.com/cloudashdev/cloud… 🧵
13
22
9
196
Onboarding to DynamoDB just got a bit easier.
Lack of SQL support was holding you back from trying @dynamodb? Good news! Now you PartiQL, an SQL-like language to query and manipulate DynamoDB data! 🚀 Dynobase supports this too! Download our latest alpha release and tell us what do you think. github.com/Dynobase/dynobase…
1
AWS Tweet-Sized Lessons retweeted
🚀 Dynobase 1.1.0 is out! 🌍 Added support for Cape Town (af-south-1), Milan (eu-south-1), Bahrain (me-south-1), and Hong Kong (ap-east-1) regions 🚛 Added support for native „Export to S3” 🧮 Fixed bug with importing floats to DDB ⏱️Lowered SSO session refresh interval
3
1
2
16
AWS Tweet-Sized Lessons retweeted
[This Week in #DynamoDB] Issue #19 is here: dynobase.dev/newsletter/ DynamoDB powering US 2020 Census, streaming data from Amazon QLDB, story behind @dynobase and a whole lot more. Featuring @alexbdebrie @moshe_simantov @jeremy_daly @m_lewis @rafalwilinski
5
11
AWS Tweet-Sized Lessons retweeted
On the next episode, Jeremy chats with Rafal Wilinski (@rafalwilinski) about the challenges developers face when using @dynamodb, why it makes sense for apps big & small, why we need more tools like @dynobase to make working with your data easier, and much more. Don't miss it!
1
5
1
22
AWS Tweet-Sized Lessons retweeted
🤔 Struggling to use #DynamoDB with Node.js/Typescript/Javascript? We might have something helpful for you. A compiled list of almost all use cases for modern JS, no callbacks, only good practices. dynobase.dev/dynamodb-nodejs…
7
18
AWS Tweet-Sized Lessons retweeted
🚀 We created a directory of tutorials, articles, courses, tools and code snippets to onboard you with #DynamoDB faster and easier. Enjoy! dynobase.dev/dynamodb-tutori…
1
21
3
52
AWS Tweet-Sized Lessons retweeted
🚀 Just released a draft of new CDK Construct - GolangFunction! #golang Haven't figured out the JSII part yet but works fine with TS stack. npmjs.com/package/aws-lambda…
4
4
1
24
AWS Tweet-Sized Lessons retweeted
[This Week in #DynamoDB] Issue #14 is here: dynobase.dev/newsletter/ What is DAX? How to backfill DDB TTL attributes with EMR? Dynamo + Elasticsearch and a lot more. Featuring @janithakoon @allocatedev @gcornwell @AwsSimplified
3
4
AWS Tweet-Sized Lessons retweeted
[This Week in #DynamoDB] Issue #13 is here: dynobase.dev/newsletter/ DDB JSON Converter Tool, support for empty values is (finally) live, we've launched a new format for the newsletter + a lot more. Featuring @anaida07 @viralpatelnet @mavi888uy @richbuggy @benjamincrozat
6
1
16
AWS Tweet-Sized Lessons retweeted
🥳 Why CDK is awesome? What are the rough edges? 🚀 How I deployed my GraphQL Server with multi-master DDB to +100 locations with less than 100 lines of code? 💸 How much I paid for that? (Hint: zero, thanks to #serverless) Answers + code below 👇 servicefull.cloud/blog/graph…
1
8
27
AWS Tweet-Sized Lessons retweeted
✨ Upcoming post on my blog is going to look SLICK ✨ 🏄‍♂️ Surfing through CDK code to explain globally available GraphQL #serverless infra, stay tuned.
2
5
1
27
AWS Tweet-Sized Lessons retweeted
[This Week in #DynamoDB] Issue #12 is here: dynobase.dev/newsletter/ DDB (Book) goes viral on Hacker News, CQL v/s DDB API, Query v/s Scan + a whole lot more. Featuring @ChloeMcAteer3 @alexbdebrie @dvassallo @jbesw @kpisharodi @rafalwilinski
4
9
Lambda@Edge limits are different depending on the event type. For origin req/res is pretty much the same as regular #Lambda. For Viewer req/res it's much more restrictive: - Memory: 128MB - Timeout: 5s - Size of resp: 40KB - Compr. size of code: 1MB #serverless
6
7
When I'm not tweeting, I'm mostly building stuff like this 👷‍♂️
🚀 Finally managed to deploy Lambda@Edge-based #serverless GraphQL "server" with globally replicated DynamoDB table. Infra under 100 lines of code thanks to CDK! Edge Lambdas are routing to the closest available DDB replica with fallback to us-east-1. github.com/RafalWilinski/edg…
1
8
🔑If you need simple yet secure configuration management, use #AWS SSM Parameter Store If you need some data inside Parameters Store to be even more secure, use `SecureString` datatype If that's not enough, use Secrets Manager. Includes Cross-Account access and Secrets rotation
2
9
If you know your workload won't change you can save up to 80% just by reserving EC2 machines in advance. Purchase one-year or three-year term #AWS Reserved EC2 Instances directly in the AWS console. You can pay all upfront, partially or just on a monthly basis.
⛏ You can use Instance user data to convert your dumb EC2 instances into fully working #Minecraft servers right on start! Just paste this: ``` #!/bin/bash sudo yum install wget java -y wget <MINECRAFT-SERVER-JAR-URL> -O mc.jar java -Xmx1024M -Xms1024M -jar mc.jar nogui ```
5