Serverless Multi-Tenant OpenHands on AWS with Fargate
Mar 2, 2026 · 10 min read · AWS CDK OpenHands ECS Fargate Serverless Multi-Tenant AI Agent DynamoDB EFS Cloud Map EventBridge Self-Hosted AI ·
In a previous post, I introduced an AWS CDK project for deploying OpenHands on EC2, featuring Cognito authentication and Aurora PostgreSQL. While this architecture successfully facilitated initial deployment, operating a shared AI coding platform for a team revealed three fundamental limitations: Shared Resources: All …
Read More about Serverless Multi-Tenant OpenHands on AWS with FargateDeploying OpenHands AI Platform on AWS with CDK
Jan 26, 2026 · 6 min read · AWS CDK OpenHands AI Agent Infrastructure as Code Serverless CloudFront Cognito Aurora PostgreSQL Devin Alternative Self-Hosted AI ·
OpenHands is an open-source AI-driven development platform that enables AI agents to write code, fix bugs, and execute complex development tasks autonomously. The default setup works well for local development, but what if you want to run it for a team or make it accessible from anywhere? This post introduces an AWS …
Read More about Deploying OpenHands AI Platform on AWS with CDKBuild serverless web application with AWS Lambda web adapter
Oct 26, 2023 · 3 min read · AWS AWS CDK AWS Lambda Lambda Web Adapter Serverless Pattern Serverless CDK Construct ·
Disclaimer: the cover image was generated by StableDiffusionXL with prompts 'cover image, spring boot, flask framework running in aws lambda'. When deploying and operating a web application on the cloud, you prefer to use your favorite programming language and web framework. Also, you want to benefit from Serverless …
Read More about Build serverless web application with AWS Lambda web adapterDefine your API via OpenAPI definition on AWS

Application Programming Interfaces(APIs) is a critical part of the web service, Werner Vogel, the CTO of AWS had a great 6 Rules for Good API Design presentation in 2021 re:Invent keynote. In AWS the developers could manage and proxy the APIs via Amazon API Gateway. The developers can use console, CLI, API or IaC …
Read More about Define your API via OpenAPI definition on AWSSetup DevOps pipeline with few code

DevOps pipeline is a key component of project operation, it helps you automate steps in your software delivery process. Amazon itself has rich expirence on DevOps with large scale services, it shares the lesson and learn from operating the Amazon's services. You can read this summary post written in Chinese. Also AWS …
Read More about Setup DevOps pipeline with few codeFederated OIDC login with Cognito and Amplify
Sep 12, 2022 · 4 min read · Serverless AWS AWS CDK API Gateway Cognito Amplify OpenID Connect Authentication ·
When working on either 2C application or 2B service, the customers do not want to or is not allowed to sign up the new account, they can login the application via existing IdP or enterprise SSO. So, building the application supports the federated OIDC login to address such requirements. This post extends the capability …
Read More about Federated OIDC login with Cognito and AmplifyProtect website with Cognito
Sep 4, 2022 · 3 min read · Serverless AWS AWS CDK API Gateway Cognito Amplify Authentication Authorization ·
Previous post we demonstrated how distributing and securely deploying the website to global end users. The authentication and authorization are always mandatory features of web application. Amazon Cognito is a managed AWS serverless service helping the applications to implement AuthN and AuthZ, with Cognito the …
Read More about Protect website with Cognito
It's a well known pattern to distribute the website via CDN globally, it reduces the latency of the site and improve the availibity and security leveraging the infrastructure of cloud provider. Using CDN service CloudFront and simple storage S3 on AWS hosts the static website. It well fits the SPA(single page …
Read More about Distribute the website globally
Most web applications are using Restful APIs to interactive with the backend services. In the TODO application, it's the straight forward to get, update and delete the items from backend database. Amazon DynamoDB is a key-value database, it fits for this scenario with scalability and optimized pay-as-you-go cost. Also …
Read More about Build no code restful HTTP API with API Gateway and DynamoDB
Building web application is a common use case, leveraging cloud services could accelerate the builders to develop and deploy the services. With AWS serverless services, the application can easily get the capabilities like security, highly availability, scalability, resiliency and cost optimized. This is a series posts …
Read More about Build serverless web application with AWS Serverless