Contact
export
Blog
Cloudwatch alarms to Slack notifications with CDK
2024-09-22 | 5 min read
With a plethora of integrations and add-ons, Slack is more than just a simple chat app, and often serves as a notification centre for all sorts of observability and monitoring applications such as Sentry, Datadog and AWS CloudWatch. In this post we show how to create a Slack notifier to push CloudWatch alarms to a Slack channel using AWS Chatbot and the AWS Slack integration. All configured using Python CDK of course!
Database migrations with FastAPI, Alembic and AWS Lambda
2024-08-19 | 8 min read
Management of database schema changes can be a significant challenge, especially in serverless environments. Automated, continuous deployment of application and infrastructure code is commonplace; managing database migrations in a similar way can greatly increase development speed and minimise issues with what can otherwise be a highly error-prone procedure.
FastAPI deployments with AWS Lambda and CDK
2024-07-14 | 8 min read
For rapid development of APIs with an anticipated spiky usage pattern, almost nothing beats the combination of FastAPI and AWS Lambda for scalability and cost. In this post, we go over a simple FastAPI application, using DynamoDB as the persistence layer, and deploying serverlessly on AWS Lambda. All composed using Python CDK, of course!
Power tuner, Python packaging and permissions issues
2024-05-28 | 7 min read
AWS Lambda Power Tuning is a great tool to analyse how the speed and cost of your Lambda functions vary with configured memory. While running performance tuning on a Lambda function we built for a client's microservice, we came across an interesting edge-case involving Lambda aliases, Python package bundling and file permissions!
CDN for Django static content using CDK, S3 and CloudFront
2024-05-14 | 6 min read
When deploying a Django app into production, serving static files is something that requires some thought - we can't just leave it to the development server anymore! Using barely more than 100 lines of Python CDK code, we can create a low-cost, low-latency distribution network for our static files with Amazon S3 and CloudFront.
Configuring SSH for multiple Bitbucket accounts
2023-08-23 | 2 min read
If you work in multiple Bitbucket accounts on the same machine, a small amount of upfront effort configuring your SSH keys will significantly improve your developer experience.
Work
HandleHyena
django-azure-auth
Company
Services
About
Blog
Connect
Email
LinkedIn
Twitter
© Weird Sheep Labs Ltd 2024
Weird Sheep Labs Ltd is a company registered in England & Wales (Company No. 15160367)
85 Great Portland St, London, W1W 7LT