
Technologist, photographer, husband to @JenniferMcTeag1 and dad. Not always in that order. Opinions are my own, I speak for no one. I do stuff with clouds.
Glasgow, Scotland, UK
Joined June 2008
- Tweets1.4K
- Following396
- Followers139
- Likes1.9K
John McTeague 🏴 retweeted
Well done to our S1-S3 basketball team for a fantastic performance away to Hillhead secondary tonight. @stninianshighpe
It's only been, what 5 years, since I first talked to my AWS account team about this? And that's probably far less than others I know of....
Centrally manage root access in AWS Identity and Access Management (IAM)
Today, AWS Identity and Access Management (IAM) is launching a new capability allowing customers to c... aws.amazon.com/about-aws/wha…
1
3
110
John McTeague 🏴 retweeted
Centrally manage root access in AWS Identity and Access Management (IAM)
Today, AWS Identity and Access Management (IAM) is launching a new capability allowing customers to c... aws.amazon.com/about-aws/wha…
26 mins in the @StarbucksUK queue at new Darnley store and there are still 3 in front of me to get their drinks. Really poor.
1
62
John McTeague 🏴 retweeted
What #JustChangeItBackToHowItWas laws do you want to see eg
"All Salt & Vinegar crisp packets by law should be blue"
"Outlaw all 440ml beer and make them full pints"
"Snickers should be made to be called Marathon again"
Lets make Britain grate again.
John McTeague 🏴 retweeted
Some interesting Saturday afternoon back of the napkin math (well, interesting to me anyway). If you have background tasks that run for more than 10 seconds on Lambda Functions, it actually starts to become cheaper to run them on Fargate instead (even with the 1-minute minimum and ~10-20 seconds billed to download the container image).
Does it make sense to do this? That depends on volume and duration. For example, a 60 second task that runs 500 times per month would only save you $0.65 USD, but a 5 minute task that runs 5,000 times a month could save over $33 USD, and a 45 second task that runs 100,000 times a month could save over $95 USD.
There are lots of caveats (of course). You need to setup an ECS cluster, VPC, and ECR repo. You need to build and deploy the actual containers. You need to enable some sort of a coordination service (Lambda, Step Functions, etc.) to initiate the Fargate tasks with the proper context. And you need to set up alarms/monitoring/observability to ensure the tasks run correctly. Plus, you're going to get a 30-60 second cold start, but since they're background tasks, that usually isn't an issue.
Of course, if you ever need a task to run for more than 15 minutes, you'd probably need to do all this anyway.
We implemented this pattern at @amptdev using a combination of @DynamoDB to store task execution context/progress, SQS to buffer/schedule requests, Lambda to initiate Fargate tasks, and CloudWatch to centralize alarms and logs. It depends on volume, but we found the sweet spot for switching to Fargate to be somewhere around 20 seconds (from a cost perspective), but default to 60 seconds to balance performance/responsiveness.
The best part is that you don't need to package your code any differently, just define a task and timeout with our SDK (getampt.com/docs/tasks/#defi…) and then Ampt will package your code, set up the @awscloud infrastructure, and deploy it for you.
John McTeague 🏴 retweeted
So @RoryStewartUK asked if I could explain marginal rates in more detail. I've had a go here - I'd be grateful for comments and suggestions: taxpolicy.org.uk/2024/06/18/…
Replying to @DanNeidle
Dan - can you explain how these Tory marginal rates work - in a little more detail - perhaps with an example of how much tax someone on 100k pays, 120k, and 200k?
John McTeague 🏴 retweeted
It’s not AWS.
There’s no way it’s AWS.
It was AWS.
Our latest blog explains how we found a vulnerability in AWS Security Token Service (STS) and what we learned from the process.
John McTeague 🏴 retweeted
Magic start from the St Cadoc's Wizards 🧙last night at this year's Jr NBA. Three wins out of three - terrific performance! Thanks to @ActiveSchoolsER and @bballpaisley for organising again. 🏀
John McTeague 🏴 retweeted
When Harry revealed he was a traitor, you can actually pinpoint the exact second when Mollie’s heart ripped in half. #TheTraitorsUK #TheTraitors
John McTeague 🏴 retweeted
Replying to @TrevSpires
So when a daddy lambda and mommy lambda love each other very much, they can make a little lambda…. Thank you for coming to my TED talk on lambda instantiation... (Big icon for Lambda service; small one for Lambda functions / resources)
John McTeague 🏴 retweeted
As usual, @cote getting to the heart of the matter 😅
Shout-out to @cloudfoundry (still an amazing #cloudnative technology) @tehkuhnz #devopstechcon
I would also add that #docker or #podman still also absolutely has its place in the enterprise. – at Utrecht, The Netherlands
John McTeague 🏴 retweeted
Our P6/P7 boys had a brilliant time at the Archbishop Tartaglia Tournament on Sunday and were over the moon to come away as winners! A massive thank you to all involved in this great event, especially our parent coaches for giving up their time.

































