Best of ServerlessAugust 2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    Deploy Your Express Backend in Vercel for Free 🚀⚡

    Learn how to deploy your Node.js Express application on Vercel for free using a few simple steps. Create a basic Express app, configure the vercel.json file to route requests, and use the Vercel CLI for deployment. Understand important considerations when switching to Vercel’s serverless architecture, such as handling database connections, websockets, and efficient error handling.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    Building Production API Services with Encore, TypeScript, and Neon Serverless Postgres

    Encore now supports Neon Postgres across all environments, including AWS and GCP. This integration streamlines the development, testing, and production deployment of scalable API services. Encore's TypeScript SDK allows developers to use familiar language for backend development, and Neon offers serverless Postgres for optimized performance without manual management. The post details a step-by-step guide to creating and deploying a URL shortener application using Encore and Neon.

  3. 3
    Article
    Avatar of awegoAwesome Go·2y

    Build Go Serverless REST APIs and Deploy to AWS using the SAM framework (Amazon Linux 2 Runtime)

    Learn how to build and deploy Go serverless REST APIs using AWS SAM framework. The post highlights the deprecation of Go1.x for AWS Lambda, emphasizing the need for up-to-date tutorials. It emphasizes key software development principles such as Infrastructure as Code, good naming conventions, robust testing strategies, availability & scalability, deployment pipelines, observability, and security. A comprehensive example is provided illustrating these principles in a serverless architecture.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    How Retool uses Retool (and the Neon API) to manage 300K+ Postgres databases

    Retool leverages the serverless Neon API to manage over 300,000 Postgres databases with minimal engineering overhead. The platform simplifies internal app development with a drag-and-drop UI and automatic boilerplate handling. By partnering with Neon, Retool automates database tasks, scales resources efficiently, and offers dedicated databases to users without incurring high idle costs.

  5. 5
    Article
    Avatar of wawandcoWawandco·2y

    Blog: Deploying a Go Application using Koyeb

    Deploying a Go application using Koyeb is straightforward, offering a powerful serverless platform that includes an easy setup, GitHub integration, Docker-based deployments, and autoscaling options. Koyeb's CLI and intuitive interface allow developers to focus on software tasks rather than infrastructure management. The post details steps to create a Koyeb account, set up API tokens, deploy a URL Shortener app, connect a database, and configure autoscaling, proving Koyeb's potential for efficient and scalable deployments.

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    Performance tips for Neon Postgres

    The post provides performance tips for using Neon Postgres, a serverless Postgres solution that scales based on load. It covers essential practices such as connection pooling, autoscaling, and troubleshooting query performance using tools like pg_stat_statements and EXPLAIN ANALYZE. The article also discusses optimizing ingestion rates by ensuring sufficient compute resources, using read replicas, batch inserts, and cleaning up old indexes. Additionally, it emphasizes the importance of managing table bloat and effectively utilizing cache. Lastly, it suggests safely testing performance improvements using Neon’s database branching feature.

  7. 7
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Build a Serverless CRUD REST API with the Serverless Framework, Node.js, and GitHub Actions

    Serverless computing simplifies the development and deployment of applications by handling infrastructure management. This tutorial guides you through building a serverless CRUD REST API using the Serverless Framework, Node.js, and GitHub Actions. Key concepts include understanding APIs, HTTP methods, Amazon API Gateway, AWS Lambda, and Amazon DynamoDB. The process covers setting up the environment, defining APIs in a YAML file, developing Lambda functions, and configuring a CI/CD pipeline for automated multi-stage deployments.

  8. 8
    Article
    Avatar of communityCommunity Picks·2y

    Building AI agents just got faster with Wordware (and Neon)

    Wordware is a web-based IDE with a Notion-like interface designed for building AI agents efficiently by allowing users to iterate prompts quickly and receive expert feedback. Integrated with Neon, a serverless Postgres database, it ensures fast and stable development by providing instant database previews and minimizing server management. This combination facilitates rapid development cycles and reliable deployments, making it a robust tool for AI applications.

  9. 9
    Article
    Avatar of devtoDEV·2y

    Spring Boot 3 application on AWS Lambda - Part 10 Measuring cold and warm starts with Spring Cloud Function

    The post details techniques for measuring and optimizing cold and warm start times for a Spring Boot 3.2 application deployed on AWS Lambda. It explains how to enable AWS SnapStart and apply various priming techniques, including DynamoDB invocation and API Gateway request priming, to reduce startup times. The results of experiments with different configurations are shared, showing significant improvements in cold start times when SnapStart and priming methods are used.

  10. 10
    Video
    Avatar of webdevcodyWeb Dev Cody·2y

    This is when serverless can be useful

    The post explores how serverless architecture, specifically AWS Lambda, can be leveraged to efficiently remove backgrounds from images. It details a setup where images are processed using a local UI, an SQS queue, and Lambda functions. The advantages of serverless for handling bursty workloads are highlighted, compared to a dedicated server. Concerns about costs, privacy, and trade-offs between different approaches are also discussed.

  11. 11
    Article
    Avatar of theburningmonktheburningmonk.com·2y

    Fine-grained access control in API Gateway with Cognito groups & Lambda authorizer

    Gain fine-grained access control in API Gateway using Lambda authorizer with Cognito groups. By mapping user roles to specific policies, you can implement and manage user permissions effectively. This approach is simple, cost-efficient, and suitable for straightforward use cases. However, for more advanced needs, consider using Amazon Verified Permissions.

  12. 12
    Article
    Avatar of goserverlessServerless·2y

    Serverless Framework V4 Generally Available

    Serverless Framework V4 is now generally available, offering new features without breaking changes. Key highlights include native TypeScript and build support, an innovative Dev Mode for faster local development, a new stages property for managing different environments, and integration with Terraform and HashiCorp Vault. The release also introduces a support command within the CLI, and many features are included at no extra cost with a V4 license, such as CI/CD and dashboard functionalities. New AWS Lambda features and runtimes are supported, enhancing logging controls and metrics.

  13. 13
    Article
    Avatar of hnHacker News·2y

    Fleak AI Workflows. Simplified

    Fleak is a low-code, serverless API builder designed for data teams, requiring no infrastructure. It allows for seamless integration of API endpoints into your existing AI and data tech stack, simplifying workflows and enhancing data operations efficiency.