Volunteers (hangs around EngineersMY slack)
engineers.my
Monthly meetup announced on meetup.com
Slack us in #meetups
to volunteer / speak
DevKami curated meetups: devkami.com/meetups
200k call recordings stored in insecure S3 bucket
ArticleAWS celebrates Labor Day weekend by roasting customer data in US-East-1 BBQ
When the power went out, and backup generators subsequently failed, some virtual server instances evaporated – and some cloud-hosted volumes were destroyed and had to be restored from backups, where possibleArticle
@PragmaticAndy
AWS had a power failure, their backup generators failed, which killed their EBS servers, which took all of our data with it. Then it took them four days to figure this out and tell us about it.
Reminder: The cloud is just a computer in Reston with a bad power supply.
Intermittent ssh connection errors
at average 300 connections/sec
ArticleMaxStartups
logs being breached and connections being dropped due to that)balance source
were used, with no comments to why. They didn’t need session-stickiness for SSH so there’s no reason to use that config. They changed it to balance leastconn
)MaxStartups
to 250 and increasing rate-limit, drove the connection error down to 0.001%. Deploying the balance leastconn
change, all connection errors went away)SD
(S=aborted/refused by server, D=session in DATA phase) and bytes read 0)But the biggest lesson is that when large numbers of people schedule jobs at round numbers on the clock, it leads to really interesting scaling problems for centralized service providers like GitLab.
If you’re one of them, you might like to consider putting in a random sleep of maybe 30 seconds at the start, or pick a random time during the hour*and*put in the random sleep, just to be polite and fight the tyranny of the clock.
Coldstarts
Coldstarts Avg in ms
Init in ms
2018 vs 2019
Improvement 2018 vs 2019
Warm in ms
Ledger database.........
Siteomerh/awsctl
Control AWS infrastructure easily from cli
# Get all EC2 events from all regions
awsctl get ec2 events -r all
# Delete all unused EBS in all regions
awsctl delete ebs --region all --yes
# Set cloudwatch logs with no expirey to 14 days expiry
awsctl set cloudwatch --region all --retention 14 --yes
Site
is an open source language, with a rich set APIs and tooling, for defining, generating, and validating all kinds of data: configuration, APIs, database schemas, code, … you name it.
Site
### Configuration
Managing text-based files to define a desired state of a system.
### Data Validation
Validate text-based or programmatic data.
### Schema Definition
Defining schema to communicate an API or standard.
### Code Generation and Extraction
Converting CUE constraints to and from definitions in other languages.
### Querying
Find data matching certain criteria.
### Scripting
Make static data come to life.
GoAccess - Visual Web Log Analyzer
Live Demo | Site